diff options
| author | Namjae Jeon <linkinjeon@kernel.org> | 2026-07-05 15:55:14 +0900 |
|---|---|---|
| committer | Namjae Jeon <linkinjeon@kernel.org> | 2026-08-17 15:00:29 +0900 |
| commit | 4ea46ea602fc7055eee4b5b0e84f90f22da7f7e7 (patch) | |
| tree | 2b3a47dae1756cc693d0fd292e76913e77deb424 /tools/perf/scripts/python/task-analyzer.py | |
| parent | 497dbc5999a52efd55e079589b166e5c18a20fe3 (diff) | |
ksmbd: protect private extended attributes
SMB clients can currently create an EA named NTACL because SMB EAs are
mapped into the user namespace while the ksmbd security descriptor is
stored as security.NTACL. Allowing the reserved logical name makes the
server-private ACL metadata appear writable through the SMB EA API.
Reject NTACL, DOSATTRIB, and DosStream-prefixed EA names without regard
to case. Filter the same private names from EA query results so stale or
externally-created user namespace attributes cannot be exposed.
This fixes smb2.ea.acl_xattr when acl_xattr_name is configured as
NTACL.
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
