CVE-2024-56658: Linux kernel · Use After Free
Source GCVE Database
Not known to be exploited · CVSS 7.8 High.
Data as of 30 Oct 2026, 00:52 UTC
CVSS:3.1/AV:L/AC:L/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 has been implemented in the Linux kernel to defer the freeing of the 'struct net' until after an additional cleanup round and RCU barrier. Users should update to the latest kernel versions containing this fix once available. No other mitigation actions are indicated by the vendor advisory.
Description
CVE-2024-56658 is a use-after-free vulnerability in the Linux kernel's network namespace dismantling process. The flaw occurs because the 'struct net' is freed prematurely before all destination callbacks are executed, leading to a slab-use-after-free in dst_destroy. This can cause memory corruption and potentially allow an attacker with local privileges to compromise system integrity. The issue was reported by Ilya and affects the xfrm4 and xfrm6 network initialization code paths.
References
- nvd.nist.gov/vuln/detail/CVE-2024-56658 (opens in a new tab)
- git.kernel.org/stable/c/0f6ede9fbc747e2553612271bce108f7517e7a45 (opens in a new tab)
- git.kernel.org/stable/c/3267b254dc0a04dfa362a2be24573cfa6d2d78f5 (opens in a new tab)
- git.kernel.org/stable/c/6610c7f8a8d47fd1123eed55ba8c11c2444d8842 (opens in a new tab)
- git.kernel.org/stable/c/b7a79e51297f7b82adb687086f5cb2da446f1e40 (opens in a new tab)
- git.kernel.org/stable/c/c261dcd61c9e88a8f1a66654354d32295a975230 (opens in a new tab)
- git.kernel.org/stable/c/dac465986a4a38cd2f13e934f562b6ca344e5720 (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)