{"id":"CVE-2026-143427","state":"PUBLISHED","title":"ksmbd: do not read past the DACL in the access denied debug message","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: do not read past the DACL in the access denied debug message\n\nWhen smb_check_perm_dacl() falls back to the POSIX ACL and then denies\nthe request, its debug message prints the access mask of the ACE that\nthe second DACL walk stopped at. On that path the walk ran to the end\nof the DACL, so the pointer is one past the last ACE. If the DACL is\nthe last part of the stored security descriptor, the message reads 4\nbytes past the buffer, and KASAN reports a slab-out-of-bounds read in\nsmb_check_perm_dacl().\n\nPrint the requested and allowed masks instead. They are what the check\ncompares.","publishedAt":"2026-12-05T01:25:13.377Z","updatedAt":"2026-12-05T01:25:13.377Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9","status":"affected","lessThan":"edf66403d6a590fbe32b7904ccbf401498165f1e","versionType":"git"},{"version":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9","status":"affected","lessThan":"97681e33ec605e5dfabfed7df58e1a879365523e","versionType":"git"},{"version":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9","status":"affected","lessThan":"8e332d59d71200487156332a6a1f8138d0588fb0","versionType":"git"},{"version":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9","status":"affected","lessThan":"63e00a23557bdd5da71eb5cd7eac79ee976fc362","versionType":"git"},{"version":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9","status":"affected","lessThan":"f4fbf803c2575e22e2573544308e1e29c80ee4ee","versionType":"git"},{"version":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9","status":"affected","lessThan":"8f3be5f54a9447ec10346e28835e7368e40b5e9d","versionType":"git"},{"version":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9","status":"affected","lessThan":"8296a64df5448548f410fb246c1d88a93609602b","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/smb/server/smbacl.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.15","versionType":"semver"},{"version":"5.15.226","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.193","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.163","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.119","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.5","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/smb/server/smbacl.c"]}],"references":["https://git.kernel.org/stable/c/edf66403d6a590fbe32b7904ccbf401498165f1e","https://git.kernel.org/stable/c/97681e33ec605e5dfabfed7df58e1a879365523e","https://git.kernel.org/stable/c/8e332d59d71200487156332a6a1f8138d0588fb0","https://git.kernel.org/stable/c/63e00a23557bdd5da71eb5cd7eac79ee976fc362","https://git.kernel.org/stable/c/f4fbf803c2575e22e2573544308e1e29c80ee4ee","https://git.kernel.org/stable/c/8f3be5f54a9447ec10346e28835e7368e40b5e9d","https://git.kernel.org/stable/c/8296a64df5448548f410fb246c1d88a93609602b"],"weaknesses":[],"ingestedAt":"2026-12-05T01:34:05.767Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143427.json","commit":"d550271dbdcc68d7ef4e19b8c09f34b6a4697132","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143427","state":"PUBLISHED","datePublished":"2026-12-05T01:25:13.377Z","dateUpdated":"2026-12-05T01:25:13.377Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.375Z"},"containers":{"cna":{"title":"ksmbd: do not read past the DACL in the access denied debug message","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: do not read past the DACL in the access denied debug message\n\nWhen smb_check_perm_dacl() falls back to the POSIX ACL and then denies\nthe request, its debug message prints the access mask of the ACE that\nthe second DACL walk stopped at. On that path the walk ran to the end\nof the DACL, so the pointer is one past the last ACE. If the DACL is\nthe last part of the stored security descriptor, the message reads 4\nbytes past the buffer, and KASAN reports a slab-out-of-bounds read in\nsmb_check_perm_dacl().\n\nPrint the requested and allowed masks instead. They are what the check\ncompares."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9","status":"affected","lessThan":"edf66403d6a590fbe32b7904ccbf401498165f1e","versionType":"git"},{"version":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9","status":"affected","lessThan":"97681e33ec605e5dfabfed7df58e1a879365523e","versionType":"git"},{"version":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9","status":"affected","lessThan":"8e332d59d71200487156332a6a1f8138d0588fb0","versionType":"git"},{"version":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9","status":"affected","lessThan":"63e00a23557bdd5da71eb5cd7eac79ee976fc362","versionType":"git"},{"version":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9","status":"affected","lessThan":"f4fbf803c2575e22e2573544308e1e29c80ee4ee","versionType":"git"},{"version":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9","status":"affected","lessThan":"8f3be5f54a9447ec10346e28835e7368e40b5e9d","versionType":"git"},{"version":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9","status":"affected","lessThan":"8296a64df5448548f410fb246c1d88a93609602b","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/smb/server/smbacl.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.15","versionType":"semver"},{"version":"5.15.226","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.193","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.163","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.119","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.5","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/smb/server/smbacl.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/edf66403d6a590fbe32b7904ccbf401498165f1e"},{"url":"https://git.kernel.org/stable/c/97681e33ec605e5dfabfed7df58e1a879365523e"},{"url":"https://git.kernel.org/stable/c/8e332d59d71200487156332a6a1f8138d0588fb0"},{"url":"https://git.kernel.org/stable/c/63e00a23557bdd5da71eb5cd7eac79ee976fc362"},{"url":"https://git.kernel.org/stable/c/f4fbf803c2575e22e2573544308e1e29c80ee4ee"},{"url":"https://git.kernel.org/stable/c/8f3be5f54a9447ec10346e28835e7368e40b5e9d"},{"url":"https://git.kernel.org/stable/c/8296a64df5448548f410fb246c1d88a93609602b"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-05T01:25:13.377Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"5.15.226"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.1.193"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.12.119"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.18.65"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"7.3.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"7.4-rc2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}