CVE-2024-56600 net: inet6: do not leave a dangling sk pointer in inet6_create()

High 7.8 Published Updated

A use-after-free vulnerability in the Linux kernel's inet6_create function allows attackers to potentially execute code or escalate privileges.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-56600?

CVE-2024-56600 is a high-severity use after free vulnerability in Linux kernel, published on 27 Dec 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In the Linux kernel, the following vulnerability has been resolved:

net: inet6: do not leave a dangling sk pointer in inet6_create()

sock_init_data() attaches the allocated sk pointer to the provided sock object. If inet6_create() fails later, the sk object is released, but the sock object retains the dangling sk pointer, which may cause use-after-free later.

Clear the sock sk pointer on error.

Weakness: CWE-416

Which versions are affected by CVE-2024-56600?

It affects 1 product.

Linux distribution packages (6)
kernel-livepatch-SLE15-SP4_Update_29 SUSE:Linux Enterprise Live Patching 15 SP4All versions8-150400.2.1
kernel-livepatch-SLE15-SP4_Update_31 SUSE:Linux Enterprise Live Patching 15 SP4All versions6-150400.2.1
kernel-livepatch-SLE15-SP5_Update_17 SUSE:Linux Enterprise Live Patching 15 SP5All versions8-150500.2.1
kernel-livepatch-SLE15-SP5_Update_19 SUSE:Linux Enterprise Live Patching 15 SP5All versions6-150500.2.1
kernel-livepatch-SLE15-SP6-RT_Update_1 SUSE:Linux Enterprise Live Patching 15 SP6All versions12-150600.2.1
kernel-livepatch-SLE15-SP6_Update_6 SUSE:Linux Enterprise Live Patching 15 SP6All versions4-150600.2.1

Products include Linux kernel.

How do I fix CVE-2024-56600?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2024-56600 being exploited?

There is no known exploitation of CVE-2024-56600 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as AZL-55491, AZL-55576, BELL-CVE-2024-56600, DEBIAN-CVE-2024-56600, GHSA-qc69-73cr-g9fg, SUSE-SU-2025:1214-1 and 3 more.

Is CVE-2024-56600 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free