LiveActive security incident?Get immediate response
CVE Record

CVE-2024-56651: can: hi311x: hi3110_can_ist(): fix potential use-after-free

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.

HighCVSS 7.8Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

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.
Prepared
Confidence
medium
Sources
7

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.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2024-56651 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

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.

ScoreVersionSeverityVectorExploitImpactSource
7.8CVSS 3.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H1.85.9CISA-ADP

Vulnerability scoring details

Base CVSS 3.1 score

7.8High
CVSS 3.1 vector shape for CVE-2024-56651Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
cvssV3_1other:ssvc
CVECVE Program Container
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinuxa22bd630cfff496b270211745536e50e98eb3a45, a22bd630cfff496b270211745536e50e98eb3a45, a22bd630cfff496b270211745536e50e98eb3a45, a22bd630cfff496b270211745536e50e98eb3a45, 303733fdab728d34708014b3096dc69ebae6e531, 410054f1cf75378a6f009359e5952a240102a1a2, d20bf7e76136fd4c1e47502a1f5773f2290013ed, 22e382d47de09e865a9214cc5c9f99256e65deaa, dcfcd5fc999b1eb7946de1fd031bc3aaf224c5ae, 330b0ac34beec4fef8b002549af5bc6d0b6f0836, f3d865a6b791abbc874739ed702ae64ad2607511, 4.14.291, 4.19.256, 5.4.211, 5.10.137, 5.15.61, 5.18.18, 5.19.2unaffected
LinuxLinux6.0, 0, 6.1.120, 6.6.66, 6.12.5, 6.13affected
Weakness

CWE details

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.