{"id":"CVE-2024-56651","aliases":["CVE-2024-56651"],"related":[],"kind":"vulnerability","state":"published","title":"can: hi311x: hi3110_can_ist(): fix potential use-after-free","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ncan: hi311x: hi3110_can_ist(): fix potential use-after-free\n\nThe commit a22bd630cfff (\"can: hi311x: do not report txerr and rxerr\nduring bus-off\") removed the reporting of rxerr and txerr even in case\nof correct operation (i. e. not bus-off).\n\nThe error count information added to the CAN frame after netif_rx() is\na potential use after free, since there is no guarantee that the skb\nis in the same state. It might be freed or reused.\n\nFix the issue by postponing the netif_rx() call in case of txerr and\nrxerr reporting.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncan: hi311x: hi3110_can_ist(): fix potential use-after-free\n\nThe commit a22bd630cfff (\"can: hi311x: do not report txerr and rxerr\nduring bus-off\") removed the reporting of rxerr and txerr even in case\nof correct operation (i. e. not bus-off).\n\nThe error count information added to the CAN frame after netif_rx() is\na potential use after free, since there is no guarantee that the skb\nis in the same state. It might be freed or reused.\n\nFix the issue by postponing the netif_rx() call in case of txerr and\nrxerr reporting.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: can: hi311x: hi3110_can_ist(): corrige un posible use-after-free el commit a22bd630cfff (\"can: hi311x: no informar txerr y rxerr durante el apagado del bus\") eliminó el informe de rxerr y txerr incluso en caso de funcionamiento correcto (es decir, sin apagado del bus). La información del recuento de errores agregada al marco CAN después de netif_rx() es un posible use-after-free, ya que no hay garantía de que el skb esté en el mismo estado. Podría liberarse o reutilizarse. Corrija el problema posponiendo la llamada a netif_rx() en caso de informes de txerr y rxerr.","source":"nvd"}],"published":"2024-12-27T15:02:50.759Z","modified":"2026-08-05T11:45:48.882Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.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":"a22bd630cfff496b270211745536e50e98eb3a45","fixed":"4ad77eb8f2e07bcfa0e28887d3c7dbb732d92cc1","status":"affected"},{"type":"git","introduced":"a22bd630cfff496b270211745536e50e98eb3a45","fixed":"1128022009444faf49359bd406cd665b177cb643","status":"affected"},{"type":"git","introduced":"a22bd630cfff496b270211745536e50e98eb3a45","fixed":"bc30b2fe8c54694f8ae08a5b8a5d174d16d93075","status":"affected"},{"type":"git","introduced":"a22bd630cfff496b270211745536e50e98eb3a45","fixed":"9ad86d377ef4a19c75a9c639964879a5b25a433b","status":"affected"},{"type":"git","version":"303733fdab728d34708014b3096dc69ebae6e531","status":"affected"},{"type":"git","version":"410054f1cf75378a6f009359e5952a240102a1a2","status":"affected"},{"type":"git","version":"d20bf7e76136fd4c1e47502a1f5773f2290013ed","status":"affected"},{"type":"git","version":"22e382d47de09e865a9214cc5c9f99256e65deaa","status":"affected"},{"type":"git","version":"dcfcd5fc999b1eb7946de1fd031bc3aaf224c5ae","status":"affected"},{"type":"git","version":"330b0ac34beec4fef8b002549af5bc6d0b6f0836","status":"affected"},{"type":"git","version":"f3d865a6b791abbc874739ed702ae64ad2607511","status":"affected"},{"type":"semver","introduced":"4.14.291","fixed":"4.15","status":"affected"},{"type":"semver","introduced":"4.19.256","fixed":"4.20","status":"affected"},{"type":"semver","introduced":"5.4.211","fixed":"5.5","status":"affected"},{"type":"semver","introduced":"5.10.137","fixed":"5.11","status":"affected"},{"type":"semver","introduced":"5.15.61","fixed":"5.16","status":"affected"},{"type":"semver","introduced":"5.18.18","fixed":"5.19","status":"affected"},{"type":"semver","introduced":"5.19.2","fixed":"5.20","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.0","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","introduced":"4.14.291","fixed":"4.15"},{"status":"affected","introduced":"4.19.256","fixed":"4.20"},{"status":"affected","introduced":"5.4.211","fixed":"5.5"},{"status":"affected","introduced":"5.10.137","fixed":"5.11"},{"status":"affected","introduced":"5.15.61","fixed":"5.16"},{"status":"affected","introduced":"5.18.18","fixed":"5.19"},{"status":"affected","introduced":"5.19.2","fixed":"5.20"},{"status":"affected","introduced":"6.0","fixed":"6.1.120"},{"status":"affected","introduced":"6.2","fixed":"6.6.66"},{"status":"affected","introduced":"6.7","fixed":"6.12.5"},{"status":"affected","version":"6.13"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/4ad77eb8f2e07bcfa0e28887d3c7dbb732d92cc1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1128022009444faf49359bd406cd665b177cb643","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bc30b2fe8c54694f8ae08a5b8a5d174d16d93075","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9ad86d377ef4a19c75a9c639964879a5b25a433b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-02-11T15:41:42.778Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-56651","url":"https://www.cve.org/CVERecord?id=CVE-2024-56651","licence":"CVE Terms of Use","modified":"2026-08-05T11:45:48.882Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-56651","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56651","licence":"Public domain","modified":"2026-08-04T11:22:17.520Z"}],"updatedAt":"2026-11-25T22:58:50.503Z","epss":{"score":0.00328,"percentile":0.27892,"date":"2026-12-01T12:00:22.000Z"}}