# CVE-2024-58016

## Summary

- **CVE ID:** CVE-2024-58016
- **Severity:** MEDIUM
- **CVSS Score:** 5.5 (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H)
- **CWE:** N/A
- **Published:** Feb 27, 2025
- **Last Modified:** Sep 8, 2026

## Description

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 Products

- Linux — Linux (aeca4e2ca65c1aeacfbe520684e6421719d99417)
- Linux — Linux (5.1)
- Linux — Linux (0)
- Linux — Linux (5.10.235)
- Linux — Linux (5.15.179)
- Linux — Linux (6.1.129)
- Linux — Linux (6.6.78)
- Linux — Linux (6.12.14)
- Linux — Linux (6.13.3)
- Linux — Linux (6.14)

## References

- [CNA](https://git.kernel.org/stable/c/976284b94f2021df09829e37a367e19b84d9e5f3)
- [CNA](https://git.kernel.org/stable/c/ecf6a4a558097920447a6fb84dfdb279e2ac749a)
- [CNA](https://git.kernel.org/stable/c/a0dec65f88c8d9290dfa1d2ca1e897abe54c5881)
- [CNA](https://git.kernel.org/stable/c/96fae5bd1589731592d30b3953a90a77ef3928a6)
- [CNA](https://git.kernel.org/stable/c/36b385d0f2b4c0bf41d491e19075ecd990d2bf94)
- [CNA](https://git.kernel.org/stable/c/c71d35676d46090c891b6419f253fb92a1a9f4eb)
- [CNA](https://git.kernel.org/stable/c/f09ff307c7299392f1c88f763299e24bc99811c7)
- [CVE](https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html)
- [CVE](https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html)
- [siemens-SADP](https://cert-portal.siemens.com/productcert/html/ssa-265688.html)
- [siemens-SADP](https://cert-portal.siemens.com/productcert/html/ssa-019113.html)

## Exploitation Prediction (EPSS)

- **EPSS Score:** 0.20%
- **EPSS Percentile:** 10.5

---
_Exported from OnDuty AI Vulnerability Intelligence on 2026-09-18._