All reports
Medium

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

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2024-56600

Probability of exploitation in the next 30 days: 0.25%

FIRST EPSS · 2026-11-21

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.

A flaw was found in the Linux kernel's IPv6 networking component. When creating a network socket, an error during initialization can leave an invalid reference to memory that has already been released. A local user could exploit this use-after-free flaw to cause a denial of service (DoS) through a system crash or potentially escalate privileges on the system.