{"id":"CVE-2024-56603","aliases":["CVE-2024-56603"],"related":[],"kind":"vulnerability","state":"published","title":"net: af_can: do not leave a dangling sk pointer in can_create()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: af_can: do not leave a dangling sk pointer in can_create()\n\nOn error can_create() frees the allocated sk object, but sock_init_data()\nhas already attached it to the provided sock object. This will leave a\ndangling sk pointer in the sock object and may cause use-after-free later.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: af_can: do not leave a dangling sk pointer in can_create()\n\nOn error can_create() frees the allocated sk object, but sock_init_data()\nhas already attached it to the provided sock object. This will leave a\ndangling sk pointer in the sock object and may cause use-after-free later.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net: af_can: no deje un puntero sk colgando en can_create() En caso de error, can_create() libera el objeto sk asignado, pero sock_init_data() ya lo ha adjuntado al objeto sock proporcionado. Esto dejará un puntero sk colgando en el objeto sock y puede provocar un uso posterior a la liberación más adelante.","source":"nvd"}],"published":"2024-12-27T14:51:08.923Z","modified":"2026-08-05T11:45:23.876Z","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":"0d66548a10cbbe0ef256852d63d30603f0f73f9b","fixed":"884ae8bcee749be43a071d6ed2d89058dbd2425c","status":"affected"},{"type":"git","introduced":"0d66548a10cbbe0ef256852d63d30603f0f73f9b","fixed":"ce39b5576785bb3e66591145aad03d66bc3e778d","status":"affected"},{"type":"git","introduced":"0d66548a10cbbe0ef256852d63d30603f0f73f9b","fixed":"1fe625f12d090d69f3f084990c7e4c1ff94bfe5f","status":"affected"},{"type":"git","introduced":"0d66548a10cbbe0ef256852d63d30603f0f73f9b","fixed":"5947c9ac08f0771ea8ed64186b0d52e9029cb6c0","status":"affected"},{"type":"git","introduced":"0d66548a10cbbe0ef256852d63d30603f0f73f9b","fixed":"db207d19adbac96058685f6257720906ad41d215","status":"affected"},{"type":"git","introduced":"0d66548a10cbbe0ef256852d63d30603f0f73f9b","fixed":"8df832e6b945e1ba61467d7f1c9305e314ae92fe","status":"affected"},{"type":"git","introduced":"0d66548a10cbbe0ef256852d63d30603f0f73f9b","fixed":"811a7ca7320c062e15d0f5b171fe6ad8592d1434","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.25","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.25","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/884ae8bcee749be43a071d6ed2d89058dbd2425c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ce39b5576785bb3e66591145aad03d66bc3e778d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1fe625f12d090d69f3f084990c7e4c1ff94bfe5f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5947c9ac08f0771ea8ed64186b0d52e9029cb6c0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/db207d19adbac96058685f6257720906ad41d215","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8df832e6b945e1ba61467d7f1c9305e314ae92fe","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/811a7ca7320c062e15d0f5b171fe6ad8592d1434","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"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-02-11T15:42:16.822Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-56603","url":"https://www.cve.org/CVERecord?id=CVE-2024-56603","licence":"CVE Terms of Use","modified":"2026-08-05T11:45:23.876Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-56603","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56603","licence":"Public domain","modified":"2026-06-17T08:12:31.440Z"}],"updatedAt":"2026-11-25T22:58:50.475Z","epss":{"score":0.00238,"percentile":0.15848,"date":"2026-12-01T12:00:22.000Z"}}