bpf: Allow delete from sockmap/sockhash only if update is allowed
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA.
Summary
In the Linux kernel, the following vulnerability has been resolved: bpf: Allow delete from sockmap/sockhash only if update is allowed We have seen an influx of syzkaller reports where a BPF program attached to a tracepoint triggers a locking rule violation by performing a map_delete on a sockmap/sockhash. We don't intend to support this artificial use scenario. Extend the existing verifier allowed-program-type check for updating sockmap/sockhash to also cover deleting from a map. From now on only BPF programs which were previously allowed to update sockmap/sockhash can delete from these map types.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 5.10.215 to before 5.10.219; 5.15.154 to before 5.15.161; 6.1.85 to before 6.1.93; 6.6.26 to before 6.6.33; 5.4.274 to before 5.5; 6.8.5 to before 6.9 | 5.10.219, 5.15.161, 6.1.93, 6.6.33, 5.5, 6.9 | Patch available | CNA |
| Linux | Linux | 6.9 and later | 5.10.219, 5.15.161, 6.1.93, 6.6.33, 6.9.4, 6.10 | Patch available | CNA |
- Linux VendorLinux Affected 5.10.215 to before 5.10.219; 5.15.154 to before 5.15.161; 6.1.85 to before 6.1.93; 6.6.26 to before 6.6.33; 5.4.274 to before 5.5; 6.8.5 to before 6.9 Fixed in 5.10.219, 5.15.161, 6.1.93, 6.6.33, 5.5, 6.9 Patch available CNA
- Linux VendorLinux Affected 6.9 and later Fixed in 5.10.219, 5.15.161, 6.1.93, 6.6.33, 6.9.4, 6.10 Patch available CNA
Remediation
- Fix · CNA Linux (Linux) Fixed in 5.10.219, 5.15.161, 6.1.93, 6.6.33, 5.5, 6.9
- Fix · CNA Linux (Linux) Fixed in 5.10.219, 5.15.161, 6.1.93, 6.6.33, 6.9.4, 6.10
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
Not affected: 4 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2024-38662
- 2026-10-03 Alias added: GHSA-pj9w-f8jv-85cc
References
Patch 6
- https://git.kernel.org/stable/c/29467edc23818dc5a33042ffb4920b49b090e63d
- https://git.kernel.org/stable/c/11e8ecc5b86037fec43d07b1c162e233e131b1d9
- https://git.kernel.org/stable/c/6693b172f008846811f48a099f33effc26068e1e
- https://git.kernel.org/stable/c/000a65bf1dc04fb2b65e2abf116f0bc0fc2ee7b1
- https://git.kernel.org/stable/c/b81e1c5a3c70398cf76631ede63a03616ed1ba3c
- https://git.kernel.org/stable/c/98e948fb60d41447fd8d2d0c3b8637fc6b6dc26d
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2024-38662 · CVE Program
- CVE-2024-38662 · NVD
- FIRST EPSS
- GHSA-pj9w-f8jv-85cc · GitHub Advisory Database · CC BY 4.0
- CVE-2024-38662 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences