CVE-2024-58016

high

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]

References

https://git.kernel.org/stable/c/f09ff307c7299392f1c88f763299e24bc99811c7

https://git.kernel.org/stable/c/c71d35676d46090c891b6419f253fb92a1a9f4eb

https://git.kernel.org/stable/c/a0dec65f88c8d9290dfa1d2ca1e897abe54c5881

https://git.kernel.org/stable/c/96fae5bd1589731592d30b3953a90a77ef3928a6

https://git.kernel.org/stable/c/36b385d0f2b4c0bf41d491e19075ecd990d2bf94

Details

Source: Mitre, NVD

Published: 2025-02-27

Updated: 2025-02-27

Risk Information

CVSS v2

Base Score: 5.6

Vector: CVSS2#AV:L/AC:L/Au:N/C:N/I:P/A:C

Severity: Medium

CVSS v3

Base Score: 7.1

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Severity: High