{"id":"CVE-2026-99323","aliases":[],"title":"ksmbd: fix invalid pointer dereference when get_inode_acl() fails","originalDescription":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix invalid pointer dereference when get_inode_acl() fails\n\nWhen get_inode_acl() fails, it returns an ERR_PTR(), but\nksmbd_acls_fattr() stored that pointer in smb_fattr without\nchecking for errors. Later callers then passed the error pointer\nto security descriptor helpers or posix_acl_release(), resulting\nin an invalid pointer dereference.\n\nThis was reproduced on an XFS-backed share when xfs_get_acl()\nreturned ERR_PTR(-ENOMEM). Querying the SMB ACL from a CIFS client\ntriggered the crash:\n\n  BUG: unable to handle page fault for address: fffffffffffffff8\n  RIP: smb_acl_sec_desc_scratch_len+0x58/0x90 [ksmbd]\n  Call Trace:\n   smb2_query_info+0x40d/0x17c0 [ksmbd]\n   handle_ksmbd_work+0x1ca/0x770 [ksmbd]\n\nFix this by checking the return values from get_inode_acl() in\nksmbd_acls_fattr(). Treat -EOPNOTSUPP as indicating that no ACL is\navailable, and propagate all other errors to the callers. Update\nsmb2_open() and smb2_get_info_sec() to handle these errors.","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":{"score":0.00227,"percentile":0.14381},"exploitDb":null},"affected":[{"ecosystem":"Linux","name":"Kernel","range":">=5.15.0, <5.15.226","fixed":"5.15.226"},{"ecosystem":"Linux","name":"Kernel","range":">=5.16.0, <6.1.193","fixed":"6.1.193"},{"ecosystem":"Linux","name":"Kernel","range":">=6.13.0, <6.18.61","fixed":"6.18.61"},{"ecosystem":"Linux","name":"Kernel","range":">=6.19.0, <7.3.2","fixed":"7.3.2"},{"ecosystem":"Linux","name":"Kernel","range":">=6.2.0, <6.6.163","fixed":"6.6.163"},{"ecosystem":"Linux","name":"Kernel","range":">=6.7.0, <6.12.117","fixed":"6.12.117"},{"ecosystem":"vendor","name":"Linux","range":">=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, <1281624452531a5051f0015ef3e8457a8e090b2c","fixed":"1281624452531a5051f0015ef3e8457a8e090b2c"},{"ecosystem":"vendor","name":"Linux","range":">=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, <19d180c7baab7126af5848ed87d5f7b5add0cef2","fixed":"19d180c7baab7126af5848ed87d5f7b5add0cef2"},{"ecosystem":"vendor","name":"Linux","range":">=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, <44950fdcc645041912fecc257c01a1f253abf05e","fixed":"44950fdcc645041912fecc257c01a1f253abf05e"},{"ecosystem":"vendor","name":"Linux","range":">=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, <4a7f332fd43eee2541197d6e1e297b9ef2e1b07f","fixed":"4a7f332fd43eee2541197d6e1e297b9ef2e1b07f"},{"ecosystem":"vendor","name":"Linux","range":">=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, <4c2ed8a2d49719cf849e03b6f4b0ccad0bd9cc90","fixed":"4c2ed8a2d49719cf849e03b6f4b0ccad0bd9cc90"},{"ecosystem":"vendor","name":"Linux","range":">=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, <5a04348b4492fe993ed709e601f01877e5dab220","fixed":"5a04348b4492fe993ed709e601f01877e5dab220"},{"ecosystem":"vendor","name":"Linux","range":">=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, <a3a284d36c0b5f1b5e203f21a446be308cedea08","fixed":"a3a284d36c0b5f1b5e203f21a446be308cedea08"}],"references":[{"url":"https://git.kernel.org/stable/c/5a04348b4492fe993ed709e601f01877e5dab220","type":"other"},{"url":"https://git.kernel.org/stable/c/4a7f332fd43eee2541197d6e1e297b9ef2e1b07f","type":"other"},{"url":"https://git.kernel.org/stable/c/44950fdcc645041912fecc257c01a1f253abf05e","type":"other"},{"url":"https://git.kernel.org/stable/c/19d180c7baab7126af5848ed87d5f7b5add0cef2","type":"other"},{"url":"https://git.kernel.org/stable/c/a3a284d36c0b5f1b5e203f21a446be308cedea08","type":"other"},{"url":"https://git.kernel.org/stable/c/1281624452531a5051f0015ef3e8457a8e090b2c","type":"other"},{"url":"https://git.kernel.org/stable/c/4c2ed8a2d49719cf849e03b6f4b0ccad0bd9cc90","type":"other"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99323.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99323","type":"advisory"},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","type":"package"}],"sources":[{"name":"nvd","at":"2026-11-23T08:46:26.952Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99323","license":"NVD terms of use","firstSeenAt":"2026-11-19T15:43:47.412Z"},{"name":"osv","at":"2026-12-01T11:19:52.692Z","url":"https://osv.dev/vulnerability/CVE-2026-99323","license":"CC-BY 4.0","firstSeenAt":"2026-12-01T11:19:52.692Z"},{"name":"cvelistV5","at":"2026-11-23T21:30:51.738Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99323","license":"CVE Terms of Use","firstSeenAt":"2026-11-19T14:27:35.162Z"}],"firstSeenAt":"2026-11-19T14:27:35.162Z","publishedAt":"2026-11-19T14:21:31.581Z","modifiedAt":"2026-12-01T10:42:30.139Z"}