CVE-2024-56651
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.
How to fix
- linux linux_kernel4.15, 4.20, 5.5, 5.11, 5.16, 5.19, 5.20, 6.1.120, 6.6.66, 6.12.5 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| linux linux_kernel | 4.14.291 ≤ v < 4.15, 4.19.256 ≤ v < 4.20, 5.4.211 ≤ v < 5.5, 5.10.137 ≤ v < 5.11, 5.15.61 ≤ v < 5.16, 5.18.18 ≤ v < 5.19, 5.19.2 ≤ v < 5.20, 6.0 ≤ v < 6.1.120, 6.2 ≤ v < 6.6.66, 6.7 ≤ v < 6.12.5, 6.13 | 4.15, 4.20, 5.5, 5.11, 5.16, 5.19, 5.20, 6.1.120, 6.6.66, 6.12.5 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.