<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/git/next/linux-next.git/fs/smb/server/tests, branch master</title>
<subtitle>The linux-next integration testing tree</subtitle>
<id>https://git.rulkc.org/pub/scm/linux/kernel/git/next/linux-next.git/atom?h=master</id>
<link rel='self' href='https://git.rulkc.org/pub/scm/linux/kernel/git/next/linux-next.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/next/linux-next.git/'/>
<updated>2026-08-27T12:41:10+00:00</updated>
<entry>
<title>ksmbd: test maximal-access DACL walk boundary</title>
<updated>2026-08-27T12:41:10+00:00</updated>
<author>
<name>Hang Nan</name>
<email>nanx95726@gmail.com</email>
</author>
<published>2026-08-19T03:30:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=f327cd3a5e60926c2484ce830f8e3815c01ad7c5'/>
<id>urn:sha1:f327cd3a5e60926c2484ce830f8e3815c01ad7c5</id>
<content type='text'>
Add a maximal-access variant of the smb_check_perm_dacl() boundary
test.  The in-boundary ACE grants read access, while a trailing ACE
beyond the declared DACL size grants write access.

Verify that maximal-access calculation includes the in-boundary
permission and ignores the trailing permission.

Suggested-by: ChenXiaoSong &lt;chenxiaosong@kylinos.cn&gt;
Signed-off-by: Hang Nan &lt;nanx95726@gmail.com&gt;
Reviewed-by: ChenXiaoSong &lt;chenxiaosong@kylinos.cn&gt;
Signed-off-by: Namjae Jeon &lt;linkinjeon@kernel.org&gt;
</content>
</entry>
<entry>
<title>ksmbd: test smb_check_perm_dacl() DACL walk boundary</title>
<updated>2026-08-27T12:41:06+00:00</updated>
<author>
<name>Hang Nan</name>
<email>nanx95726@gmail.com</email>
</author>
<published>2026-08-24T03:29:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=73fe5e0a8daf3f2ee3a603b466e6f3fc3caa5d5c'/>
<id>urn:sha1:73fe5e0a8daf3f2ee3a603b466e6f3fc3caa5d5c</id>
<content type='text'>
Drive smb_check_perm_dacl() through ksmbd's NTACL xattr path with a
crafted descriptor whose second ACE is beyond the declared DACL size.

Verify that the out-of-boundary ACE is not selected and access remains
denied.

Suggested-by: ChenXiaoSong &lt;chenxiaosong@kylinos.cn&gt;
Signed-off-by: Hang Nan &lt;nanx95726@gmail.com&gt;
Reviewed-by: ChenXiaoSong &lt;chenxiaosong@kylinos.cn&gt;
Signed-off-by: Namjae Jeon &lt;linkinjeon@kernel.org&gt;
</content>
</entry>
<entry>
<title>ksmbd: add KUnit test for the DACL walk boundary</title>
<updated>2026-08-24T11:59:30+00:00</updated>
<author>
<name>Hang Nan</name>
<email>nanx95726@gmail.com</email>
</author>
<published>2026-08-19T03:30:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=c89829ae2baa0fe585e2b9d867848395fdff3245'/>
<id>urn:sha1:c89829ae2baa0fe585e2b9d867848395fdff3245</id>
<content type='text'>
smb_check_perm_dacl() must stop walking ACEs at the DACL declared
size instead of using the enclosing security descriptor length.

Add the ksmbd KUnit test configuration and a semantic harness that
verifies a crafted access-granting ACE beyond the declared DACL size is
ignored.

Suggested-by: ChenXiaoSong &lt;chenxiaosong@kylinos.cn&gt;
Suggested-by: Namjae Jeon &lt;linkinjeon@kernel.org&gt;
Signed-off-by: Hang Nan &lt;nanx95726@gmail.com&gt;
Reviewed-by: ChenXiaoSong &lt;chenxiaosong@kylinos.cn&gt;
Signed-off-by: Namjae Jeon &lt;linkinjeon@kernel.org&gt;
</content>
</entry>
</feed>
