CVE-2026-93812
ksmbd: fix sd_ndr.data memory leak in ksmbd_vfs_set_sd_xattr
CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix sd_ndr.data memory leak in ksmbd_vfs_set_sd_xattr ndr_encode_v4_ntacl() allocates sd_ndr.data via kzalloc() at entry. If any subsequent ndr_write_*() call returns error during encoding, the allocated sd_ndr.data won't be freed and causes memory leak. Move kfree(sd_ndr.data) into out label to ensure the buffer gets released on all success and error return paths.
| Vendor | linux |
| Product | linux |
| Ecosystems | |
| Industries | Technology |
| Published | Sep 24, 2026 |
Stay Ahead of the Next One
Get instant alerts for linux linux
Be the first to know when new unknown vulnerabilities affecting linux linux are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
Affected Versions
Linux / Linux
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 9b4dec75498fd0a1c9eaea680aef59c9519eb16f 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < c521dd78e036b5e0cfd394dd2ff2218890dd9e41 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < d4d56b00c7df88cd5751e7415bdfabc9fdbc82a7 0 < 6.12.111 0 < 6.18.53
Linux / Linux
All versions affected