# CVE-2024-56651: can: hi311x: hi3110\_can\_ist(): fix potential use-after-free

- Priority: **Routine**
- Reason: Not severe (CVSS 8.8, adjacent network); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-12-27 · Modified: 2026-08-05
- Aliases: UBUNTU-CVE-2024-56651, DEBIAN-CVE-2024-56651
- Record: https://cvemate.com/vulnerability/CVE-2024-56651 · JSON: https://cvemate.com/vulnerability/CVE-2024-56651/json

## Description

```text
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.
```

## Signals

- CVSS: 8.8 high (v3.1, CVE.org) CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.328%, percentile 27.861%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 138)

- debian linux (Debian): \< 6.1.123-1 \| \< 6.12.5-1
- ubuntu linux (Ubuntu): \< 4.15.0-237.249 \| \< 5.4.0-214.234 \| \< 5.15.0-138.148 \| \< 6.8.0-58.60
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 4.15.0-1180.193 \| \< 5.4.0-1144.154 \| \< 5.15.0-1082.89 \| \< 6.8.0-1027.29
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1082.89~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1144.154~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1027.29~22.04.1
- ubuntu linux-aws-fips (Ubuntu): \< 4.15.0-2118.124 \| \< 5.4.0-1144.155+fips1 \| All versions (No fix recorded) \| \< 5.15.0-1082.89+fips1
- ubuntu linux-aws-hwe (Ubuntu): \< 4.15.0-1180.193~16.04.1
- ubuntu linux-azure (Ubuntu): \< 4.15.0-1188.203~14.04.1 \| \< 4.15.0-1188.203~16.04.1 \| All versions (No fix recorded) \| \< 5.4.0-1149.156 \| \< 5.15.0-1087.96 \| \< 6.8.0-1027.32
- ubuntu linux-azure-4.15 (Ubuntu): \< 4.15.0-1188.203
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 45)

- <https://git.kernel.org/stable/c/4ad77eb8f2e07bcfa0e28887d3c7dbb732d92cc1>
- <https://git.kernel.org/stable/c/1128022009444faf49359bd406cd665b177cb643>
- <https://git.kernel.org/stable/c/bc30b2fe8c54694f8ae08a5b8a5d174d16d93075>
- <https://git.kernel.org/stable/c/9ad86d377ef4a19c75a9c639964879a5b25a433b>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>
- <https://ubuntu.com/security/CVE-2024-56651>
- <https://www.cve.org/CVERecord?id=CVE-2024-56651>
- <https://git.kernel.org/linus/9ad86d377ef4a19c75a9c639964879a5b25a433b>
- <https://ubuntu.com/security/notices/USN-7379-1>
- <https://ubuntu.com/security/notices/USN-7380-1>
- <https://ubuntu.com/security/notices/USN-7381-1>
- <https://ubuntu.com/security/notices/USN-7382-1>
- <https://ubuntu.com/security/notices/USN-7379-2>
- <https://ubuntu.com/security/notices/USN-7449-1>
- <https://ubuntu.com/security/notices/USN-7450-1>
- <https://ubuntu.com/security/notices/USN-7451-1>
- <https://ubuntu.com/security/notices/USN-7452-1>
- <https://ubuntu.com/security/notices/USN-7453-1>
- <https://ubuntu.com/security/notices/USN-7455-1>
- <https://ubuntu.com/security/notices/USN-7455-2>

---

Data as of 2026-12-05T06:51:46.619Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
