CVE-2024-56592: Linux kernel · bpf: Call free_htab_elem() after htab_unlock_bucket()
Affects Linux kernelSource GCVE Database
Not known to be exploited.
Data as of 30 Oct 2026, 14:33 UTC
Rated Medium by Threat Radar's AI analysis · No CVSS score from NVD or the CNA
Thin evidence
One scorer or noneExploitation 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 30 Oct 2026.
What to do
AI-suggested
A fix for this issue has been implemented in the Linux kernel by deferring the invocation of free_htab_elem() and related functions until after releasing the bucket lock. Users should apply the official Linux kernel updates that include this fix. Patch status is not explicitly stated in the provided data; therefore, users should consult the vendor advisory or Linux kernel mailing lists for the exact fixed versions and apply those updates accordingly.
Description
CVE-2024-56592 is a Linux kernel vulnerability involving improper lock handling in the BPF subsystem's hash table (htab) map implementation. The issue arises because free_htab_elem() is called while holding a bucket lock, leading to lockdep warnings due to lock order violations. The fix involves deferring the invocation of free_htab_elem() and related functions until after the bucket lock is released to avoid deadlocks and invalid wait contexts.
References
- git.kernel.org/stable/c/5b6a49b87cc73153a3ea5ae3f64b980386059dca (opens in a new tab)
- git.kernel.org/stable/c/10e8a2dec9ff1b81de8e892b0850924038adbc6d (opens in a new tab)
- git.kernel.org/stable/c/a50b4aa3007e63a590d501341f304676ebc74b3b (opens in a new tab)
- git.kernel.org/stable/c/b9e9ed90b10c82a4e9d4d70a2890f06bfcdd3b78 (opens in a new tab)