CVE-2024-56651CWE-416

CVE-2024-56651

High · published December 27, 2024

CVSS v3.1
8.8
EPSS
0%
Percentile
24.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00328 · 24.6th percentile
Weakness
CWE-416 · Use After Free
Published
2024-12-27T20:15Z
Affected products (11)
ProductVersionsFixed in
linux/linux_kernel≥ 4.14.291, < 4.154.15
linux/linux_kernel≥ 4.19.256, < 4.204.20
linux/linux_kernel≥ 5.4.211, < 5.55.5
linux/linux_kernel≥ 5.10.137, < 5.115.11
linux/linux_kernel≥ 5.15.61, < 5.165.16
linux/linux_kernel≥ 5.18.18, < 5.195.19
linux/linux_kernel≥ 5.19.2, < 5.205.20
linux/linux_kernel≥ 6.0, < 6.1.1206.1.120
linux/linux_kernel≥ 6.2, < 6.6.666.6.66
linux/linux_kernel≥ 6.7, < 6.12.56.12.5
linux/linux_kernelall versions—
References (5)
EPSS history
Timeline
  • 27 DEC 15:02Z
    can: hi311x: hi3110_can_ist(): fix potential use-after-free
    cvelistv5