{"id":"CVE-2024-56601","title":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: inet: do not leave a dangling sk pointer in inet_create()\n\nsock_init_data() attaches the allocated sk object to the provided sock\nobject","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: inet: do not leave a dangling sk pointer in inet_create()\n\nsock_init_data() attaches the allocated sk object to the provided sock\nobject. If inet_create() fails la…","severity":"high","cvss":7.8,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-416"],"vendor":"linux","product":"linux_kernel","affected":["linux_kernel < 5.4.287","linux_kernel >= 5.5, < 5.10.231","linux_kernel >= 5.11, < 5.15.174","linux_kernel >= 5.16, < 6.1.120","linux_kernel >= 6.2, < 6.6.66","linux_kernel >= 6.7, < 6.12.5"],"patched":["linux_kernel 6.12.5"],"published":"2024-12-27","updated":"2026-10-15","sourceUpdated":"2026-10-15T01:19:17.067","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2024-56601","references":[{"url":"https://git.kernel.org/stable/c/25447c6aaa7235f155292b0c58a067347e8ae891","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/2bc34d8c8898ae9fddf4612501aabb22d76c2b2c","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/3e8258070b0f2aba66b3ef18883de229674fb288","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/691d6d816f93b2a1008c14178399061466e674ef","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/9365fa510c6f82e3aa550a09d0c5c6b44dbc78ff","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/b4513cfd3a10c03c660d5d3d26c2e322efbfdd9b","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/f8a3f255f7509a209292871715cda03779640c8d","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-355557.html","label":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","label":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e"}],"tags":["nvd","cve.org"],"epss":0.0025,"epssPercentile":0.1626,"ingestedAt":"2026-10-15T03:30:12.773Z","ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-02-11T15:42:25.967090Z"},"slug":"CVE-2024-56601","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nnet: inet: do not leave a dangling sk pointer in inet_create()\n\nsock_init_data() attaches the allocated sk object to the provided sock\nobject. If inet_create() fails later, the sk object is freed, but the\nsock object retains the dangling pointer, which may create use-after-free\nlater.\n\nClear the sk pointer in the sock object on error.\n\n## Affected\n\n- `linux_kernel < 5.4.287`\n- `linux_kernel >= 5.5, < 5.10.231`\n- `linux_kernel >= 5.11, < 5.15.174`\n- `linux_kernel >= 5.16, < 6.1.120`\n- `linux_kernel >= 6.2, < 6.6.66`\n- `linux_kernel >= 6.7, < 6.12.5`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `linux_kernel 6.12.5`","depth":"twilight","depthScore":43,"depthScoreParts":{"impact":42.9,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}