All reports
Medium

kernel: can: j1939: j1939_send_one(): fix missing CAN header initialization

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2022-49845

Probability of exploitation in the next 30 days: 0.22%

FIRST EPSS · 2026-11-21

Description

In the Linux kernel, the following vulnerability has been resolved: can: j1939: j1939_send_one(): fix missing CAN header initialization The read access to struct canxl_frame::len inside of a j1939 created skbuff revealed a missing initialization of reserved and later filled elements in struct can_frame. This patch initializes the 8 byte CAN header with zero.

A flaw was found in the Linux kernel's Controller Area Network (CAN) J1939 subsystem. A local attacker with permission to create J1939 sockets can cause a Denial of Service (DoS) and crash the system. This issue occurs in the j1939_send_one() function due to a missing initialization of CAN frame header fields when preparing network buffers. Accessing these uninitialized data elements during transmission leads to unexpected kernel behavior and instability.