{"id":"CVE-2024-58016","aliases":["CVE-2024-58016"],"related":[],"kind":"vulnerability","state":"published","title":"safesetid: check size of policy writes","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nsafesetid: check size of policy writes\n\nsyzbot attempts to write a buffer with a large size to a sysfs entry\nwith writes handled by handle_policy_update(), triggering a warning\nin kmalloc.\n\nCheck the size specified for write buffers before allocating.\n\n[PM: subject tweak]","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsafesetid: check size of policy writes\n\nsyzbot attempts to write a buffer with a large size to a sysfs entry\nwith writes handled by handle_policy_update(), triggering a warning\nin kmalloc.\n\nCheck the size specified for write buffers before allocating.\n\n[PM: subject tweak]","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: safesetid: comprobar el tamaño de las escrituras de políticas syzbot intenta escribir un búfer de gran tamaño en una entrada sysfs con escrituras gestionadas por handle_policy_update(), lo que activa una advertencia en kmalloc. Compruebe el tamaño especificado para los búferes de escritura antes de asignar. [MP: modificación del asunto]","source":"nvd"}],"published":"2025-02-27T02:12:08.547Z","modified":"2026-11-10T13:17:29.080Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"aeca4e2ca65c1aeacfbe520684e6421719d99417","fixed":"976284b94f2021df09829e37a367e19b84d9e5f3","status":"affected"},{"type":"git","introduced":"aeca4e2ca65c1aeacfbe520684e6421719d99417","fixed":"ecf6a4a558097920447a6fb84dfdb279e2ac749a","status":"affected"},{"type":"git","introduced":"aeca4e2ca65c1aeacfbe520684e6421719d99417","fixed":"a0dec65f88c8d9290dfa1d2ca1e897abe54c5881","status":"affected"},{"type":"git","introduced":"aeca4e2ca65c1aeacfbe520684e6421719d99417","fixed":"96fae5bd1589731592d30b3953a90a77ef3928a6","status":"affected"},{"type":"git","introduced":"aeca4e2ca65c1aeacfbe520684e6421719d99417","fixed":"36b385d0f2b4c0bf41d491e19075ecd990d2bf94","status":"affected"},{"type":"git","introduced":"aeca4e2ca65c1aeacfbe520684e6421719d99417","fixed":"c71d35676d46090c891b6419f253fb92a1a9f4eb","status":"affected"},{"type":"git","introduced":"aeca4e2ca65c1aeacfbe520684e6421719d99417","fixed":"f09ff307c7299392f1c88f763299e24bc99811c7","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.1","status":"unaffected"},{"type":"semver","introduced":"5.10.235","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.179","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.129","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.78","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.14","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.13.3","lastAffected":"6.13.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.14","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.1","fixed":"5.10.235"},{"status":"affected","introduced":"5.11","fixed":"5.15.179"},{"status":"affected","introduced":"5.16","fixed":"6.1.129"},{"status":"affected","introduced":"6.2","fixed":"6.6.78"},{"status":"affected","introduced":"6.7","fixed":"6.12.14"},{"status":"affected","introduced":"6.13","fixed":"6.13.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/976284b94f2021df09829e37a367e19b84d9e5f3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ecf6a4a558097920447a6fb84dfdb279e2ac749a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a0dec65f88c8d9290dfa1d2ca1e897abe54c5881","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/96fae5bd1589731592d30b3953a90a77ef3928a6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/36b385d0f2b4c0bf41d491e19075ecd990d2bf94","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c71d35676d46090c891b6419f253fb92a1a9f4eb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f09ff307c7299392f1c88f763299e24bc99811c7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-58016","url":"https://www.cve.org/CVERecord?id=CVE-2024-58016","licence":"CVE Terms of Use","modified":"2026-11-10T12:34:03.611Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-58016","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-58016","licence":"Public domain","modified":"2026-11-10T13:17:29.080Z"}],"updatedAt":"2026-11-25T22:58:52.106Z","epss":{"score":0.00206,"percentile":0.11324,"date":"2026-12-01T12:00:22.000Z"}}