Re: [PATCH] ksmbd: bound smb_check_perm_dacl() ACE walks by DACL size

From: ChenXiaoSong

Date: Thu Aug 06 2026 - 21:01:54 EST


There are not any KUnit tests in fs/smb/server. It would be great if you could submit the first KUnit test.

On 8/7/26 04:35, ChenXiaoSong wrote:
Hi Hang,

Thanks for your patch. Please rebase it on ksmbd-for-next-next branch.
: https://github.com/smfrench/smb3-kernel/commits/ksmbd-for-next-next/

Could you share the semantic KUnit test harness?

在 2026/8/7 0:04, Hang Nan 写道:
Validation:
- semantic KUnit harness shows the post-boundary ACE is selected
   before the fix and rejected (EACCES) after it
- linux master (7.2-rc6), x86_64


--
ChenXiaoSong <chenxiaosong@xxxxxxxxxxxxxxxx>
Chinese Homepage: https://chenxiaosong.com
English Homepage: https://chenxiaosong.com/en