CVE
CVE-2024-56651
CNA 原文 · 原文(英文)
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.
受影响版本
- 6.13-rc1仅此版本
- ≥ 6.7, < 6.12.5修复版本 6.12.5
- ≥ 6.2, < 6.6.66修复版本 6.6.66
- ≥ 6.0, < 6.1.120修复版本 6.1.120
- ≥ 5.19.2, < 5.20修复版本 5.20
- ≥ 5.18.18, < 5.19修复版本 5.19
- ≥ 5.15.61, < 5.16修复版本 5.16
- ≥ 5.10.137, < 5.11修复版本 5.11
- ≥ 5.4.211, < 5.5修复版本 5.5
- ≥ 4.19.256, < 4.20修复版本 4.20
- ≥ 4.14.291, < 4.15修复版本 4.15
发行版软件包(Debian、Ubuntu、Red Hat 等)会回移补丁而不改上游版本号,请同时查看所用发行版的安全公告。
公告与补丁
数据来源:NVD(公有领域)、CISA KEV(CC0)、FIRST EPSS、OSV.dev / GitHub Advisory Database(CC-BY 4.0) · 本库只列受影响版本与修复版本,不托管、不链接任何利用代码。