{"id":"CVE-2024-56602","summary":"net: ieee802154: do not leave a dangling sk pointer in ieee802154_create()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: ieee802154: do not leave a dangling sk pointer in ieee802154_create()\n\nsock_init_data() attaches the allocated sk object to the provided sock\nobject. If ieee802154_create() fails later, the allocated sk object is\nfreed, but the dangling pointer remains in the provided sock object, which\nmay allow use-after-free.\n\nClear the sk pointer in the sock object on error.","modified":"2026-04-16T04:35:24.159719822Z","published":"2024-12-27T14:51:08.174Z","related":["SUSE-SU-2025:0289-1","SUSE-SU-2025:0428-1","SUSE-SU-2025:0499-1","SUSE-SU-2025:0555-1","SUSE-SU-2025:0556-1","SUSE-SU-2025:0557-1","SUSE-SU-2025:0576-1","SUSE-SU-2025:0577-1","SUSE-SU-2025:0577-2","SUSE-SU-2025:20165-1","SUSE-SU-2025:20166-1","SUSE-SU-2025:20248-1","SUSE-SU-2025:20249-1","USN-7379-2","USN-7380-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56602.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/03caa9bfb9fde97fb53d33decd7364514e6825cb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/14959fd7538b3be6d7617d9e60e404d6a8d4fd1f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1d5fe782c0ff068d80933f9cfd0fd39d5434bbc9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2b46994a6e76c8cc5556772932b9b60d03a55cd8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b4982fbf13042e3bb33e04eddfea8b1506b5ea65"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b4fcd63f6ef79c73cafae8cf4a114def5fc3d80d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e8bd6c5f5dc2234b4ea714380aedeea12a781754"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56602.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56602"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"9ec7671603573ede31207eb5b0b3e1aa211b2854"},{"fixed":"1d5fe782c0ff068d80933f9cfd0fd39d5434bbc9"},{"fixed":"14959fd7538b3be6d7617d9e60e404d6a8d4fd1f"},{"fixed":"2b46994a6e76c8cc5556772932b9b60d03a55cd8"},{"fixed":"e8bd6c5f5dc2234b4ea714380aedeea12a781754"},{"fixed":"b4982fbf13042e3bb33e04eddfea8b1506b5ea65"},{"fixed":"03caa9bfb9fde97fb53d33decd7364514e6825cb"},{"fixed":"b4fcd63f6ef79c73cafae8cf4a114def5fc3d80d"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-56602.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}