can: bcm: validate frame length in bcm_rx_setup() for RTR replies
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ ffd980f976e7fd666c2e61bf8ab35107efd11828 · < deb6a697cce3f021e731df543597f37a5e54caab| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
can: bcm: validate frame length in bcm_rx_setup() for RTR replies
bcm_tx_setup() validates cf->len against the CAN/CAN FD DLC limits before installing frames for TX_SETUP, but bcm_rx_setup() never did the same for the RTR-reply frame configured via RX_SETUP with RX_RTR_FRAME.
From the CVE record · Linux
In the Linux kernel, bcm_rx_setup() does not validate the frame length of an RTR reply configured through RX_SETUP with RX_RTR_FRAME. A user able to configure that reply can supply a length without the CAN/CAN FD DLC check used by bcm_tx_setup(). The input does not specify a further impact or whether authentication is required.
Operators running the Linux kernel should check their kernel version against the vendor advisory; affected versions were not provided.