CVE-2026-63909·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: ksmbd: OOB read regression in smb_check_perm_dacl() ACE-walk loops Commit d07b26f39246 ("ksmbd: require minimum ACE size in smb_check_perm_dacl()") introduced a transposed bounds check: if (offsetof(struct smb_ace, sid) + aces_size < CIFS_SID_BASE_SIZE) Since offsetof(..sid) is 8 and CIFS_SID_BASE_SIZE is 8, this evaluates to `aces_size < 0`. Because `aces_size` is always non-negative, this check becomes dead code and never breaks the loop. Worse, that commit removed the old 4-byte guard, meaning the loop now reads `ace->size` (offset 2) even when `aces_size` is 0-3 bytes. This re-opens a 2-byte heap out-of-bounds (OOB) read past the pntsd allocation during subsequent SMB2_CREATE operations. Fix this by properly transposing the comparison to require at least 16 bytes (8-byte offset + 8-byte SID base), matching the correct form used in smb_inherit_dacl().
- Severity
- high
- Software
- Kernel
- Fixed in
- 7.0.12
- Published
Affected versions
From: 7.0.2
Until: 7.0.12
Fixed in: 7.0.12
How to fix this CVE
Update your Linux kernel to version 7.0.12 or later to patch a bounds-checking flaw in the ksmbd SMB server that could allow out-of-bounds memory reads during file access control list (ACL) processing. This vulnerability affects kernels 7.0.2 through 7.0.11 and is triggered when SMB2_CREATE operations interact with improperly validated ACE structures. Prioritize this update for systems exposing SMB shares over the network.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check installed kernel version: uname -r | grep -E '^[0-9]+\.[0-9]+\.[0-9]+'
- Verify ksmbd is compiled into kernel or loaded as module: grep -i ksmbd /proc/modules || grep -i ksmbd /boot/config-$(uname -r)
- Monitor dmesg logs for SMB ACE validation errors: dmesg | grep -i 'ksmbd\|smb_check_perm_dacl\|OOB\|out of bounds'
- Confirm kernel is patched by checking version against 7.0.12+: if [[ $(uname -r | cut -d. -f1-3) < '7.0.12' ]]; then echo 'Vulnerable'; else echo 'Patched'; fi
FAQ
What is CVE-2026-63909?
CVE-2026-63909 is a heap out-of-bounds read vulnerability in the Linux kernel's ksmbd SMB server component that occurs during ACL permission validation. A faulty bounds check allows attackers to read 2+ bytes of adjacent heap memory when processing specially crafted SMB2_CREATE requests with malformed access control entries.
Is CVE-2026-63909 being actively exploited?
No, there is no evidence of active exploitation in the wild. CISA has not added this CVE to its Known Exploited Vulnerabilities catalog, and no public exploits are currently available.
What versions of Kernel are affected by CVE-2026-63909?
Linux kernel versions 7.0.2 through 7.0.11 are vulnerable. Kernel 7.0.12 and later contain the corrected bounds-checking logic.
How do I check if my server is vulnerable to CVE-2026-63909?
Run `uname -r` and compare the version output. If it shows 7.0.2–7.0.11, your system is vulnerable. For exact version parsing, use: `kernel_version=$(uname -r | cut -d. -f1-3); [[ $kernel_version == 7.0.* ]] && [[ ${kernel_version##*.} -lt 12 ]] && echo 'Vulnerable'`.
Does Defensia detect CVE-2026-63909?
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-63909 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/0e60dafe97eca61721f3db456f97d97a80c6c8ae
- https://git.kernel.org/stable/c/0fe08c5776a798f46df1fd74b331be26bdd644d6
- https://git.kernel.org/stable/c/4f7c131d2bdd7cd64b96f60d10be5ea72253f520
- https://git.kernel.org/stable/c/5500ba1d410aed1eded3eb04a76b10cfb4409334
- https://git.kernel.org/stable/c/94215d55b09445993929f4fc966061d61de74929
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-63909. Free for 1 server.
Get started free