CVE-2024-56651

HIGH

Linux Kernel 4.14.291-4.14.292 - Use-After-Free in CAN hi311x Driver

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: can: hi311x: hi3110_can_ist(): fix potential use-after-free The commit a22bd630cfff ("can: hi311x: do not report txerr and rxerr during bus-off") removed the reporting of rxerr and txerr even in case of correct operation (i. e. not bus-off). The error count information added to the CAN frame after netif_rx() is a potential use after free, since there is no guarantee that the skb is in the same state. It might be freed or reused. Fix the issue by postponing the netif_rx() call in case of txerr and rxerr reporting.

Scores

CVSS v3 7.8
EPSS 0.0023
EPSS Percentile 13.5%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-416
Status published
Products (26)
Linux/Linux < 6.0
Linux/Linux 22e382d47de09e865a9214cc5c9f99256e65deaa
Linux/Linux 303733fdab728d34708014b3096dc69ebae6e531
Linux/Linux 330b0ac34beec4fef8b002549af5bc6d0b6f0836
Linux/Linux 4.14.291 - 4.15
Linux/Linux 4.19.256 - 4.20
Linux/Linux 410054f1cf75378a6f009359e5952a240102a1a2
Linux/Linux 5.10.137 - 5.11
Linux/Linux 5.15.61 - 5.16
Linux/Linux 5.18.18 - 5.19
... and 16 more
Published Dec 27, 2024
Tracked Since Feb 18, 2026