{"id":"CVE-2024-56651","published":"2024-12-27T15:02:50Z","modified":"2026-08-05T11:45:48Z","title":"can: hi311x: hi3110_can_ist(): fix potential use-after-free","vendor":"Linux","product":"Linux","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00443,"percentile":0.30387,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://git.kernel.org/stable/c/4ad77eb8f2e07bcfa0e28887d3c7dbb732d92cc1","tags":[]},{"url":"https://git.kernel.org/stable/c/1128022009444faf49359bd406cd665b177cb643","tags":[]},{"url":"https://git.kernel.org/stable/c/bc30b2fe8c54694f8ae08a5b8a5d174d16d93075","tags":[]},{"url":"https://git.kernel.org/stable/c/9ad86d377ef4a19c75a9c639964879a5b25a433b","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","tags":[]}],"priority":{"score":12.2,"factors":[{"name":"EPSS percentile","points":6.08},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= a22bd630cfff496b270211745536e50e98eb3a45, < 4ad77eb8f2e07bcfa0e28887d3c7dbb732d92cc1",">= a22bd630cfff496b270211745536e50e98eb3a45, < 1128022009444faf49359bd406cd665b177cb643",">= a22bd630cfff496b270211745536e50e98eb3a45, < bc30b2fe8c54694f8ae08a5b8a5d174d16d93075",">= a22bd630cfff496b270211745536e50e98eb3a45, < 9ad86d377ef4a19c75a9c639964879a5b25a433b","303733fdab728d34708014b3096dc69ebae6e531","410054f1cf75378a6f009359e5952a240102a1a2","d20bf7e76136fd4c1e47502a1f5773f2290013ed","22e382d47de09e865a9214cc5c9f99256e65deaa","dcfcd5fc999b1eb7946de1fd031bc3aaf224c5ae","330b0ac34beec4fef8b002549af5bc6d0b6f0836"]},{"vendor":"Linux","product":"Linux","versions":["6.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-02-11T15:41:42.778830Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-53299","exploited":false,"provenance":"source"}}