2084AI Security Observatory

CVE

CVE-2024-56651

CVE-2024-56651HIGH 7.8EPSS 26%

CNA 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.

Affected versions

All Linux kernel vulnerabilities →

  • 6.13-rc1This version only
  • ≥ 6.7, < 6.12.5Fixed in 6.12.5
  • ≥ 6.2, < 6.6.66Fixed in 6.6.66
  • ≥ 6.0, < 6.1.120Fixed in 6.1.120
  • ≥ 5.19.2, < 5.20Fixed in 5.20
  • ≥ 5.18.18, < 5.19Fixed in 5.19
  • ≥ 5.15.61, < 5.16Fixed in 5.16
  • ≥ 5.10.137, < 5.11Fixed in 5.11
  • ≥ 5.4.211, < 5.5Fixed in 5.5
  • ≥ 4.19.256, < 4.20Fixed in 4.20
  • ≥ 4.14.291, < 4.15Fixed in 4.15

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Advisories and patches

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.