CVE-2026-63909
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedIn 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().
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceA transposed bounds check in ksmbd's smb_check_perm_dacl() function causes a 2-byte heap out-of-bounds read during SMB2_CREATE operations. The comparison `aces_size + 8 < 8` simplifies to `aces_size < 0`, which is always false due to non-negative size values, rendering the check dead and allowing reads beyond the allocated pntsd buffer.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Verify ksmbd is loadedRun `lsmod | grep ksmbd` or check if the ksmbd service/daemon is active. Also check /proc/fs/ksmbd/ directory existence.Affected if ksmbd module is loaded or the ksmbd daemon is running - the vulnerability only applies to this specific SMB implementation, not to userspace Samba or other SMB servers
-
Check kernel version against patchRun `uname -r` to get the kernel version. Compare against the version that includes the fix for CVE-2026-63909. The fix involves transposing the comparison to require at least 16 bytes (offsetof + CIFS_SID_BASE_SIZE).Affected if Running an unpatched kernel version that contains the vulnerable ksmbd code with the dead bounds check `aces_size < 0`
-
Confirm SMB2 protocol is enabledCheck ksmbd configuration for SMB2 support. Inspect /etc/ksmbd/ksmbd.conf or equivalent config file for `max protocol = SMB2` or similar directives. Also verify client systems are using SMB2 or SMB3 (SMB1 is separate).Affected if SMB2 or SMB3 protocols are enabled - the vulnerability is triggered specifically during SMB2_CREATE operations, not during SMB1 (CIFS) operations
-
Identify if ACE structures with small sizes can be sentThis requires examining SMB traffic or logs for incoming SMB2_CREATE requests with DACLs containing ACE structures where aces_size is 0-3 bytes. This is difficult to detect without packet capture or debug logging enabled.Affected if An attacker can send SMB2_CREATE requests with malformed DACL ACE structures having size fields of 0-3 bytes, causing the out-of-bounds read
A system is affected if ksmbd is active AND the kernel is unpatched for this CVE AND SMB2 clients can send specially crafted DACL structures with ace sizes of 0-3 bytes, leading to heap out-of-bounds reads.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedApply the upstream fix to properly require at least 16 bytes (8-byte ACE offset + 8-byte SID base) before reading ace->size, restoring proper bounds checking in the ACE walk loop.
Linux kernel version containing the fix for commit d07b26f39246 (the fix commit that properly transposes the comparison to require >= 16 bytes)
- Identify the currently running Linux kernel version using `uname -r`
- Check if the kernel version is affected by searching for the vulnerable commit d07b26f39246 in the kernel's git history
- Obtain the fixed kernel version from kernel.org or your distribution's repositories. The fix involves changing the bounds check from `offsetof(struct smb_ace, sid) + aces_size < CIFS_SID_BASE_SIZE` to require at least 16 bytes (e.g., `offsetof(struct smb_ace, sid) + aces_size < 16` or equivalent correct comparison)
- Upgrade the kernel to a version that includes the fix. For mainline kernels, this would be a version after the fix commit was merged
- Reboot the system to load the fixed kernel
- Verify the fix is applied by checking the smb_check_perm_dacl() function in the kernel source matches the corrected bounds check
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation2.0 h
- Testing6.0 h
- Review / QA3.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,520.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-63909 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-63909 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data