CVE-2024-56615: bpf: fix OOB devmap writes when deleting elements
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
- CWE
- CWE-787
Report tools
Action score
31
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.
Is your version affected? Check itNoroxi 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 helpAffected 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.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_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
Affected versions · NVD (7)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- linux linux kernel4.14 and later · before 5.4.287
- linux linux kernel5.5 and later · before 5.10.231
- linux linux kernel5.11 and later · before 5.15.174
- linux linux kernel5.16 and later · before 6.1.120
- linux linux kernel6.2 and later · before 6.6.66
- linux linux kernel6.7 and later · before 6.12.5
- linux linux kernel6.13
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | before 6.1.123-1 | 6.1.123-1 |
| Debian:13 | linux | before 6.12.5-1 | 6.12.5-1 |
| Red Hat:rhel_e4s:9.2::appstream | bpftool-debuginfo | before 0:7.0.0-284.122.1.el9_2 | 0:7.0.0-284.122.1.el9_2 |
| Red Hat:rhel_e4s:9.2::appstream | kernel-64k-debug-debuginfo | before 0:5.14.0-284.122.1.el9_2 | 0:5.14.0-284.122.1.el9_2 |
| Red Hat:rhel_e4s:9.2::appstream | kernel-64k-debug-devel | before 0:5.14.0-284.122.1.el9_2 | 0:5.14.0-284.122.1.el9_2 |
| Red Hat:rhel_e4s:9.2::appstream | kernel-64k-debug-devel-matched | before 0:5.14.0-284.122.1.el9_2 | 0:5.14.0-284.122.1.el9_2 |
| Red Hat:rhel_e4s:9.2::appstream | kernel-64k-debuginfo | before 0:5.14.0-284.122.1.el9_2 | 0:5.14.0-284.122.1.el9_2 |
| Red Hat:rhel_e4s:9.2::appstream | kernel-64k-devel | before 0:5.14.0-284.122.1.el9_2 | 0:5.14.0-284.122.1.el9_2 |
| Red Hat:rhel_e4s:9.2::appstream | kernel-64k-devel-matched | before 0:5.14.0-284.122.1.el9_2 | 0:5.14.0-284.122.1.el9_2 |
| Red Hat:rhel_e4s:9.2::appstream | kernel-debug-debuginfo | before 0:5.14.0-284.122.1.el9_2 | 0:5.14.0-284.122.1.el9_2 |
| Red Hat:rhel_e4s:9.2::appstream | kernel-debug-devel | before 0:5.14.0-284.122.1.el9_2 | 0:5.14.0-284.122.1.el9_2 |
| Red Hat:rhel_e4s:9.2::appstream | kernel-debug-devel-matched | before 0:5.14.0-284.122.1.el9_2 | 0:5.14.0-284.122.1.el9_2 |
| Red Hat:rhel_e4s:9.2::appstream | kernel-debuginfo | before 0:5.14.0-284.122.1.el9_2 | 0:5.14.0-284.122.1.el9_2 |
| Red Hat:rhel_e4s:9.2::appstream | kernel-debuginfo-common-aarch64 | before 0:5.14.0-284.122.1.el9_2 | 0:5.14.0-284.122.1.el9_2 |
| Red Hat:rhel_e4s:9.2::appstream | kernel-debuginfo-common-ppc64le | before 0:5.14.0-284.122.1.el9_2 | 0:5.14.0-284.122.1.el9_2 |
| Red Hat:rhel_e4s:9.2::appstream | kernel-debuginfo-common-s390x | before 0:5.14.0-284.122.1.el9_2 | 0:5.14.0-284.122.1.el9_2 |
| Red Hat:rhel_e4s:9.2::appstream | kernel-debuginfo-common-x86_64 | before 0:5.14.0-284.122.1.el9_2 | 0:5.14.0-284.122.1.el9_2 |
| Red Hat:rhel_e4s:9.2::appstream | kernel-devel | before 0:5.14.0-284.122.1.el9_2 | 0:5.14.0-284.122.1.el9_2 |
| Red Hat:rhel_e4s:9.2::appstream | kernel-devel-matched | before 0:5.14.0-284.122.1.el9_2 | 0:5.14.0-284.122.1.el9_2 |
| Red Hat:rhel_e4s:9.2::appstream | kernel-doc | before 0:5.14.0-284.122.1.el9_2 | 0:5.14.0-284.122.1.el9_2 |
| Red Hat:rhel_e4s:9.2::appstream | kernel-tools-debuginfo | before 0:5.14.0-284.122.1.el9_2 | 0:5.14.0-284.122.1.el9_2 |
| Red Hat:rhel_e4s:9.2::appstream | kernel-zfcpdump-debuginfo | before 0:5.14.0-284.122.1.el9_2 | 0:5.14.0-284.122.1.el9_2 |
| Red Hat:rhel_e4s:9.2::appstream | kernel-zfcpdump-devel | before 0:5.14.0-284.122.1.el9_2 | 0:5.14.0-284.122.1.el9_2 |
| Red Hat:rhel_e4s:9.2::appstream | kernel-zfcpdump-devel-matched | before 0:5.14.0-284.122.1.el9_2 | 0:5.14.0-284.122.1.el9_2 |
+96
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- 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…KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
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_state22Monitor
- ← EarlierCVE-2024-56614Dec 27, 2024 · xsk: fix OOB map writes when deleting elements31Monitor
- Later →CVE-2024-56616Dec 27, 2024 · drm/dp_mst: Fix MST sideband message body length check31Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 0f170e91d3063ca60baec4bd9f544faf3bfe29eb | Vendor (CNA) |
| Linux Linux | 178e31df1fb3d9e0890eb471da16709cbc82edee | Vendor (CNA) |
| Linux Linux | 70f3de869865f9c3da0508a5ea29f6f4c1889057 | Vendor (CNA) |
| Linux Linux | 8e858930695d3ebec423e85384c95427258c294f | Vendor (CNA) |
| Linux Linux | 98c03d05936d846073df8f550e9e8bf0dde1d77f | Vendor (CNA) |
| Linux Linux | ab244dd7cf4c291f82faacdc50b45cc0f55b674d | Vendor (CNA) |
| Linux Linux | ad34306ac6836e5dd096b7d0ad4aa20cb7c8d9e5 | Vendor (CNA) |
| azl3 kernel 6.6.64.2-9 on Azure Linux 3.0 | 6.6.76.1-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 kernel 6.6.76.1-1 on Azure Linux 3.0 | 6.6.76.1-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 kernel 5.15.173.1-2 on CBL Mariner 2.0 | 5.15.176.3-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 kernel 5.15.173.1-2 on CBL-Mariner 2.0 | 5.15.176.3-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 kernel 5.15.176.3-1 on CBL Mariner 2.0 | 5.15.176.3-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| debian:linux | 6.1.123-1 · Debian:12 | Package registry (OSV) |
| red hat:kernel-rt | 0:5.14.0-284.122.1.rt14.407.el9_2 · Red Hat:rhel_e4s:9.2::nfv | Package registry (OSV) |
| red hat:kernel-rt-core | 0:5.14.0-284.122.1.rt14.407.el9_2 · Red Hat:rhel_e4s:9.2::nfv | Package registry (OSV) |
| red hat:kernel-rt-debug | 0:5.14.0-284.122.1.rt14.407.el9_2 · Red Hat:rhel_e4s:9.2::nfv | Package registry (OSV) |
| red hat:kernel-rt-debug-core | 0:5.14.0-284.122.1.rt14.407.el9_2 · Red Hat:rhel_e4s:9.2::nfv | Package registry (OSV) |
| red hat:kernel-rt-debug-debuginfo | 0:5.14.0-284.122.1.rt14.407.el9_2 · Red Hat:rhel_e4s:9.2::nfv | Package registry (OSV) |
| red hat:kernel-rt-debug-devel | 0:5.14.0-284.122.1.rt14.407.el9_2 · Red Hat:rhel_e4s:9.2::nfv | Package registry (OSV) |
| red hat:kernel-rt-debug-kvm | 0:5.14.0-284.122.1.rt14.407.el9_2 · Red Hat:rhel_e4s:9.2::nfv | Package registry (OSV) |
| red hat:kernel-rt-debug-modules | 0:5.14.0-284.122.1.rt14.407.el9_2 · Red Hat:rhel_e4s:9.2::nfv | Package registry (OSV) |
| red hat:kernel-rt-debug-modules-core | 0:5.14.0-284.122.1.rt14.407.el9_2 · Red Hat:rhel_e4s:9.2::nfv | Package registry (OSV) |
| red hat:kernel-rt-debug-modules-extra | 0:5.14.0-284.122.1.rt14.407.el9_2 · Red Hat:rhel_e4s:9.2::nfv | Package registry (OSV) |
| red hat:kernel-rt-debuginfo | 0:5.14.0-284.122.1.rt14.407.el9_2 · Red Hat:rhel_e4s:9.2::nfv | Package registry (OSV) |
| red hat:kernel-rt-debuginfo-common-x86_64 | 0:5.14.0-284.122.1.rt14.407.el9_2 · Red Hat:rhel_e4s:9.2::nfv | Package 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 WriteCVSS 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.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (8 more)Show less
- git.kernel.org/stable/c/178e31df1fb3d9e0890eb471da16709cbc82edee
- git.kernel.org/stable/c/70f3de869865f9c3da0508a5ea29f6f4c1889057
- git.kernel.org/stable/c/8e858930695d3ebec423e85384c95427258c294f
- git.kernel.org/stable/c/98c03d05936d846073df8f550e9e8bf0dde1d77f
- git.kernel.org/stable/c/ab244dd7cf4c291f82faacdc50b45cc0f55b674d
- git.kernel.org/stable/c/ad34306ac6836e5dd096b7d0ad4aa20cb7c8d9e5
- lists.debian.org/debian-lts-announce/2025/03/msg00001.html
- lists.debian.org/debian-lts-announce/2025/03/msg00002.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.