CVE-2026-43490·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: ksmbd: validate inherited ACE SID length smb_inherit_dacl() walks the parent directory DACL loaded from the security descriptor xattr. It verifies that each ACE contains the fixed SID header before using it, but does not verify that the variable-length SID described by sid.num_subauth is fully contained in the ACE. A malformed inheritable ACE can advertise more subauthorities than are present in the ACE. compare_sids() may then read past the ACE. smb_set_ace() also clamps the copied destination SID, but used the unchecked source SID count to compute the inherited ACE size. That could advance the temporary inherited ACE buffer pointer and nt_size accounting past the allocated buffer. Fix this by validating the parent ACE SID count and SID length before using the SID during inheritance. Compute the inherited ACE size from the copied SID so the size matches the bounded destination SID. Reject the inherited DACL if size accumulation would overflow smb_acl.size or the security descriptor allocation size.
- Severity
- high
- Software
- Kernel
- Fixed in
- 7.0.7
- Published
Affected versions
From: 6.19
Until: 7.0.7
Fixed in: 7.0.7
How to fix this CVE
Update your Linux kernel to version 7.0.7 or later to patch a critical ACE inheritance validation flaw in ksmbd that could allow memory corruption. Systems running kernel versions 6.19 through 7.0.6 should prioritize this update immediately. The fix ensures proper validation of inherited ACE SID lengths to prevent buffer overruns.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Run `uname -r` to check your current kernel version and verify it is not between 6.19 and 7.0.6
- Check if ksmbd is actively running with `systemctl status ksmbd` or verify its presence with `lsmod | grep ksmbd`
- Inspect security descriptor xattrs on shared directories with `getfattr -d -m '.*' /path/to/share` to identify custom DACL configurations
- After patching, confirm the new kernel version with `uname -r` and verify ksmbd loads correctly with `dmesg | grep ksmbd`
FAQ
What is CVE-2026-43490?
This vulnerability affects the ksmbd SMB server implementation in the Linux kernel. A malformed ACE in a parent directory's DACL can trigger a buffer overrun when inherited by child objects, as the SID length validation was insufficient during ACE inheritance.
Is CVE-2026-43490 being actively exploited?
No, there is no evidence of active exploitation or public exploit code available. However, the high CVSS score (8.8) warrants timely patching.
What versions of Kernel are affected by CVE-2026-43490?
Linux kernel versions 6.19 through 7.0.6 are vulnerable. Version 7.0.7 and later contain the fix.
How do I check if my server is vulnerable to CVE-2026-43490?
Run `uname -r` to retrieve your kernel version. If the output is 6.19.x through 7.0.6 (inclusive), your system is vulnerable. Additionally, verify ksmbd is in use with `lsmod | grep ksmbd`.
Does Defensia detect CVE-2026-43490?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2026-43490 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/00f053d97b63591cafd791dce8d6c53e1625dad1
- https://git.kernel.org/stable/c/1aa60fea7f637c071f529ad6784aecca2f2f0c5f
- https://git.kernel.org/stable/c/47c6e37a77b10e74f70d845ba4ea5d3cafa00336
- https://git.kernel.org/stable/c/996454bc0da84d5a1dedb1a7861823087e01a7ae
- https://git.kernel.org/stable/c/a7fb771314fb3a265d30f8ac245869a367ab065c
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-43490. Free for 1 server.
Get started free