CVE
CVE-2024-56602
CNA 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.
Affected versions
All Linux kernel vulnerabilities →
- ≥ 6.7, < 6.12.5Fixed in 6.12.5
- ≥ 6.2, < 6.6.66Fixed in 6.6.66
- ≥ 5.16, < 6.1.120Fixed in 6.1.120
- ≥ 5.11, < 5.15.174Fixed in 5.15.174
- ≥ 5.5, < 5.10.231Fixed in 5.10.231
- < 5.4.287Fixed in 5.4.287
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/03caa9bfb9fde97fb53d33decd7364514e6825cb · Patch
- git.kernel.org/stable/c/14959fd7538b3be6d7617d9e60e404d6a8d4fd1f · Patch
- git.kernel.org/stable/c/1d5fe782c0ff068d80933f9cfd0fd39d5434bbc9 · Patch
- git.kernel.org/stable/c/2b46994a6e76c8cc5556772932b9b60d03a55cd8 · Patch
- git.kernel.org/stable/c/b4982fbf13042e3bb33e04eddfea8b1506b5ea65 · Patch
- git.kernel.org/stable/c/b4fcd63f6ef79c73cafae8cf4a114def5fc3d80d · Patch
- git.kernel.org/stable/c/e8bd6c5f5dc2234b4ea714380aedeea12a781754 · Patch
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.