{"id":"CVE-2024-56606","title":"In the Linux kernel, the following vulnerability has been resolved:\n\naf_packet: avoid erroring out after sock_init_data() in packet_create()\n\nAfter sock_init_data() the allocated sk object is attached to the provided\nsock object","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\naf_packet: avoid erroring out after sock_init_data() in packet_create()\n\nAfter sock_init_data() the allocated sk object is attached to the provided\nsock object. On erro…","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.313","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2024-56606","references":[{"url":"https://git.kernel.org/stable/c/132e615bb1d7cdec2d3cfbdec2efa630e923fd21","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/157f08db94123e2ba56877dd0ac88908b13a5dd0","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/1dc1e1db927056cb323296e2294a855cd003dfe7","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/46f2a11cb82b657fd15bab1c47821b635e03838b","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/71b22837a5e55ac27d6a14b9cdf2326587405c4f","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/a6cf750b737374454a4e03a5ed449a3eb0c96414","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/fd09880b16d33aa5a7420578e01cd79148fa9829","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.774Z","ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-02-11T15:42:04.007778Z"},"slug":"CVE-2024-56606","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\naf_packet: avoid erroring out after sock_init_data() in packet_create()\n\nAfter sock_init_data() the allocated sk object is attached to the provided\nsock object. On error, packet_create() frees the sk object leaving the\ndangling pointer in the sock object on return. Some other code may try\nto use this pointer and cause use-after-free.\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":[]}