CVE-2026-99323

Source
https://cve.org/CVERecord?id=CVE-2026-99323
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99323.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-99323
Published
2026-11-19T14:21:31Z
Modified
2026-11-19T17:00:55Z
Summary
ksmbd: fix invalid pointer dereference when get_inode_acl() fails
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99323.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9
Fixed
5a04348b4492fe993ed709e601f01877e5dab220
Fixed
4a7f332fd43eee2541197d6e1e297b9ef2e1b07f
Fixed
44950fdcc645041912fecc257c01a1f253abf05e
Fixed
19d180c7baab7126af5848ed87d5f7b5add0cef2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99323.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.15.0
Fixed
6.12.117
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.61
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99323.json"