Use After Free in Linux
CVE-2024-56651
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.
Vulnerability class: Use-After-Free
EPSS: 0.002 (14.3th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Linux — versions 410054f1cf75378a6f009359e5952a240102a1a2, 330b0ac34beec4fef8b002549af5bc6d0b6f0836, 303733fdab728d34708014b3096dc69ebae6e531
- Linux Linux_kernel — versions 6.13
Weakness classification (CWE)
Public proof-of-concept exploits
References
Frequently asked questions
- What is CVE-2024-56651?
- CVE-2024-56651 is a high-severity vulnerability in Linux, classified under Use After Free. CVSS score: 8.8/10. Published 2024-12-27.
- How severe is CVE-2024-56651?
- High severity. CVSS v3 base score is 8.8 out of 10.
- Is CVE-2024-56651 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.