CVE-2024-56602
net: ieee802154: do not leave a dangling sk pointer in ieee802154_create()
Reported by linux · Published December 27, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-rt-debug-kvm | errata.rockylinux.org | 4.18.0-553.157.1.rt7.498.el8 |
| kernel-core | errata.rockylinux.org | 4.18.0-553.157.1.el8 |
| kernel-rt-debug-debuginfo | errata.rockylinux.org | 4.18.0-553.157.1.rt7.498.el8 |
| kernel-tools | errata.rockylinux.org | 4.18.0-553.157.1.el8 |
| perf | errata.rockylinux.org | 4.18.0-553.157.1.el8 |
| kernel-doc | errata.rockylinux.org | 4.18.0-553.157.1.el8 |
| kernel-debug-debuginfo | errata.rockylinux.org | 4.18.0-553.157.1.el8 |
| kernel-rt-devel | errata.rockylinux.org | 4.18.0-553.157.1.rt7.498.el8 |
| kernel-abi-stablelists | errata.rockylinux.org | 4.18.0-553.157.1.el8 |
| kernel-modules | errata.rockylinux.org | 4.18.0-553.157.1.el8 |
| python3-perf-debuginfo | errata.rockylinux.org | 4.18.0-553.157.1.el8 |
| kernel-tools-libs | errata.rockylinux.org | 4.18.0-553.157.1.el8 |
16 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 9ec7671603573ede31207eb5b0b3e1aa211b2854, 9ec7671603573ede31207eb5b0b3e1aa211b2854, 9ec7671603573ede31207eb5b0b3e1aa211b2854 |
| Linux | Linux | 2.6.31, 0, 5.4.287 |
| linux | linux_kernel | 2.6.31, 2.6.31, 2.6.31 |
| Linux | Linux | 9ec7671603573ede31207eb5b0b3e1aa211b2854, 9ec7671603573ede31207eb5b0b3e1aa211b2854, 9ec7671603573ede31207eb5b0b3e1aa211b2854 |
Timeline
- Dec 27, 2024 CVE Published
- Dec 28, 2024 EPSS Score (30 in total, the first dated here)
- Mar 12, 2025 Coalition ESS Score (4 in total, the first dated here)
- Dec 16, 2025 PoC Published
- Dec 29, 2025 Security Advisory (438 in total, the first dated here)
- Apr 29, 2026 Distribution Patch (358 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-56602
vulnetix vdb fixes CVE-2024-56602
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-56602/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart