Skip to main content
VulnerabilityPublished Updated

CVE-2024-56658: Linux kernel · net: defer final 'struct net' free in netns dismantle

Affects Linux kernelSource GCVE Database

0
Compare

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

CVSS 3.1 base score
7.8High
How severe the flaw is on the 0–10 CVSS scale.
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:H

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 12 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 24.04 LTSlinuxpkg:deb/ubuntu/linux?arch=source&distro=nobleOther threatsAffected
  • <6.8.0-57.59
Fixed in
  • 6.8.0-57.59
Ubuntu 24.04 LTSlinux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=nobleOther threatsAffected
  • <6.8.0-1026.28
Fixed in
  • 6.8.0-1026.28
Ubuntu 24.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=nobleOther threatsAffected
  • <6.8.0-1026.31
Fixed in
  • 6.8.0-1026.31
Ubuntu 24.04 LTSlinux-azure-6.11pkg:deb/ubuntu/linux-azure-6.11?arch=source&distro=nobleOther threatsAffected
  • <6.11.0-1012.12~24.04.1
Fixed in
  • 6.11.0-1012.12~24.04.1
Ubuntu 24.04 LTSlinux-azure-nvidiapkg:deb/ubuntu/linux-azure-nvidia?arch=source&distro=nobleOther threatsAffected
  • <6.8.0-1014.15
Fixed in
  • 6.8.0-1014.15
Ubuntu 24.04 LTSlinux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=nobleOther threatsAffected
  • <6.8.0-1027.29
Fixed in
  • 6.8.0-1027.29

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

Community reviews

Loading reviews…