Invalid pointer dereference in Linux ksmbd when ACL lookup fails
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from CNA.
Summary
The Linux kernel ksmbd SMB server from 5.15 is affected. When get_inode_acl() fails, ksmbd_acls_fattr() stores the returned error pointer without checking it, and later callers dereference it, crashing the kernel. A client querying the SMB ACL of a file on an XFS-backed share triggers the crash when the ACL lookup fails with an error such as -ENOMEM.
Written with Claude Haiku 5.5 from the sources below · 2026-11-23
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Update to Linux kernel 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.3.2 or 7.4-rc1.
Written with Claude Haiku 5.5 from the sources below · 2026-11-23
- Fix · CNA Linux (Linux) Fixed in 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.3.2, 7.4-rc1
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 7 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift Container Platform 5
Timeline
- 2026-11-19 Threatist record created from CVE-2026-99323
- 2026-11-19 Alias added: GHSA-w896-7xx4-4xcx
- 2026-11-20 Affected versions changed · Red Hat
- 2026-11-20 CVSS score added · Red Hat
- 2026-11-23 Fix available: Linux/Linux@1281624452531a5051f0015ef3e8457a8e090b2c, Linux/Linux@4c2ed8a2d49719cf849e03b6f4b0ccad0bd9cc90, Linux/[email protected] +3 · CNA
- 2026-11-23 3 new references · CNA
References
Other 7
- https://git.kernel.org/stable/c/a3a284d36c0b5f1b5e203f21a446be308cedea08
- https://git.kernel.org/stable/c/1281624452531a5051f0015ef3e8457a8e090b2c
- https://git.kernel.org/stable/c/4c2ed8a2d49719cf849e03b6f4b0ccad0bd9cc90
- https://git.kernel.org/stable/c/5a04348b4492fe993ed709e601f01877e5dab220
- https://git.kernel.org/stable/c/4a7f332fd43eee2541197d6e1e297b9ef2e1b07f
- https://git.kernel.org/stable/c/44950fdcc645041912fecc257c01a1f253abf05e
- https://git.kernel.org/stable/c/19d180c7baab7126af5848ed87d5f7b5add0cef2
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-99323 · CVE Program
- CVE-2026-99323 · NVD
- FIRST EPSS
- GHSA-w896-7xx4-4xcx · GitHub Advisory Database · CC BY 4.0
- CVE-2026-99323 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences