safesetid: check size of policy writes
In the Linux kernel, the following vulnerability has been resolved: safesetid: check size of policy writes syzbot attempts to write a buffer with a large size to a sysfs entry with writes handled by handle_policy_update(), triggering a warning in kmalloc. Check the size specified for write buffers before allocating. [PM: subject tweak]
02 / AFFECTED SOFTWARE
Affected packages
03 / CONNECTIONS
Connected vulnerabilities
04 / EVIDENCE
Source records
In the Linux kernel, the following vulnerability has been resolved: safesetid: check size of policy writes syzbot attempts to write a buffer with a large size to a sysfs entry with writes handled by handle_policy_update(), triggering a warning in kmalloc. Check the size specified for write buffers before allocating. [PM: subject tweak]
05 / REFERENCES
Further evidence
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
- https://git.kernel.org/stable/c/36b385d0f2b4c0bf41d491e19075ecd990d2bf94
- https://git.kernel.org/stable/c/96fae5bd1589731592d30b3953a90a77ef3928a6
- https://git.kernel.org/stable/c/976284b94f2021df09829e37a367e19b84d9e5f3
- https://git.kernel.org/stable/c/a0dec65f88c8d9290dfa1d2ca1e897abe54c5881
- https://git.kernel.org/stable/c/c71d35676d46090c891b6419f253fb92a1a9f4eb
- https://git.kernel.org/stable/c/ecf6a4a558097920447a6fb84dfdb279e2ac749a
- https://git.kernel.org/stable/c/f09ff307c7299392f1c88f763299e24bc99811c7
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58016.json
- https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html
- https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html
- https://nvd.nist.gov/vuln/detail/CVE-2024-58016