Linux kernel: ksmbd: Fix acl.sd_buf memory leak and invalid sd_size error handling
Overview
In the Linux kernel, the following vulnerability has been resolved: ksmbd: Fix acl.sd_buf memory leak and invalid sd_size error handling 1. When ndr_decode_v4_ntacl() fails, the code jumped to free_n_data which only freed n.data, skipping kfree(acl.sd_buf) and leaking the buffer. Zero-initialize struct xattr_ntacl acl, reorder error labels to out_free to release acl.sd_buf on all error paths. 2. if (acl.sd_size < sizeof(struct smb_ntsd)) is true, original code returned success without freeing sd_buf and left stale *pntsd. Set rc = -EINVAL before jumping to out_free to return error code and free buffer.
- Published
- 9/24/2026
- Last modified
- 10/3/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
Linux Linux | ≥ cb69d4d6f709f87c94afa28ae64c501576692171, < f46a70a082bdbfecbe074af8a719c26c4deb58c6 | Verify advisory | Source |
Linux Linux | ≥ 8f0541186e9ad1b62accc9519cc2b7a7240272a7, < 86c2625fb9863139b359805fc6be1e31edbd3d65 | Verify advisory | Source |
Linux Linux | ≥ 8f0541186e9ad1b62accc9519cc2b7a7240272a7, < edc17db83085624a2b1bacf6a4521d7f15571737 | Verify advisory | Source |
Linux Linux | ≥ 8f0541186e9ad1b62accc9519cc2b7a7240272a7, < c3836f55e0dab96314774215e12d87f63fa919f2 | Verify advisory | Source |
Linux Linux | ≥ 8f0541186e9ad1b62accc9519cc2b7a7240272a7, < 6e6329322ad733c5b23555c609353841560b26bc | Verify advisory | Source |
Linux Linux | ≥ 8f0541186e9ad1b62accc9519cc2b7a7240272a7, < d708a36634bb7b6f94d0e76d587d2ec50b2b93b5 | Verify advisory | Source |
Linux Linux | 6e8f4abf584253cbaa596ea4ad13110cf61cd4c9 | Verify advisory | Source |
Linux Linux | 8e33102309bd6839b2e2e158f93a7b378cb4655d | Verify advisory | Source |
Linux Linux | ≥ 5.15.62, < 5.15.222 | Verify advisory | Source |
Linux Linux | ≥ 5.18.18, < 5.19 | Verify advisory | Source |
Linux Linux | ≥ 5.19.2, < 5.20 | Verify advisory | Source |
Linux Linux | 6.0 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
No CVSS score is published for this record yet. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.