DEBIAN-CVE-2026-99673
- CVSS
- —
- EPSS
- —
- Published
- 2026-11-20
- Age
- 14d old
- Modified
- 2026-12-02
- Product
- Debian:13 linux
Description
In the Linux kernel, the following vulnerability has been resolved: can: replace ARPHRD_CAN type checks with can_get_ml_priv() Commit 4e096a18867a ("net: introduce CAN specific pointer in the struct net_device") introduced an explicit way to assign the midlayer private pointer (dev->ml_priv) to named users like ML_PRIV_CAN. A valid pointer returned by can_get_ml_priv() therefore identifies a real CAN device. The referenced commit only converted the j1939 and proc code to this check, while the other parts of the CAN subsystem still rely on dev->type == ARPHRD_CAN. The TUNSETLINK ioctl allows a down TUN/TAP device to set its hardware type to ARPHRD_CAN while dev->ml_priv remains NULL. Such a repurposed netdevice passes the ARPHRD_CAN checks. Commit 8aa59e355949 ("can: af_can: fix NULL pointer dereference in can_rx_register()") already made can_rx_register() reject such devices. But can_rx_unregister() still only checks dev->type and dereferences the NULL ml_priv when it walks the receive lists of the device. CAN_ISOTP reaches this path: isotp_bind() ignores the return values of can_rx_register() and binds the socket anyway. When the socket is released or the device is unregistered, i
Fixed in
6.12.118-1 · 6.12.118-1~deb12u1 · 7.3.5-1
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Debian:12 | linux-6.12 | >=0, <6.12.118-1~deb12u1 | 6.12.118-1~deb12u1 |
| Debian:13 | linux | >=0, <6.12.118-1 | 6.12.118-1 |
| Debian:14 | linux | >=0, <7.3.5-1 | 7.3.5-1 |
Sources
- OSV · first seen 13d ago · CC-BY 4.0