Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-38662

MEDIUM 4.7EPSS 14%

bpf: Allow delete from sockmap/sockhash only if update is allowed

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= dd54b48db0c822ae7b520bc80751f0a0a173ef75, < 29467edc23818dc5a33042ffb4920b49b090e63d; >= d1e73fb19a4c872d7a399ad3c66e8ca30e0875ec, < 11e8ecc5b86037fec43d07b1c162e233e131b1d9; >= a44770fed86515eedb5a7c00b787f847ebb134a5, < 6693b172f008846811f48a099f33effc26068e1e; >= 668b3074aa14829e2ac2759799537a93b60fef86, < 000a65bf1dc04fb2b65e2abf116f0bc0fc2ee7b1; >= ff91059932401894e6c86341915615c5eb0eca48, < b81e1c5a3c70398cf76631ede63a03616ed1ba3c; >= ff91059932401894e6c86341915615c5eb0eca48, < 98e948fb60d41447fd8d2d0c3b8637fc6b6dc26d; f7990498b05ac41f7d6a190dc0418ef1d21bf058; 6af057ccdd8e7619960aca1f0428339f213b31cd; >= 5.10.215, < 5.10.219; >= 5.15.154, < 5.15.161; …
  • Anyone running Linux 6.9

Vulnerability facts

Affected
Linux >= dd54b48db0c822ae7b520bc80751f0a0a173ef75, < 29467edc23818dc5a33042ffb4920b49b090e63d; >= d1e73fb19a4c872d7a399ad3c66e8ca30e0875ec, < 11e8ecc5b86037fec43d07b1c162e233e131b1d9; >= a44770fed86515eedb5a7c00b787f847ebb134a5, < 6693b172f008846811f48a099f33effc26068e1e; >= 668b3074aa14829e2ac2759799537a93b60fef86, < 000a65bf1dc04fb2b65e2abf116f0bc0fc2ee7b1; >= ff91059932401894e6c86341915615c5eb0eca48, < b81e1c5a3c70398cf76631ede63a03616ed1ba3c; >= ff91059932401894e6c86341915615c5eb0eca48, < 98e948fb60d41447fd8d2d0c3b8637fc6b6dc26d; f7990498b05ac41f7d6a190dc0418ef1d21bf058; 6af057ccdd8e7619960aca1f0428339f213b31cd; >= 5.10.215, < 5.10.219; >= 5.15.154, < 5.15.161; …; Linux 6.9
Fixed in
Linux 29467edc23818dc5a33042ffb4920b49b090e63d, Linux 11e8ecc5b86037fec43d07b1c162e233e131b1d9, Linux 6693b172f008846811f48a099f33effc26068e1e, Linux 000a65bf1dc04fb2b65e2abf116f0bc0fc2ee7b1, Linux 98e948fb60d41447fd8d2d0c3b8637fc6b6dc26d, Linux 5.10.219, Linux 5.15.161
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
4.7 (v3.1, NVD)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: High
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: High
  • Availability impact: None
EPSS
0.29% chance of exploitation in 30 days (percentile 14, 2026-11-26)
Published
Modified

Description

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= dd54b48db0c822ae7b520bc80751f0a0a173ef75, < 29467edc23818dc5a33042ffb4920b49b090e63d; >= d1e73fb19a4c872d7a399ad3c66e8ca30e0875ec, < 11e8ecc5b86037fec43d07b1c162e233e131b1d9; >= a44770fed86515eedb5a7c00b787f847ebb134a5, < 6693b172f008846811f48a099f33effc26068e1e; >= 668b3074aa14829e2ac2759799537a93b60fef86, < 000a65bf1dc04fb2b65e2abf116f0bc0fc2ee7b1; >= ff91059932401894e6c86341915615c5eb0eca48, < b81e1c5a3c70398cf76631ede63a03616ed1ba3c; >= ff91059932401894e6c86341915615c5eb0eca48, < 98e948fb60d41447fd8d2d0c3b8637fc6b6dc26d; f7990498b05ac41f7d6a190dc0418ef1d21bf058; 6af057ccdd8e7619960aca1f0428339f213b31cd; >= 5.10.215, < 5.10.219; >= 5.15.154, < 5.15.161; …—cvelist
Linux6.9—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-38662. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-38662.md
Affected: Linux >= dd54b48db0c822ae7b520bc80751f0a0a173ef75, < 29467edc23818dc5a33042ffb4920b49b090e63d; >= d1e73fb19a4c872d7a399ad3c66e8ca30e0875ec, < 11e8ecc5b86037fec43d07b1c162e233e131b1d9; >= a44770fed86515eedb5a7c00b787f847ebb134a5, < 6693b172f008846811f48a099f33effc26068e1e; >= 668b3074aa14829e2ac2759…
Fixed in: Linux 29467edc23818dc5a33042ffb4920b49b090e63d, Linux 11e8ecc5b86037fec43d07b1c162e233e131b1d9, Linux 6693b172f008846811f48a099f33effc26068e1e, Linux 000a65bf1dc04fb2b65e2abf116f0bc0fc2ee7b1, Linux 98e948fb60d41447fd8d2d0c3b8637fc6b6dc26d, Linux 5.10.219, Linux 5.15.161

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-38662 being exploited?

There is no confirmed exploitation: CVE-2024-38662 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-38662?

Medium: CVSS 4.7 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2024-38662?

Linux >= dd54b48db0c822ae7b520bc80751f0a0a173ef75, < 29467edc23818dc5a33042ffb4920b49b090e63d; >= d1e73fb19a4c872d7a399ad3c66e8ca30e0875ec, < 11e8ecc5b86037fec43d07b1c162e233e131b1d9; >= a44770fed86515eedb5a7c00b787f847ebb134a5, < 6693b172f008846811f48a099f33effc26068e1e; >= 668b3074aa14829e2ac2759799537a93b60fef86, < 000a65bf1dc04fb2b65e2abf116f0bc0fc2ee7b1; >= ff91059932401894e6c86341915615c5eb0eca48, < b81e1c5a3c70398cf76631ede63a03616ed1ba3c; >= ff91059932401894e6c86341915615c5eb0eca48, < 98e948fb60d41447fd8d2d0c3b8637fc6b6dc26d; f7990498b05ac41f7d6a190dc0418ef1d21bf058; 6af057ccdd8e7619960aca1f0428339f213b31cd; >= 5.10.215, < 5.10.219; >= 5.15.154, < 5.15.161; …; Linux 6.9.

Is there a fix for CVE-2024-38662?

Yes. Fixed in Linux 29467edc23818dc5a33042ffb4920b49b090e63d, Linux 11e8ecc5b86037fec43d07b1c162e233e131b1d9, Linux 6693b172f008846811f48a099f33effc26068e1e, Linux 000a65bf1dc04fb2b65e2abf116f0bc0fc2ee7b1, Linux 98e948fb60d41447fd8d2d0c3b8637fc6b6dc26d, Linux 5.10.219, Linux 5.15.161. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2024-38662?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors