CVE-2024-56664: Linux kernel · Race Condition
Source GCVE Database
Not known to be exploited · CVSS 7.0 High.
Data as of 30 Oct 2026, 00:52 UTC
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 27 Dec 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
AI-suggested
A fix for this vulnerability is available and should be applied by updating the Linux kernel to a version that includes the corrected __sock_map_delete() implementation. Since this is a kernel-level issue, patching the kernel is the recommended remediation. No alternative mitigations are indicated in the advisory.
Description
CVE-2024-56664 is a race condition vulnerability in the Linux kernel's BPF sockmap implementation. It occurs due to a race between replacing an element in the sockmap and closing the associated socket, leading to improper reference counting and potential use-after-free errors. This flaw has been fixed by correcting the __sock_map_delete() function to avoid unreferencing replaced elements incorrectly.
References
- nvd.nist.gov/vuln/detail/CVE-2024-56664 (opens in a new tab)
- git.kernel.org/stable/c/6deb9e85dc9a2ba4414b91c1b5b00b8415910890 (opens in a new tab)
- git.kernel.org/stable/c/b015f19fedd2e12283a8450dd0aefce49ec57015 (opens in a new tab)
- git.kernel.org/stable/c/b79a0d1e9a374d1b376933a354c4fcd01fce0365 (opens in a new tab)
- git.kernel.org/stable/c/bf2318e288f636a882eea39f7e1015623629f168 (opens in a new tab)
- git.kernel.org/stable/c/ed1fc5d76b81a4d681211333c026202cad4d5649 (opens in a new tab)
- git.kernel.org/stable/c/fdb2cd8957ac51f84c9e742ba866087944bb834b (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00001.html (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/05/msg00030.html (opens in a new tab)