CVE-2026-99109·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: smb: client: reject SetEA requests that do not fit the request buffer CIFSSMBSetEA() copies the caller's extended attribute value into the SMB request buffer without checking that it fits. The requirement is stated in the source but was never implemented: /*BB add length check to see if it would fit in negotiated SMB buffer size BB */ /* if (ea_value_len > buffer_size - 512 (enough for header)) */ if (ea_value_len) memcpy(parm_data->list.name + name_len + 1, ea_value, ea_value_len); The only bound applied on the way in is in cifs_xattr_set(): #define MAX_EA_VALUE_SIZE CIFSMaxBufSize ... if (size > MAX_EA_VALUE_SIZE) CIFSMaxBufSize is the full payload capacity of the buffer, so a value of exactly that size leaves no room for the SMB header, the TRANS2 parameter block, the fealist header and the EA name that are written ahead of it in the same object. SendReceive() already enforces the correct limit on this very length: if (in_len > CIFSMaxBufSize + MAX_CIFS_HDR_SIZE) but it is called after the copy has taken place. An unprivileged setxattr(2) on an SMB1 mount with a 250-byte name and a 16384-byte value writes 16384 bytes starting 345 bytes into a 16588-byte cifs_request object, ending 141 bytes past it: BUG: KASAN: slab-out-of-bounds in CIFSSMBSetEA+0xabc/0xde0 Write of size 16384 at addr ffff888003aa0159 by task init/68 __asan_memcpy+0x3c/0x60 CIFSSMBSetEA+0xabc/0xde0 cifs_xattr_set+0xd3a/0xff0 __vfs_setxattr+0x13e/0x1a0 The buggy address is located 345 bytes inside of allocated 16588-byte region Apply SendReceive()'s limit to the assembled request before the copy rather than after it, and widen the byte counters so the sum cannot wrap before it is tested. byte_count is also tested against U16_MAX, because it is stored in the 16-bit pSMB->ByteCount. That becomes reachable when CIFSMaxBufSize is raised at module load, where it may be set as high as 1024*127: with a 5-byte EA name and a 65521-byte value, count is exactly U16_MAX while byte_count is 65556, and cpu_to_le16() would truncate it to 20 and transmit a frame whose ByteCount does not match its length. Testing byte_count covers count as well, since byte_count is the larger of the two and count's only 16-bit consumer is written after this point. check_add_overflow() is evaluated first so that total_len is assigned before it is reported.
- Severity
- high
- Software
- Kernel
- Fixed in
- 7.2.13, 7.3
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.14% — higher than 3% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-99109 scores 7.8 on CVSS, so a successful attack would be serious — but at 0.14%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
How to fix this CVE
Update your Linux kernel to version 7.2.13 or later (if running a 7.2.x branch) or to mainline 7.3 and above to fix a buffer overflow vulnerability in SMB1 extended attribute handling. Users should prioritize kernel updates through their distribution's package manager rather than compiling from source. This vulnerability allows unprivileged local users to write out-of-bounds memory during setxattr operations on SMB-mounted filesystems.
sudo dnf check-update kernel && sudo dnf update kernelDefensia detects this vulnerability
How to check if you are affected
- Check installed kernel version: uname -r
- Verify if SMB1 (CIFS) is in use: mount | grep -i cifs or grep -i cifs /etc/fstab
- Search system logs for KASAN warnings: grep -i 'KASAN.*slab-out-of-bounds' /var/log/kern.log or journalctl -k | grep KASAN
- Confirm the fix: After patching, verify uname -r shows kernel 7.2.13+ or 7.3+ and retest CIFS setxattr operations without errors
FAQ
What is CVE-2026-99109?
This is a kernel buffer overflow in the SMB1 (CIFS) client implementation where extended attribute values are copied into request buffers without proper bounds checking, allowing unprivileged users to overflow the buffer and corrupt kernel memory.
Is CVE-2026-99109 being actively exploited?
No, this vulnerability is not listed in CISA's Known Exploited Vulnerabilities catalog and no public exploits are available, though the attack surface is accessible to local unprivileged users on systems with SMB1 mounts.
What versions of Kernel are affected by CVE-2026-99109?
The vulnerability affects kernel versions prior to 7.2.13 in the 7.2.x stable branch and all mainline versions before 7.3. Older long-term support branches may also be vulnerable depending on their codebase.
How do I check if my server is vulnerable to CVE-2026-99109?
Run 'uname -r' and compare your kernel version against 7.2.13 or 7.3; if your version is older, you are vulnerable. Additionally, check if CIFS mounts are present with 'mount | grep cifs'.
Does Defensia detect CVE-2026-99109?
Yes — Defensia's CVE advisory scanner compares installed kernel versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2026-99109 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-99109. Free for 1 server.
Get started free