CVE-2026-99323Linux
NVD
Vulnerability Summary
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: fix invalid pointer dereference when get_inode_acl() fails
When get_inode_acl() fails, it returns an ERR_PTR(), but
ksmbd_acls_fattr() stored that pointer in smb_fattr without
checking for errors. Later callers then passed the error pointer
to security descriptor helpers or posix_acl_release(), resulting
in an invalid pointer dereference.
This was reproduced on an XFS-backed share when xfs_get_acl()
returned ERR_PTR(-ENOMEM). Querying the SMB ACL from a CIFS client
triggered the crash:
BUG: unable to handle page fault for address: fffffffffffffff8
RIP: smb_acl_sec_desc_scratch_len+0x58/0x90 [ksmbd]
Call Trace:
smb2_query_info+0x40d/0x17c0 [ksmbd]
handle_ksmbd_work+0x1ca/0x770 [ksmbd]
Fix this by checking the return values from get_inode_acl() in
ksmbd_acls_fattr(). Treat -EOPNOTSUPP as indicating that no ACL is
available, and propagate all other errors to the callers. Update
smb2_open() and smb2_get_info_sec() to handle these errors.
ksmbd: fix invalid pointer dereference when get_inode_acl() fails
When get_inode_acl() fails, it returns an ERR_PTR(), but
ksmbd_acls_fattr() stored that pointer in smb_fattr without
checking for errors. Later callers then passed the error pointer
to security descriptor helpers or posix_acl_release(), resulting
in an invalid pointer dereference.
This was reproduced on an XFS-backed share when xfs_get_acl()
returned ERR_PTR(-ENOMEM). Querying the SMB ACL from a CIFS client
triggered the crash:
BUG: unable to handle page fault for address: fffffffffffffff8
RIP: smb_acl_sec_desc_scratch_len+0x58/0x90 [ksmbd]
Call Trace:
smb2_query_info+0x40d/0x17c0 [ksmbd]
handle_ksmbd_work+0x1ca/0x770 [ksmbd]
Fix this by checking the return values from get_inode_acl() in
ksmbd_acls_fattr(). Treat -EOPNOTSUPP as indicating that no ACL is
available, and propagate all other errors to the callers. Update
smb2_open() and smb2_get_info_sec() to handle these errors.
Affected & Patched Versions
- Linux >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 and < a3a284d36c0b5f1b5e203f21a446be308cedea08
- Linux >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 and < 1281624452531a5051f0015ef3e8457a8e090b2c
- Linux >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 and < 4c2ed8a2d49719cf849e03b6f4b0ccad0bd9cc90
- Linux >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 and < 5a04348b4492fe993ed709e601f01877e5dab220
- Linux >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 and < 4a7f332fd43eee2541197d6e1e297b9ef2e1b07f
- Linux >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 and < 44950fdcc645041912fecc257c01a1f253abf05e
- Linux >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 and < 19d180c7baab7126af5848ed87d5f7b5add0cef2
- Linux 5.15
- Linux a3a284d36c0b5f1b5e203f21a446be308cedea08
- Linux 1281624452531a5051f0015ef3e8457a8e090b2c
- Linux 4c2ed8a2d49719cf849e03b6f4b0ccad0bd9cc90
- Linux 5a04348b4492fe993ed709e601f01877e5dab220
- Linux 4a7f332fd43eee2541197d6e1e297b9ef2e1b07f
- Linux 44950fdcc645041912fecc257c01a1f253abf05e
- Linux 19d180c7baab7126af5848ed87d5f7b5add0cef2
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run Linux and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 19, 2026Published
- Nov 23, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Linux CVEsYou are reading CVE-2026-99323. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Referencehttps://git.kernel.org/stable/c/1281624452531a5051f0015ef3e8457a8e090b2c
- Referencehttps://git.kernel.org/stable/c/19d180c7baab7126af5848ed87d5f7b5add0cef2
- Referencehttps://git.kernel.org/stable/c/44950fdcc645041912fecc257c01a1f253abf05e
- Referencehttps://git.kernel.org/stable/c/4a7f332fd43eee2541197d6e1e297b9ef2e1b07f
- Referencehttps://git.kernel.org/stable/c/4c2ed8a2d49719cf849e03b6f4b0ccad0bd9cc90
- Referencehttps://git.kernel.org/stable/c/5a04348b4492fe993ed709e601f01877e5dab220
- Referencehttps://git.kernel.org/stable/c/a3a284d36c0b5f1b5e203f21a446be308cedea08
Data last checked: Nov 24, 2026 15:13 UTC