CVE-2024-38662

Medium

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.

Package Linux Kernel
Published 2024-06-21
Last modified 2026-05-12
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

4.7

out of 10
Medium
Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
Vector string
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N

Affected versions

Linux kernel versions 5.10.215, 5.15.154, 6.1.85, 6.6.26, 5.4.274, 6.8.5, 6.9 and later are affected. Fixed in 5.10.219, 5.15.161, 6.1.93, 6.6.33, 6.9.4, 6.10 and their respective stable series.

Affected from
≥ 5.10.215 ≥ 5.15.154 ≥ 6.1.85 ≥ 6.6.26 ≥ 5.4.274 ≥ 6.8.5 ≥ 6.9
Fixed in
✓ 5.10.219 5.10.x ✓ 5.15.161 5.15.x ✓ 6.1.93 6.1.x ✓ 6.6.33 6.6.x ✓ 6.9.4 6.9.x ✓ 6.10

Frequently asked questions

  • What is CVE-2024-38662?

    CVE-2024-38662 is a Medium severity Linux kernel vulnerability with a CVSS score of 4.7 out of 10 . It affects Linux kernel versions from 5.10.215 onward and has been patched in 5.10.219, 5.15.161, 6.1.93 and others. CVE-2024-38662 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • What is the CVSS score for CVE-2024-38662?

    CVE-2024-38662 has a CVSS score of 4.7 out of 10, rated Medium severity (CVSS 3.1). The vector string is CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N .

  • Is there a patch available for CVE-2024-38662?

    Yes. CVE-2024-38662 has been patched. Fixed versions include 5.10.219, 5.15.161, 6.1.93 and others. If you are running Linux kernel 5.10.215 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2024-38662 actively exploited?

    No. CVE-2024-38662 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.