CVE-2024-56615: Linux kernel · bpf: fix OOB devmap writes when deleting elements
Source GCVE Database
Not known to be exploited · CVSS 7.8 High.
Data as of 30 Oct 2026, 00:51 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 27 Dec 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
AI-suggested
A fix for this vulnerability is available and involves changing the data types from signed int to unsigned u32 in the kernel source code for the BPF devmap implementation. Users should update their Linux kernel to a version that includes this fix. Since this is a kernel vulnerability, applying the official kernel patch or upgrading to a fixed kernel release is the recommended mitigation.
Description
CVE-2024-56615 is a high-severity vulnerability in the Linux kernel's BPF subsystem involving out-of-bounds (OOB) writes in devmap when deleting elements. The issue arises from using signed integers for indexing map entries, leading to OOB memory writes and potential kernel crashes. The flaw was fixed by changing the index and iterator variables from signed int to unsigned u32, preventing OOB accesses.
References
- nvd.nist.gov/vuln/detail/CVE-2024-56615 (opens in a new tab)
- git.kernel.org/stable/c/0f170e91d3063ca60baec4bd9f544faf3bfe29eb (opens in a new tab)
- git.kernel.org/stable/c/178e31df1fb3d9e0890eb471da16709cbc82edee (opens in a new tab)
- git.kernel.org/stable/c/70f3de869865f9c3da0508a5ea29f6f4c1889057 (opens in a new tab)
- git.kernel.org/stable/c/8e858930695d3ebec423e85384c95427258c294f (opens in a new tab)
- git.kernel.org/stable/c/98c03d05936d846073df8f550e9e8bf0dde1d77f (opens in a new tab)
- git.kernel.org/stable/c/ab244dd7cf4c291f82faacdc50b45cc0f55b674d (opens in a new tab)
- git.kernel.org/stable/c/ad34306ac6836e5dd096b7d0ad4aa20cb7c8d9e5 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00001.html (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00002.html (opens in a new tab)