CVE-2026-63909: ksmbd: OOB read regression in smb_check_perm_dacl() ACE-walk loops

Published Jul 19, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

ksmbd: OOB read regression in smbcheckpermdacl() ACE-walk loops

Commit d07b26f39246 ("ksmbd: require minimum ACE size in smbcheckpermdacl()") introduced a transposed bounds check:

if (offsetof(struct smbace, sid) + acessize < CIFSSIDBASESIZE)

Since offsetof(..sid) is 8 and CIFSSIDBASESIZE is 8, this evaluates to acessize < 0. Because acessize 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 acessize is 0-3 bytes. This re-opens a 2-byte heap out-of-bounds (OOB) read past the pntsd allocation during subsequent SMB2CREATE 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 smbinheritdacl().

Affected Software

17 affected componentsFixes available
Linux Linux kernel
Linux Linux kernel>=6.6.140<6.6.143
Linux Linux kernel>=6.12.84<6.12.93
Linux Linux kernel>=6.18.25<6.18.35
Linux Linux kernel>=7.0.2<7.0.12
Linux Linux kernel=7.1-rc1
Linux Linux kernel=7.1-rc2
Linux Linux kernel=7.1-rc3
Linux Linux kernel=7.1-rc4
Linux Linux kernel=7.1-rc5
debian/linux<6.12.94-1
6.12.94-1
debian/linux<7.0.12-1
7.0.12-1
linux/kernel>=6.6.140<6.6.143
6.6.143
linux/kernel>=6.12.84<6.12.93
6.12.93
linux/kernel>=6.18.25<6.18.35
6.18.35
linux/kernel>=7.0.2<7.0.12
7.0.12
debian/linux
6.1.176-16.1.190-16.12.107-16.12.115-27.2.12-17.2.15-1

Event History

Jul 19, 2026
CVE Published
via MITRE·02:55 PM
Data Sourced
via MITRE·02:55 PM
DescriptionSeverity
Data Sourced
via OSV·02:55 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·04:17 PM
RemedyDescriptionSeverityWeaknessAffected Software

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203