cvelo
P4 · Info

ksmbd: do not read past the DACL in the access denied debug message

  • CVE-2026-143427
  • EUVD-2026-145024

Summary

A fix in the Linux kernel's ksmbd SMB server addresses an out-of-bounds read in the access denied debug message of smb_check_perm_dacl(). When the check falls back to the POSIX ACL and denies the request, the message printed the access mask of an ACE pointer that sat one past the last entry of the DACL. If the DACL was the final part of the stored security descriptor, this read 4 bytes beyond the buffer, which KASAN reported as a slab-out-of-bounds read. The fix prints the requested and allowed masks, which are the values the permission check actually compares. The record does not list a CVSS score or CISA known-exploited status.

AI summary · verify against the vendor advisory

Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: do not read past the DACL in the access denied debug message When smb_check_perm_dacl() falls back to the POSIX ACL and then denies the request, its debug message prints the access mask of the ACE that the second DACL walk stopped at. On that path the walk ran to the end of the DACL, so the pointer is one past the last ACE. If the DACL is the last part of the stored security descriptor, the message reads 4 bytes past the buffer, and KASAN reports a slab-out-of-bounds read in smb_check_perm_dacl(). Print the requested and allowed masks instead. They are what the check compares.

Text from the CVE.org record.

Recommendation

No source states a fixed version. Check the vendor advisory.

Affected

  • Linux

    Affected versionsFixed in
    5.15none stated
    before 5.15: not affectednone stated
    from 5.15.226 up to 5.15.*: not affectednone stated
    from 6.1.193 up to 6.1.*: not affectednone stated
    from 6.6.163 up to 6.6.*: not affectednone stated
    from 6.12.119 up to 6.12.*: not affectednone stated
    from 6.18.65 up to 6.18.*: not affectednone stated
    from 7.3.5 up to 7.3.*: not affectednone stated

    and 1 more

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.