Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-56651

HIGH 8.8EPSS 30%

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

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= a22bd630cfff496b270211745536e50e98eb3a45, < 4ad77eb8f2e07bcfa0e28887d3c7dbb732d92cc1; >= a22bd630cfff496b270211745536e50e98eb3a45, < 1128022009444faf49359bd406cd665b177cb643; >= a22bd630cfff496b270211745536e50e98eb3a45, < bc30b2fe8c54694f8ae08a5b8a5d174d16d93075; >= a22bd630cfff496b270211745536e50e98eb3a45, < 9ad86d377ef4a19c75a9c639964879a5b25a433b; 303733fdab728d34708014b3096dc69ebae6e531; 410054f1cf75378a6f009359e5952a240102a1a2; d20bf7e76136fd4c1e47502a1f5773f2290013ed; 22e382d47de09e865a9214cc5c9f99256e65deaa; dcfcd5fc999b1eb7946de1fd031bc3aaf224c5ae; 330b0ac34beec4fef8b002549af5bc6d0b6f0836; …
  • Anyone running Linux 6.0

Vulnerability facts

Affected
Linux >= a22bd630cfff496b270211745536e50e98eb3a45, < 4ad77eb8f2e07bcfa0e28887d3c7dbb732d92cc1; >= a22bd630cfff496b270211745536e50e98eb3a45, < 1128022009444faf49359bd406cd665b177cb643; >= a22bd630cfff496b270211745536e50e98eb3a45, < bc30b2fe8c54694f8ae08a5b8a5d174d16d93075; >= a22bd630cfff496b270211745536e50e98eb3a45, < 9ad86d377ef4a19c75a9c639964879a5b25a433b; 303733fdab728d34708014b3096dc69ebae6e531; 410054f1cf75378a6f009359e5952a240102a1a2; d20bf7e76136fd4c1e47502a1f5773f2290013ed; 22e382d47de09e865a9214cc5c9f99256e65deaa; dcfcd5fc999b1eb7946de1fd031bc3aaf224c5ae; 330b0ac34beec4fef8b002549af5bc6d0b6f0836; …; Linux 6.0
Fixed in
Linux 4ad77eb8f2e07bcfa0e28887d3c7dbb732d92cc1, Linux 1128022009444faf49359bd406cd665b177cb643, Linux 9ad86d377ef4a19c75a9c639964879a5b25a433b
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
8.8 (v3.1, CNA)CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Adjacent network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.44% chance of exploitation in 30 days (percentile 30, 2026-11-26)
CWE
CWE-416
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= a22bd630cfff496b270211745536e50e98eb3a45, < 4ad77eb8f2e07bcfa0e28887d3c7dbb732d92cc1; >= a22bd630cfff496b270211745536e50e98eb3a45, < 1128022009444faf49359bd406cd665b177cb643; >= a22bd630cfff496b270211745536e50e98eb3a45, < bc30b2fe8c54694f8ae08a5b8a5d174d16d93075; >= a22bd630cfff496b270211745536e50e98eb3a45, < 9ad86d377ef4a19c75a9c639964879a5b25a433b; 303733fdab728d34708014b3096dc69ebae6e531; 410054f1cf75378a6f009359e5952a240102a1a2; d20bf7e76136fd4c1e47502a1f5773f2290013ed; 22e382d47de09e865a9214cc5c9f99256e65deaa; dcfcd5fc999b1eb7946de1fd031bc3aaf224c5ae; 330b0ac34beec4fef8b002549af5bc6d0b6f0836; …—cvelist
Linux6.0—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-56651. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-56651.md
Affected: Linux >= a22bd630cfff496b270211745536e50e98eb3a45, < 4ad77eb8f2e07bcfa0e28887d3c7dbb732d92cc1; >= a22bd630cfff496b270211745536e50e98eb3a45, < 1128022009444faf49359bd406cd665b177cb643; >= a22bd630cfff496b270211745536e50e98eb3a45, < bc30b2fe8c54694f8ae08a5b8a5d174d16d93075; >= a22bd630cfff496b2702117…
Fixed in: Linux 4ad77eb8f2e07bcfa0e28887d3c7dbb732d92cc1, Linux 1128022009444faf49359bd406cd665b177cb643, Linux 9ad86d377ef4a19c75a9c639964879a5b25a433b

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-56651 being exploited?

There is no confirmed exploitation: CVE-2024-56651 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.44% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-56651?

High: CVSS 8.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2024-56651?

Linux >= a22bd630cfff496b270211745536e50e98eb3a45, < 4ad77eb8f2e07bcfa0e28887d3c7dbb732d92cc1; >= a22bd630cfff496b270211745536e50e98eb3a45, < 1128022009444faf49359bd406cd665b177cb643; >= a22bd630cfff496b270211745536e50e98eb3a45, < bc30b2fe8c54694f8ae08a5b8a5d174d16d93075; >= a22bd630cfff496b270211745536e50e98eb3a45, < 9ad86d377ef4a19c75a9c639964879a5b25a433b; 303733fdab728d34708014b3096dc69ebae6e531; 410054f1cf75378a6f009359e5952a240102a1a2; d20bf7e76136fd4c1e47502a1f5773f2290013ed; 22e382d47de09e865a9214cc5c9f99256e65deaa; dcfcd5fc999b1eb7946de1fd031bc3aaf224c5ae; 330b0ac34beec4fef8b002549af5bc6d0b6f0836; …; Linux 6.0.

Is there a fix for CVE-2024-56651?

Yes. Fixed in Linux 4ad77eb8f2e07bcfa0e28887d3c7dbb732d92cc1, Linux 1128022009444faf49359bd406cd665b177cb643, Linux 9ad86d377ef4a19c75a9c639964879a5b25a433b. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2024-56651?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors