# CVE-2026-99323: ksmbd: fix invalid pointer dereference when get\_inode\_acl() fails

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.23% (percentile 8, 2026-11-28)
- **Published:** 2026-11-19T14:21:31.581Z
- **Modified:** 2026-11-23T08:17:37.517Z

## Who should check

- Anyone running Linux \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< a3a284d36c0b5f1b5e203f21a446be308cedea08; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 1281624452531a5051f0015ef3e8457a8e090b2c; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 4c2ed8a2d49719cf849e03b6f4b0ccad0bd9cc90; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 5a04348b4492fe993ed709e601f01877e5dab220; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 4a7f332fd43eee2541197d6e1e297b9ef2e1b07f; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 44950fdcc645041912fecc257c01a1f253abf05e; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 19d180c7baab7126af5848ed87d5f7b5add0cef2
- Anyone running Linux 5.15

## 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.

## Affected and fixed versions

- Linux: \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< a3a284d36c0b5f1b5e203f21a446be308cedea08; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 1281624452531a5051f0015ef3e8457a8e090b2c; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 4c2ed8a2d49719cf849e03b6f4b0ccad0bd9cc90; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 5a04348b4492fe993ed709e601f01877e5dab220; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 4a7f332fd43eee2541197d6e1e297b9ef2e1b07f; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 44950fdcc645041912fecc257c01a1f253abf05e; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 19d180c7baab7126af5848ed87d5f7b5add0cef2 (cvelist)
- Linux: 5.15 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 19d180c7baab7126af5848ed87d5f7b5add0cef2 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-99323. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99323.md
Affected: Linux >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < a3a284d36c0b5f1b5e203f21a446be308cedea08; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 1281624452531a5051f0015ef3e8457a8e090b2c; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 4c2ed8a2d49719cf849e03b6f4b0ccad0bd9cc90; >= e2f34481b24db2fd634b5ed…
Fixed in: Linux 1281624452531a5051f0015ef3e8457a8e090b2c, Linux 4c2ed8a2d49719cf849e03b6f4b0ccad0bd9cc90, Linux 5a04348b4492fe993ed709e601f01877e5dab220, Linux 4a7f332fd43eee2541197d6e1e297b9ef2e1b07f, Linux 44950fdcc645041912fecc257c01a1f253abf05e, Linux 19d180c7baab7126af5848ed87d5f7b5add0cef2

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-99323 being exploited?

There is no confirmed exploitation: CVE-2026-99323 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-99323?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-99323?

Linux \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< a3a284d36c0b5f1b5e203f21a446be308cedea08; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 1281624452531a5051f0015ef3e8457a8e090b2c; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 4c2ed8a2d49719cf849e03b6f4b0ccad0bd9cc90; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 5a04348b4492fe993ed709e601f01877e5dab220; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 4a7f332fd43eee2541197d6e1e297b9ef2e1b07f; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 44950fdcc645041912fecc257c01a1f253abf05e; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 19d180c7baab7126af5848ed87d5f7b5add0cef2; Linux 5.15.

### Is there a fix for CVE-2026-99323?

Yes. Fixed in Linux 1281624452531a5051f0015ef3e8457a8e090b2c, Linux 4c2ed8a2d49719cf849e03b6f4b0ccad0bd9cc90, Linux 5a04348b4492fe993ed709e601f01877e5dab220, Linux 4a7f332fd43eee2541197d6e1e297b9ef2e1b07f, Linux 44950fdcc645041912fecc257c01a1f253abf05e, Linux 19d180c7baab7126af5848ed87d5f7b5add0cef2. Upgrade Linux to 19d180c7baab7126af5848ed87d5f7b5add0cef2 or later.

### How do I check if I'm affected by CVE-2026-99323?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/a3a284d36c0b5f1b5e203f21a446be308cedea08>
- other: <https://git.kernel.org/stable/c/1281624452531a5051f0015ef3e8457a8e090b2c>
- other: <https://git.kernel.org/stable/c/4c2ed8a2d49719cf849e03b6f4b0ccad0bd9cc90>
- other: <https://git.kernel.org/stable/c/5a04348b4492fe993ed709e601f01877e5dab220>
- other: <https://git.kernel.org/stable/c/4a7f332fd43eee2541197d6e1e297b9ef2e1b07f>
- other: <https://git.kernel.org/stable/c/44950fdcc645041912fecc257c01a1f253abf05e>
- other: <https://git.kernel.org/stable/c/19d180c7baab7126af5848ed87d5f7b5add0cef2>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-99323>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-99323> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-99323>
