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

- Priority: **Routine**
- Reason: Not severe (CVSS 6, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-19 · Modified: 2026-11-23
- Aliases: DEBIAN-CVE-2026-99323, UBUNTU-CVE-2026-99323, CGA-3r4w-pjjm-5ffx, CGA-59jq-9qq3-7g68, CGA-5ghv-vf5v-j3mh, CGA-82wr-c24r-g854, CGA-8rgf-36p9-fqmw, CGA-95r3-f3hw-r62w, CGA-ch4r-hq2g-5w2w, CGA-cjjf-5hvj-cph2, CGA-h2f2-wrpm-q365, CGA-hhvw-pfm5-chfx, CGA-44mw-26cq-vjxx, CGA-85jp-q72x-x23w, CGA-92gq-xr8x-845v, CGA-9478-9vm9-hhj9, CGA-g5pg-h7f8-fxm8, CGA-h4mr-7qf4-45ww, CGA-hq79-4qpr-87m6, CGA-4vvx-4gmr-5g52, CGA-w83x-ccg4-7c92
- Record: https://cvemate.com/vulnerability/CVE-2026-99323 · JSON: https://cvemate.com/vulnerability/CVE-2026-99323/json

## Description

```text
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.
```

## Signals

- CVSS: 6 medium (v4.0, OSV · Ubuntu) CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- EPSS: 0.227%, percentile 14.325%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 170)

- chainguard linux-desktop-7.2 (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-modules (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2 (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-modules (Chainguard): All versions (No fix recorded)
- debian linux (Debian): All versions (No fix recorded) \| \< 6.12.117-1 \| \< 7.3.3-1
- debian linux-6.12 (Debian): \< 6.12.117-1~deb12u1
- ubuntu linux (Ubuntu): All versions (No fix recorded)
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)

## References

- <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>
- <https://security-tracker.debian.org/tracker/CVE-2026-99323>
- <https://git.kernel.org/stable/c/a3a284d36c0b5f1b5e203f21a446be308cedea08>
- <https://git.kernel.org/stable/c/1281624452531a5051f0015ef3e8457a8e090b2c>
- <https://git.kernel.org/stable/c/4c2ed8a2d49719cf849e03b6f4b0ccad0bd9cc90>
- <https://ubuntu.com/security/CVE-2026-99323>
- <https://www.cve.org/CVERecord?id=CVE-2026-99323>
- <https://git.kernel.org/linus/19d180c7baab7126af5848ed87d5f7b5add0cef2>

---

Data as of 2026-12-05T03:57:10.432Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
