GHSA-W896-7XX4-4XCX
Vulnerability from github – Published: 2026-11-19 15:31 – Updated: 2026-11-23 09:30In 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": [],
"aliases": [
"CVE-2026-99323"
],
"database_specific": {
"cwe_ids": [],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-11-19T15:17:43Z",
"severity": null
},
"details": "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.",
"id": "GHSA-w896-7xx4-4xcx",
"modified": "2026-11-23T09:30:38Z",
"published": "2026-11-19T15:31:20Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99323"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/1281624452531a5051f0015ef3e8457a8e090b2c"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/19d180c7baab7126af5848ed87d5f7b5add0cef2"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/44950fdcc645041912fecc257c01a1f253abf05e"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/4a7f332fd43eee2541197d6e1e297b9ef2e1b07f"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/4c2ed8a2d49719cf849e03b6f4b0ccad0bd9cc90"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/5a04348b4492fe993ed709e601f01877e5dab220"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/a3a284d36c0b5f1b5e203f21a446be308cedea08"
}
],
"schema_version": "1.4.0",
"severity": []
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.