CVE-2024-56651 Details
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.
A use-after-free vulnerability has been identified in the Linux kernel's CAN hi311x driver. This issue arises because the driver reports error counts (txerr and rxerr) to the CAN frame after calling netif_rx(), creating a risk that the socket buffer (skb) may be freed or reused before the error information is processed. The vulnerability is present in the Linux kernel stable tree, specifically in versions 6.1.120 through 6.1.128.
Users can upgrade to the patched version of the Linux kernel included in the Debian LTS security update DLA-4076-1.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 11, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | [email protected] |
| CWE-416 | Use After Free | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 4.14.291, < 4.15 >= 4.19.256, < 4.20 >= 5.4.211, < 5.5 >= 5.10.137, < 5.11 >= 5.15.61, < 5.16 >= 5.18.18, < 5.19 >= 5.19.2, < 5.20 >= 6.0, < 6.1.120 >= 6.2, < 6.6.66 >= 6.7, < 6.12.5 6.13 rc1 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 4, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 3, 2025 | CVE Modified | CVE |
| Feb 11, 2025 | CVE Modified | CISA-ADP |
| Jan 6, 2025 | Initial Analysis | [email protected] |
| Dec 27, 2024 | New CVE Received | kernel.org |