summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorIan Bridges <icb@fastmail.org>2026-11-01 23:09:15 -0600
committerNamjae Jeon <linkinjeon@kernel.org>2026-11-02 18:05:50 +0900
commit8296a64df5448548f410fb246c1d88a93609602b (patch)
tree752baa31abc2ea9c3d98861d262b2907b9ae4d73 /scripts/Makefile.thinlto
parentd13da43938d15b0b719827d8f2b32df8eaec5def (diff)
downloadlinux-next-8296a64df5448548f410fb246c1d88a93609602b.tar.gz
linux-next-8296a64df5448548f410fb246c1d88a93609602b.zip
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. Fixes: e2f34481b24d ("cifsd: add server-side procedures for SMB3") Cc: stable@vger.kernel.org Signed-off-by: Ian Bridges <icb@fastmail.org> Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions