CVE-2024-56658: Linux kernel · net: defer final 'struct net' free in netns dismantle
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 7.8 High · fixed in 3.13.0-205.256 : patch Linux kernel soon.
Data as of 12 Nov 2026, 19:11 UTC
- Patch
- Available – fixed in 3.13.0-205.256, 4.4.0-1142.148, 4.15.0-1187.202~14.04.1 +104
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 12 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
- ubuntu.com/security/notices/USN-7322-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7323-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7323-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7380-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7381-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7402-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7403-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7402-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7406-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7407-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7406-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7406-2 (opens in a new tab)
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlinuxpkg:deb/ubuntu/linux?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azure-6.11pkg:deb/ubuntu/linux-azure-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azure-nvidiapkg:deb/ubuntu/linux-azure-nvidia?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available and has been released in multiple Linux kernel versions including 3.13.0-205.256, 4.4.0-1142.148, and others. Users and administrators should update their Linux kernel to one of the fixed versions as soon as possible. After updating, a system reboot is required to apply the changes. Additionally, recompilation and reinstallation of third-party kernel modules may be necessary due to ABI changes. No other specific mitigations are indicated by the vendor advisory.
Description
CVE-2024-56658 is a use-after-free vulnerability in the Linux kernel's networking subsystem related to the deferred freeing of the 'struct net' during network namespace dismantling. The flaw occurs because the net structure might be freed before all destination callbacks are invoked, leading to a slab-use-after-free in dst_destroy. This issue was fixed by deferring the freeing of 'struct net' until after additional cleanup rounds. The vulnerability affects multiple Linux kernel versions and has been addressed in several patched releases.
References
- ubuntu.com/security/CVE-2024-56658 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-56658 (opens in a new tab)
- git.kernel.org/linus/0f6ede9fbc747e2553612271bce108f7517e7a45 (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)
- ubuntu.com/security/notices/USN-7322-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7323-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7323-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7380-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7381-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7402-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7403-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7402-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7406-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7407-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7406-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7406-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7408-1 (opens in a new tab)