CVE record · CVE-2024-58016

safesetid: check size of policy writes

No CVSS scoreEPSS 0.0021 · 10th percentile

Published by the CVE Program (CNA: Linux) at 27 Feb 2025, 02:12 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

Affected products, as the CNA wrote them
VendorProductVersions
Linux Linux
  • affected aeca4e2ca65c1aeacfbe520684e6421719d99417 to before 976284b94f2021df09829e37a367e19b84d9e5f3 git
  • affected aeca4e2ca65c1aeacfbe520684e6421719d99417 to before ecf6a4a558097920447a6fb84dfdb279e2ac749a git
  • affected aeca4e2ca65c1aeacfbe520684e6421719d99417 to before a0dec65f88c8d9290dfa1d2ca1e897abe54c5881 git
  • affected aeca4e2ca65c1aeacfbe520684e6421719d99417 to before 96fae5bd1589731592d30b3953a90a77ef3928a6 git
  • affected aeca4e2ca65c1aeacfbe520684e6421719d99417 to before 36b385d0f2b4c0bf41d491e19075ecd990d2bf94 git
  • affected aeca4e2ca65c1aeacfbe520684e6421719d99417 to before c71d35676d46090c891b6419f253fb92a1a9f4eb git
  • affected aeca4e2ca65c1aeacfbe520684e6421719d99417 to before f09ff307c7299392f1c88f763299e24bc99811c7 git
Other versions: unaffected
Linux Linux
  • affected 5.1
  • unaffected before 5.1 semver
  • unaffected 5.10.235 to 5.10.*, inclusive semver
  • unaffected 5.15.179 to 5.15.*, inclusive semver
  • unaffected 6.1.129 to 6.1.*, inclusive semver
  • unaffected 6.6.78 to 6.6.*, inclusive semver
  • unaffected 6.12.14 to 6.12.*, inclusive semver
  • unaffected 6.13.3 to 6.13.*, inclusive semver
  • unaffected 6.14 to *, inclusive original_commit_for_fix
Other versions: affected
Identifiers
CVE-2024-58016
CNA
Linux
Published
27 Feb 2025
Updated
10 Nov 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

CVE-2024-58016 affects the Linux kernel's safesetid security module from 5.1 onward, in versions before the fixes listed in the source; the source lists unaffected versions from 5.10.235, 5.15.179, 6.1.129 and 6.6.78 on their stable branches. The source describes a sysfs policy write with an oversized buffer that triggers a kernel warning in kmalloc, but it gives few details about the impact or who can trigger it. The fix adds a size check on policy write buffers before allocation, so upgrading to a fixed kernel release is the remedy; no other workaround is listed.

Written 19 Nov 2026.

Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

Severity and exploitation

No source has published a CVSS score for this record yet.

  • CISA KEV Not listed.
  • EPSS 0.0021, the 10th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 27 Feb 2025, 02:12 UTC Confirmed by the CVE List
  2. 27 Feb 2025, 03:15 UTC Confirmed by NVD

Sources

References from the CNA

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.