can: j1939: j1939_send_one(): fix missing CAN header initialization
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s CAN J1939 send path leaves parts of a CAN frame header uninitialized. A read of the frame length in a J1939-created buffer can access that uninitialized data. The input does not specify an attack path, authentication requirements, or user interaction.
Engineers running Linux kernels that use CAN J1939 should check their installations; affected versions are not specified.