Skip to main content
VulnerabilityPublished Updated

CVE-2024-56592: Linux kernel · bpf: Call free_htab_elem() after htab_unlock_bucket()

Affects Linux kernelSource GCVE Database

0
Compare

Not known to be exploited.

Data as of 30 Oct 2026, 14:33 UTC

Severity
Medium

Rated Medium by Threat Radar's AI analysis · No CVSS score from NVD or the CNA

Thin evidence

One scorer or none

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 27 Dec 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

Community reviews

Loading reviews…