CVE-2024-56651: Linux Kernel - Use After Free
- Cve: CVE-2024-56651
- Name: Linux Kernel - Use After Free
- 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.
- Impact: Potential for memory corruption or system instability when exploited by crafted CAN frames.
- Remediation: Apply the latest patches fixing the use-after-free issue in the hi311x CAN driver.
- Vulnerability type: use_after_free
- Vulnerability impact: out_of_bounds_rw
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00328
- Epss percentile: 0.26098
- Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- Published at: 2024-12-27T15:15:24Z
- Age in days: 697
- Modified at: 2026-08-04T11:22:17Z
- Patch available: yes
- References total: 5
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-56651
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-416 | Use After Free |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| linux:linux_kernel | = 6.13 rc1; >= 6.7, < 6.12.5; >= 6.2, < 6.6.66; >= 6.0, < 6.1.120; >= 5.19.2, < 5.20; >= 5.18.18, < 5.19; >= 5.15.61, < 5.16; >= 5.10.137, < 5.11; >= 5.4.211, < 5.5; >= 4.19.256, < 4.20; >= 4.14.291, < 4.15 | no | nvd | /v1/products/linux/linux_kernel |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| torvalds/linux | cna_commit, commit | yes | /v1/repositories/torvalds/linux |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Exposed hosts: 10038339
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports