{"id":"CVE-2024-56606","aliases":["CVE-2024-56606"],"related":[],"kind":"vulnerability","state":"published","title":"af_packet: avoid erroring out after sock_init_data() in packet_create()","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 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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 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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: af_packet: evitar errores después de sock_init_data() en packet_create() Después de sock_init_data(), el objeto sk asignado se adjunta al objeto sock proporcionado. En caso de error, packet_create() libera el objeto sk dejando el puntero colgando en el objeto sock al regresar. Es posible que algún otro código intente usar este puntero y provoque un error de use-after-free.","source":"nvd"}],"published":"2024-12-27T14:51:11.327Z","modified":"2026-10-15T01:19:17.313Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"b013840810c221f2b0cf641d01531526052dc1fb","fixed":"71b22837a5e55ac27d6a14b9cdf2326587405c4f","status":"affected"},{"type":"git","introduced":"b013840810c221f2b0cf641d01531526052dc1fb","fixed":"1dc1e1db927056cb323296e2294a855cd003dfe7","status":"affected"},{"type":"git","introduced":"b013840810c221f2b0cf641d01531526052dc1fb","fixed":"132e615bb1d7cdec2d3cfbdec2efa630e923fd21","status":"affected"},{"type":"git","introduced":"b013840810c221f2b0cf641d01531526052dc1fb","fixed":"a6cf750b737374454a4e03a5ed449a3eb0c96414","status":"affected"},{"type":"git","introduced":"b013840810c221f2b0cf641d01531526052dc1fb","fixed":"157f08db94123e2ba56877dd0ac88908b13a5dd0","status":"affected"},{"type":"git","introduced":"b013840810c221f2b0cf641d01531526052dc1fb","fixed":"fd09880b16d33aa5a7420578e01cd79148fa9829","status":"affected"},{"type":"git","introduced":"b013840810c221f2b0cf641d01531526052dc1fb","fixed":"46f2a11cb82b657fd15bab1c47821b635e03838b","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.14","status":"unaffected"},{"type":"semver","introduced":"5.4.287","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.231","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.174","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.120","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.66","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.5","lastAffected":"6.12.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.13","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"5.4.287"},{"status":"affected","introduced":"5.5","fixed":"5.10.231"},{"status":"affected","introduced":"5.11","fixed":"5.15.174"},{"status":"affected","introduced":"5.16","fixed":"6.1.120"},{"status":"affected","introduced":"6.2","fixed":"6.6.66"},{"status":"affected","introduced":"6.7","fixed":"6.12.5"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/71b22837a5e55ac27d6a14b9cdf2326587405c4f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1dc1e1db927056cb323296e2294a855cd003dfe7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/132e615bb1d7cdec2d3cfbdec2efa630e923fd21","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a6cf750b737374454a4e03a5ed449a3eb0c96414","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/157f08db94123e2ba56877dd0ac88908b13a5dd0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fd09880b16d33aa5a7420578e01cd79148fa9829","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/46f2a11cb82b657fd15bab1c47821b635e03838b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-355557.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-02-11T15:42:04.007Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-56606","url":"https://www.cve.org/CVERecord?id=CVE-2024-56606","licence":"CVE Terms of Use","modified":"2026-10-15T00:59:48.866Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-56606","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56606","licence":"Public domain","modified":"2026-10-15T01:19:17.313Z"}],"updatedAt":"2026-11-25T22:58:50.476Z","epss":{"score":0.0025,"percentile":0.17518,"date":"2026-12-01T12:00:22.000Z"}}