CVE-2026-99323
ksmbd: fix invalid pointer dereference when get_inode_acl() fails
Check your servers for CVE-2026-99323
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-99323 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Exploitation
EPSS 0.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 8.00% of all scored CVEs. Scores of 28 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before a3a284d36c0b5f1b5e203f21a446be308cedea08 affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before 1281624452531a5051f0015ef3e8457a8e090b2c affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before 4c2ed8a2d49719cf849e03b6f4b0ccad0bd9cc90 affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before 5a04348b4492fe993ed709e601f01877e5dab220 affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before 4a7f332fd43eee2541197d6e1e297b9ef2e1b07f affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before 44950fdcc645041912fecc257c01a1f253abf05e affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before 19d180c7baab7126af5848ed87d5f7b5add0cef2
Other versions: unaffected
|
| Linux |
affected 5.15 unaffected before 5.15 unaffected from 5.15.226 up to and including 5.15.* unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.117 up to and including 6.12.* unaffected from 6.18.61 up to and including 6.18.* unaffected from 7.3.2 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-99323 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-99323
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-99323
trivy image --scanners vuln IMAGE | grep CVE-2026-99323
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/a3a284d36c0b5f1b5e203f21a446be308cedea08 git.kernel.org
- https://git.kernel.org/stable/c/1281624452531a5051f0015ef3e8457a8e090b2c git.kernel.org
- https://git.kernel.org/stable/c/4c2ed8a2d49719cf849e03b6f4b0ccad0bd9cc90 git.kernel.org
- https://git.kernel.org/stable/c/5a04348b4492fe993ed709e601f01877e5dab220 git.kernel.org
- https://git.kernel.org/stable/c/4a7f332fd43eee2541197d6e1e297b9ef2e1b07f git.kernel.org
- https://git.kernel.org/stable/c/44950fdcc645041912fecc257c01a1f253abf05e git.kernel.org
- https://git.kernel.org/stable/c/19d180c7baab7126af5848ed87d5f7b5add0cef2 git.kernel.org
Source: the record CVE-2026-99323 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse