EnvMap GitHub

CVE-2026-143044

smb: client: fix OOB write when compounding SMB2_IOCTL with encryption

EPSS 0.21%Received

Description

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.

In the words of the organisation that published it (Linux).

Severity

  • 7.8 High · CVSS 3.1 from 416baaa9-dc9f-4396-8d5f-8c081fb06d67 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected

  • Linux: from d7bb6ea9bf3751f2dc3f1b4681a861db5a69515b before f8ea73388c9d928ec105a8c6bda; from 90f7c100d2dd99d5cd5be950d553edd2647e6cc8 before 59a1da069f151e921b667d4b273; from 90f7c100d2dd99d5cd5be950d553edd2647e6cc8 before 40b21789cf79281bbb5ae008bd6; from 90f7c100d2dd99d5cd5be950d553edd2647e6cc8 before 73a0060cb22a1d2bd8bff364c18; 6.17

as the publisher (Linux) lists them.

Likelihood of exploitation

FIRST's EPSS gives a 0.21% chance of exploitation in the next 30 days, higher than 12% of all CVEs (as of 4 December 2026).

References

Record

Published10:17 UTC, 3 December 2026
Last changed04:17 UTC, 4 December 2026
NVD statusReceived
Published byLinux

CVE-2026-143044 on NVD · on CVE.org · Security Briefing

Follow it

Add the feed to a feed reader and new items arrive there as they are published, with no account here and no email.

Add to Feedly Add to Inoreader

Any other reader: paste https://envmap.tech/security/feed.xml

Where this comes from

Nothing here is written by an AI, summarised or rewritten: a headline is its newsroom's own and opens its story. A description is in the words of the organisation that published the CVE; a score says whose it is, NVD's or the publisher's; a CVE nobody has scored yet says so. A CVE that is rejected comes off every list. When a source does not answer, the page keeps the last answer it gave and says since when.

How to read it

EnvMap is a free, open-source DevOps control plane that you run yourself; its Security page brings your scanners' findings into one place. See what it does.