CVE-2024-56602 net: ieee802154: do not leave a dangling sk pointer in ieee802154_create()

High 7.0 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2024-56602?

CVE-2024-56602 is a high-severity vulnerability in Linux kernel, published on 27 Dec 2024.

Official description

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

net: ieee802154: do not leave a dangling sk pointer in ieee802154_create()

sock_init_data() attaches the allocated sk object to the provided sock object. If ieee802154_create() fails later, the allocated sk object is freed, but the dangling pointer remains in the provided sock object, which may allow use-after-free.

Clear the sk pointer in the sock object on error.

Weakness: CWE-416

Which versions are affected by CVE-2024-56602?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-56602?

Upgrade to a fixed version.

Is CVE-2024-56602 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as AZL-55545, AZL-55566, BELL-CVE-2024-56602, DEBIAN-CVE-2024-56602, GHSA-cqv3-q8h5-83r5, UBUNTU-CVE-2024-56602.

Is CVE-2024-56602 in your software?

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

Check your SBOMs for free