Impact
The vulnerability is an out‑of‑bounds (OOB) heap read/write in the Linux kernel CAN gateway checksum routine cgw_csum_crc8_rel(). The routine incorrectly uses raw signed byte indices instead of precomputed, bounds‑checked values, allowing the loop and write to reference memory before the start of a canfd_frame. This can corrupt adjacent heap data, causing a crash or providing a foothold for arbitrary code execution. The weakness is catalogued as CWE‑125 (Out‑of‑Bounds Read) and CWE‑786 (Out‑of‑Bounds Write).
Affected Systems
Affected systems are Linux kernel versions 5.4 and the 7.0 release candidates from RC1 through RC7. The issue is present in the default kernel configuration that enables CAN gateway checksum verification and requires CAP_NET_ADMIN privileges to configure the CAN gateway checksums.
Risk and Exploitability
The CVSS score of 8.8 reflects a high‑risk vulnerability. The EPSS score of less than 1% indicates a very low probability of exploitation at the time of analysis, and the vulnerability is not listed in CISA's KEV catalog, implying no known public exploits. Based on the description, it is inferred that exploitation would likely require a user with CAP_NET_ADMIN privileges to configure the CAN gateway, or an attacker capable of injecting malicious CAN frames that trigger checksum calculation. The impact is limited to the local system, but the potential for arbitrary code execution is high if exploited. Upgrade to a patched kernel or mitigate through privilege restrictions is strongly recommended.
OpenCVE Enrichment
Debian DLA
Debian DSA