PT-2026-166899
CVE-2026-143044
·
تاريخ النشر
2026-12-03
·
تاريخ التحديث
2026-12-03
الوصف من
الدرجة
N/A
غير متوفرلا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.
In the Linux kernel, the following vulnerability has been resolved:
smb: client: fix OOB write when compounding SMB2 IOCTL with encryption
On an encrypted ("seal") mount, SMB2 ioctl init() keeps the IOCTL input
in a separate iov (iov[1]); iov[0] is a 448-byte buffer from
cifs small buf get(). When such an IOCTL is not the last request of a
compound, smb2 set next command() pads it for alignment by copying the
whole request into iov[0]. A large enough input overflows that 448-byte
buffer and corrupts the slab; the copy also sets rq nvec to 1, so the
input buffer is leaked too.
An unprivileged user can trigger it by creating a symlink with a long
target on such a mount: the native symlink is sent as
FSCTL SET REPARSE POINT + QUERY INFO + CLOSE in one compound, so the
IOCTL is not the last request.
With slub debug red zones on the cifs small rq cache, the overflow is
caught on the next allocation from that cache in the same compound (the
0x61 bytes are the 'a' characters of the symlink target):
BUG cifs small rq (Not tainted): Object corrupt
[Left Redzone overwritten] 0xffff8a59c7790500-0xffff8a59c779053f
First byte 0x61 instead of 0xbb
Call Trace:
check object+0x1a8/0x350
alloc debug processing+0xab/0x110
slab alloc+0x7e/0x2f0
kmem cache alloc noprof+0x28d/0x4b0
mempool alloc slab+0x16/0x30
cifs small buf get+0x1a/0x30 [cifs]
SMB2 close init+0x8a/0x100 [cifs]
smb2 compound op+0x2571/0x2b50 [cifs]
smb2 create reparse inode+0x27e/0x490 [cifs]
mknod nfs+0x1ce/0x2e0 [cifs]
create reparse symlink+0x119/0x180 [cifs]
cifs symlink+0x19f/0x8e0 [cifs]
vfs symlink+0xa3/0x1b0
x64 sys symlink+0x41/0x70
Pad the input to a multiple of 8 bytes when encryption is required. The
request is then already aligned and smb2 set next command() no longer
copies it; InputCount still carries the real length.
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾