What’s Vulnerable › Vulnerabilities

CVE-2024-58016: safesetid: check size of policy writes

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

How to fix

Upgrade to a fixed version: Linux kernel 5.10.235, 5.15.179, 6.1.129, 6.12.14. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-58016 or the next vulnerability affects your stack