can: isotp: sanitize CAN ID checks in isotp_bind()
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: isotp: sanitize CAN ID checks in isotp_bind()
Syzbot created an environment that lead to a state machine status that can not be reached with a compliant CAN ID address configuration. The provided address information consisted of CAN ID 0x6000001 and 0xC28001 which both boil down to 11 bit CAN IDs 0x001 in sending and receiving.
Sanitize the SFF/EFF CAN ID values before performing the address checks.
From the CVE record · Linux
The Linux kernel's CAN ISO-TP binding does not sanitize CAN IDs before checking addresses. An attacker who can supply the described CAN IDs to isotp_bind() can cause a state-machine status that compliant CAN ID configurations cannot reach. The input does not specify whether this requires local access, authentication, or user interaction.
Engineers running Linux kernels with CAN ISO-TP support should check their installations; affected versions are not specified.