Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-143427

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < edf66403d6a590fbe32b7904ccbf401498165f1eaffected
  • e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 97681e33ec605e5dfabfed7df58e1a879365523eaffected
  • e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 8e332d59d71200487156332a6a1f8138d0588fb0affected
  • e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 63e00a23557bdd5da71eb5cd7eac79ee976fc362affected
  • e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < f4fbf803c2575e22e2573544308e1e29c80ee4eeaffected
  • e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 8f3be5f54a9447ec10346e28835e7368e40b5e9daffected
  • e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 8296a64df5448548f410fb246c1d88a93609602baffected

Linux Linux

Default version status: affected

  • 5.15affected
  • 0 to < 5.15unaffected
  • 5.15.226 to ≤ 5.15.*unaffected
  • 6.1.193 to ≤ 6.1.*unaffected
  • 6.6.163 to ≤ 6.6.*unaffected
  • 6.12.119 to ≤ 6.12.*unaffected
  • 6.18.65 to ≤ 6.18.*unaffected
  • 7.3.5 to ≤ 7.3.*unaffected
  • 7.4-rc2 to ≤ *unaffected

References