CVE-2024-58016

published 27 Feb 2025 · updated 12 Nov 2026

safesetid: check size of policy writes

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5.10.235, Kernel 5.15.179, Kernel 6.1.129 and 10 more.

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]

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=5.1 <5.10.235, >=5.11 <5.15.179, >=5.16 <6.1.129, >=6.13 <6.13.3, >=6.2 <6.6.78, >=6.7 <6.12.14, >=aeca4e2ca65c1aeacfbe520684e6421719d99417 <96fae5bd1589731592d30b3953a90a77ef3928a6, >=aeca4e2ca65c1aeacfbe520684e6421719d99417 <976284b94f2021df09829e37a367e19b84d9e5f3, >=aeca4e2ca65c1aeacfbe520684e6421719d99417 <a0dec65f88c8d9290dfa1d2ca1e897abe54c5881, >=aeca4e2ca65c1aeacfbe520684e6421719d99417 <c71d35676d46090c891b6419f253fb92a1a9f4eb, >=aeca4e2ca65c1aeacfbe520684e6421719d99417 <ecf6a4a558097920447a6fb84dfdb279e2ac749a, >=aeca4e2ca65c1aeacfbe520684e6421719d99417 <f09ff307c7299392f1c88f763299e24bc99811c7, =5.1, >=aeca4e2ca65c1aeacfbe520684e6421719d99417 <36b385d0f2b4c0bf41d491e19075ecd990d2bf945.10.235, 5.15.179, 6.1.129, 6.13.3, 6.6.78, 6.12.14, 96fae5bd1589731592d30b3953a90a77ef3928a6, 976284b94f2021df09829e37a367e19b84d9e5f3, a0dec65f88c8d9290dfa1d2ca1e897abe54c5881, c71d35676d46090c891b6419f253fb92a1a9f4eb, ecf6a4a558097920447a6fb84dfdb279e2ac749a, f09ff307c7299392f1c88f763299e24bc99811c7, 36b385d0f2b4c0bf41d491e19075ecd990d2bf94
linux-kernel: Kernel>=5.1.0 <5.10.235, >=5.11.0 <5.15.179, >=5.16.0 <6.1.129, >=6.13.0 <6.13.3, >=6.2.0 <6.6.78, >=6.7.0 <6.12.145.10.235, 5.15.179, 6.1.129, 6.13.3, 6.6.78, 6.12.14

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-58016 severity on Zeptric[![CVE-2024-58016](https://zeptric.io/badge/cve/CVE-2024-58016.svg)](https://zeptric.io/cve/CVE-2024-58016)