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.
Security readout for executives and security teams
Plain-English summary
CVE-2024-56651 is a Linux kernel flaw in the HI311x CAN driver. A local user could potentially trigger a use-after-free condition, which may allow system compromise or denial of service on affected systems. Risk is mainly for Linux devices that use this CAN driver, often in embedded or operational environments.
Executive priority
Treat this as high priority for Linux fleets that include CAN-connected devices or embedded systems. It is less urgent for general servers without the HI311x CAN driver, but affected operational devices should be patched through normal maintenance windows.
Technical view
The flaw is in hi3110_can_ist() in the Linux kernel CAN HI311x driver. Error count data was added to an skb after netif_rx(), but the skb may already have been freed or reused. The fix postpones netif_rx() for txerr and rxerr reporting paths.
Likely exposure
Exposure is limited to affected Linux kernels where the HI311x CAN driver is present and reachable. The CVSS vector is local with low privileges required, so this is not described by the sources as a remote network vulnerability.
Exploitation context
The source bundle does not cite active exploitation, and KEV status is false. The CVSS score is 7.8 because successful exploitation could affect confidentiality, integrity, and availability, but evidence provided only supports local attack context.
Researcher notes
The core bug is skb lifetime misuse after netif_rx(). Source evidence identifies the resolution direction but does not provide public exploit evidence. Version data in the bundle is branch and commit oriented, so validation should rely on vendor kernel package mapping.
Mitigation direction
Apply Linux kernel updates containing the referenced stable fixes.
Check distribution or device vendor advisories for fixed package versions.
Prioritize embedded, industrial, or operational systems using CAN interfaces.
Backport the kernel fix if running an unsupported affected branch.
Disable unused HI311x CAN support only after operational review.
Validation and detection
Inventory Linux kernel versions across systems using CAN interfaces.
Confirm whether the HI311x CAN driver is built, loaded, or required.
Compare deployed kernels against vendor fixed versions or stable commits.
Review distro advisories, including Debian LTS, for package status.
Retest affected devices after kernel update or backport.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-416: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
2ADP providers
6Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-416 · source CWE mapping
Use After Free
Use After Free represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.