Skip to content
Noroxi
NVD / CVE Program· CNA Linux

CVE-2024-56615: bpf: fix OOB devmap writes when deleting elements

HighCVSS 7.8 · v3.1—No exploit Fix available

Noroxi assessment

Priority: Monitor (action score 31/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 0.26% (FIRST EPSS).
  • Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
  • Fixed version: Linux Linux 0f170e91d3063ca60baec4bd9f544faf3bfe29eb, 178e31df1fb3d9e0890eb471da16709cbc82edee, 70f3de869865f9c3da0508a5ea29f6f4c1889057; azl3 kernel 6.6.64.2-9 on Azure Linux 3.0 6.6.76.1-1; azl3 kernel 6.6.76.1-1 on Azure Linux 3.0 6.6.76.1-1.

Low priority for now. Upgrade to Linux Linux 0f170e91d3063ca60baec4bd9f544faf3bfe29eb, 178e31df1fb3d9e0890eb471da16709cbc82edee, 70f3de869865f9c3da0508a5ea29f6f4c1889057; azl3 kernel 6.6.64.2-9 on Azure Linux 3.0 6.6.76.1-1; azl3 kernel 6.6.76.1-1 on Azure Linux 3.0 6.6.76.1-1 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

In the Linux kernel, the following vulnerability has been resolved: bpf: fix OOB devmap writes when deleting elements Jordy reported issue against XSKMAP which also applies to DEVMAP - the index used for accessing map entry, due to being a signed integer, causes the OOB writes. Fix is simple as changing the type from int to u32, however, when compared to XSKMAP case, one more thing needs to be addressed. When map is released from system via dev_map_free(), we iterate through all of the entries and an iterator variable is also an int, which implies OOB accesses. Again, change it to be u32. Example splat below: [ 160.724676] BUG: unable to handle page fault for address: ffffc8fc2c001000 [ 160.731662] #PF: supervisor read access in kernel mode [ 160.736876] #PF: error_code(0x0000) - not-present page [ 160.742095] PGD 0 P4D 0 [ 160.744678] Oops: Oops: 0000 [#1] PREEMPT SMP [ 160.749106] CPU: 1 UID: 0 PID: 520 Comm: kworker/u145:12 Not tainted 6.12.0-rc1+ #487 [ 160.757050] Hardware name: Intel Corporation S2600WFT/S2600WFT, BIOS SE5C620.86B.02.01.0008.031920191559 03/19/2019 [ 160.767642] Workqueue: events_unbound bpf_map_free_deferred [ 160.773308] RIP: 0010:dev_map_free+0x77/0x170 [ 160.777735] Code: 00 e8 fd 91 ed ff e8 b8 73 ed ff 41 83 7d 18 19 74 6e 41 8b 45 24 49 8b bd f8 00 00 00 31 db 85 c0 74 48 48 63 c3 48 8d 04 c7 <48> 8b 28 48 85 ed 74 30 48 8b 7d 18 48 85 ff 74 05 e8 b3 52 fa ff [ 160.796777] RSP: 0018:ffffc9000ee1fe38 EFLAGS: 00010202 [ 160.802086] RAX: ffffc8fc2c001000 RBX: 0000000080000000 RCX: 0000000000000024 [ 160.809331] RDX: 0000000000000000 RSI: 0000000000000024 RDI: ffffc9002c001000 [ 160.816576] RBP: 0000000000000000 R08: 0000000000000023 R09: 0000000000000001 [ 160.823823] R10: 0000000000000001 R11: 00000000000ee6b2 R12: dead000000000122 [ 160.831066] R13: ffff88810c928e00 R14: ffff8881002df405 R15: 0000000000000000 [ 160.838310] FS: 0000000000000000(0000) GS:ffff8897e0c40000(0000) knlGS:0000000000000000 [ 160.846528] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 160.852357] CR2: ffffc8fc2c001000 CR3: 0000000005c32006 CR4: 00000000007726f0 [ 160.859604] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 160.866847] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 160.874092] PKRU: 55555554 [ 160.876847] Call Trace: [ 160.879338] <TASK> [ 160.881477] ? __die+0x20/0x60 [ 160.884586] ? page_fault_oops+0x15a/0x450 [ 160.888746] ? search_extable+0x22/0x30 [ 160.892647] ? search_bpf_extables+0x5f/0x80 [ 160.896988] ? exc_page_fault+0xa9/0x140 [ 160.900973] ? asm_exc_page_fault+0x22/0x30 [ 160.905232] ? dev_map_free+0x77/0x170 [ 160.909043] ? dev_map_free+0x58/0x170 [ 160.912857] bpf_map_free_deferred+0x51/0x90 [ 160.917196] process_one_work+0x142/0x370 [ 160.921272] worker_thread+0x29e/0x3b0 [ 160.925082] ? rescuer_thread+0x4b0/0x4b0 [ 160.929157] kthread+0xd4/0x110 [ 160.932355] ? kthread_park+0x80/0x80 [ 160.936079] ret_from_fork+0x2d/0x50 [ 160.943396] ? kthread_park+0x80/0x80 [ 160.950803] ret_from_fork_asm+0x11/0x20 [ 160.958482] </TASK>

Published
Dec 27, 2024
Updated
Jun 17, 2026
EPSS
0.2% · 17th percentile

Report tools

JSON

Action score

31

Monitor

Low priority for now.

CVSS
31 / 40 · 7.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.2%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
total

Vulnrichment: CISA's decision-tree inputs.

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2024-56615

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools
Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
linuxlinux kernel

Versions reported by the vendor

Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.

  • Linux Linux

    • 4.14affected
    • 546ac1ffb70d25b56c1126940e5ec639c4dd7413 and later · before 0f170e91d3063ca60baec4bd9f544faf3bfe29ebaffected · git
    • 546ac1ffb70d25b56c1126940e5ec639c4dd7413 and later · before 70f3de869865f9c3da0508a5ea29f6f4c1889057affected · git
    • 546ac1ffb70d25b56c1126940e5ec639c4dd7413 and later · before ad34306ac6836e5dd096b7d0ad4aa20cb7c8d9e5affected · git
    • 546ac1ffb70d25b56c1126940e5ec639c4dd7413 and later · before 98c03d05936d846073df8f550e9e8bf0dde1d77faffected · git
    • 546ac1ffb70d25b56c1126940e5ec639c4dd7413 and later · before 8e858930695d3ebec423e85384c95427258c294faffected · git
    • 546ac1ffb70d25b56c1126940e5ec639c4dd7413 and later · before 178e31df1fb3d9e0890eb471da16709cbc82edeeaffected · git
    • 546ac1ffb70d25b56c1126940e5ec639c4dd7413 and later · before ab244dd7cf4c291f82faacdc50b45cc0f55b674daffected · git
    • before 4.14not affected · semver
    • 5.4.287 and later · up to and including 5.4.*not affected · semver

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12linuxbefore 6.1.123-16.1.123-1
Debian:13linuxbefore 6.12.5-16.12.5-1
Red Hat:rhel_e4s:9.2::appstreambpftool-debuginfobefore 0:7.0.0-284.122.1.el9_20:7.0.0-284.122.1.el9_2
Red Hat:rhel_e4s:9.2::appstreamkernel-64k-debug-debuginfobefore 0:5.14.0-284.122.1.el9_20:5.14.0-284.122.1.el9_2
Red Hat:rhel_e4s:9.2::appstreamkernel-64k-debug-develbefore 0:5.14.0-284.122.1.el9_20:5.14.0-284.122.1.el9_2
Red Hat:rhel_e4s:9.2::appstreamkernel-64k-debug-devel-matchedbefore 0:5.14.0-284.122.1.el9_20:5.14.0-284.122.1.el9_2
Red Hat:rhel_e4s:9.2::appstreamkernel-64k-debuginfobefore 0:5.14.0-284.122.1.el9_20:5.14.0-284.122.1.el9_2
Red Hat:rhel_e4s:9.2::appstreamkernel-64k-develbefore 0:5.14.0-284.122.1.el9_20:5.14.0-284.122.1.el9_2
Red Hat:rhel_e4s:9.2::appstreamkernel-64k-devel-matchedbefore 0:5.14.0-284.122.1.el9_20:5.14.0-284.122.1.el9_2
Red Hat:rhel_e4s:9.2::appstreamkernel-debug-debuginfobefore 0:5.14.0-284.122.1.el9_20:5.14.0-284.122.1.el9_2
Red Hat:rhel_e4s:9.2::appstreamkernel-debug-develbefore 0:5.14.0-284.122.1.el9_20:5.14.0-284.122.1.el9_2
Red Hat:rhel_e4s:9.2::appstreamkernel-debug-devel-matchedbefore 0:5.14.0-284.122.1.el9_20:5.14.0-284.122.1.el9_2
Red Hat:rhel_e4s:9.2::appstreamkernel-debuginfobefore 0:5.14.0-284.122.1.el9_20:5.14.0-284.122.1.el9_2
Red Hat:rhel_e4s:9.2::appstreamkernel-debuginfo-common-aarch64before 0:5.14.0-284.122.1.el9_20:5.14.0-284.122.1.el9_2
Red Hat:rhel_e4s:9.2::appstreamkernel-debuginfo-common-ppc64lebefore 0:5.14.0-284.122.1.el9_20:5.14.0-284.122.1.el9_2
Red Hat:rhel_e4s:9.2::appstreamkernel-debuginfo-common-s390xbefore 0:5.14.0-284.122.1.el9_20:5.14.0-284.122.1.el9_2
Red Hat:rhel_e4s:9.2::appstreamkernel-debuginfo-common-x86_64before 0:5.14.0-284.122.1.el9_20:5.14.0-284.122.1.el9_2
Red Hat:rhel_e4s:9.2::appstreamkernel-develbefore 0:5.14.0-284.122.1.el9_20:5.14.0-284.122.1.el9_2
Red Hat:rhel_e4s:9.2::appstreamkernel-devel-matchedbefore 0:5.14.0-284.122.1.el9_20:5.14.0-284.122.1.el9_2
Red Hat:rhel_e4s:9.2::appstreamkernel-docbefore 0:5.14.0-284.122.1.el9_20:5.14.0-284.122.1.el9_2
Red Hat:rhel_e4s:9.2::appstreamkernel-tools-debuginfobefore 0:5.14.0-284.122.1.el9_20:5.14.0-284.122.1.el9_2
Red Hat:rhel_e4s:9.2::appstreamkernel-zfcpdump-debuginfobefore 0:5.14.0-284.122.1.el9_20:5.14.0-284.122.1.el9_2
Red Hat:rhel_e4s:9.2::appstreamkernel-zfcpdump-develbefore 0:5.14.0-284.122.1.el9_20:5.14.0-284.122.1.el9_2
Red Hat:rhel_e4s:9.2::appstreamkernel-zfcpdump-devel-matchedbefore 0:5.14.0-284.122.1.el9_20:5.14.0-284.122.1.el9_2

+96

Other highest-scoring records for the same primary product.

  • CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV
    90Now
  • CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe…KEV
    89Now
  • CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV
    85Now

Published before and after this one in the same product

  • ← EarlierCVE-2024-56613Dec 27, 2024 · sched/numa: fix memory leak due to the overwritten vma->numab_state
    22Monitor
  • ← EarlierCVE-2024-56614Dec 27, 2024 · xsk: fix OOB map writes when deleting elements
    31Monitor
  • Later →CVE-2024-56616Dec 27, 2024 · drm/dp_mst: Fix MST sideband message body length check
    31Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Linux Linux0f170e91d3063ca60baec4bd9f544faf3bfe29ebVendor (CNA)
Linux Linux178e31df1fb3d9e0890eb471da16709cbc82edeeVendor (CNA)
Linux Linux70f3de869865f9c3da0508a5ea29f6f4c1889057Vendor (CNA)
Linux Linux8e858930695d3ebec423e85384c95427258c294fVendor (CNA)
Linux Linux98c03d05936d846073df8f550e9e8bf0dde1d77fVendor (CNA)
Linux Linuxab244dd7cf4c291f82faacdc50b45cc0f55b674dVendor (CNA)
Linux Linuxad34306ac6836e5dd096b7d0ad4aa20cb7c8d9e5Vendor (CNA)
azl3 kernel 6.6.64.2-9 on Azure Linux 3.06.6.76.1-1 · CBL-Mariner ReleasesMicrosoft (MSRC)
azl3 kernel 6.6.76.1-1 on Azure Linux 3.06.6.76.1-1 · CBL-Mariner ReleasesMicrosoft (MSRC)
cbl2 kernel 5.15.173.1-2 on CBL Mariner 2.05.15.176.3-1 · CBL-Mariner ReleasesMicrosoft (MSRC)
cbl2 kernel 5.15.173.1-2 on CBL-Mariner 2.05.15.176.3-1 · CBL-Mariner ReleasesMicrosoft (MSRC)
cbl2 kernel 5.15.176.3-1 on CBL Mariner 2.05.15.176.3-1 · CBL-Mariner ReleasesMicrosoft (MSRC)
debian:linux6.1.123-1 · Debian:12Package registry (OSV)
red hat:kernel-rt0:5.14.0-284.122.1.rt14.407.el9_2 · Red Hat:rhel_e4s:9.2::nfvPackage registry (OSV)
red hat:kernel-rt-core0:5.14.0-284.122.1.rt14.407.el9_2 · Red Hat:rhel_e4s:9.2::nfvPackage registry (OSV)
red hat:kernel-rt-debug0:5.14.0-284.122.1.rt14.407.el9_2 · Red Hat:rhel_e4s:9.2::nfvPackage registry (OSV)
red hat:kernel-rt-debug-core0:5.14.0-284.122.1.rt14.407.el9_2 · Red Hat:rhel_e4s:9.2::nfvPackage registry (OSV)
red hat:kernel-rt-debug-debuginfo0:5.14.0-284.122.1.rt14.407.el9_2 · Red Hat:rhel_e4s:9.2::nfvPackage registry (OSV)
red hat:kernel-rt-debug-devel0:5.14.0-284.122.1.rt14.407.el9_2 · Red Hat:rhel_e4s:9.2::nfvPackage registry (OSV)
red hat:kernel-rt-debug-kvm0:5.14.0-284.122.1.rt14.407.el9_2 · Red Hat:rhel_e4s:9.2::nfvPackage registry (OSV)
red hat:kernel-rt-debug-modules0:5.14.0-284.122.1.rt14.407.el9_2 · Red Hat:rhel_e4s:9.2::nfvPackage registry (OSV)
red hat:kernel-rt-debug-modules-core0:5.14.0-284.122.1.rt14.407.el9_2 · Red Hat:rhel_e4s:9.2::nfvPackage registry (OSV)
red hat:kernel-rt-debug-modules-extra0:5.14.0-284.122.1.rt14.407.el9_2 · Red Hat:rhel_e4s:9.2::nfvPackage registry (OSV)
red hat:kernel-rt-debuginfo0:5.14.0-284.122.1.rt14.407.el9_2 · Red Hat:rhel_e4s:9.2::nfvPackage registry (OSV)
red hat:kernel-rt-debuginfo-common-x86_640:5.14.0-284.122.1.rt14.407.el9_2 · Red Hat:rhel_e4s:9.2::nfvPackage registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

Weakness class (CWE)

CWE-787 · Out-of-bounds Write

CVSS vector

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

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

References

All records