# CVE-2026-99673: can: replace ARPHRD\_CAN type checks with can\_get\_ml\_priv()

- Priority: **Routine**
- Reason: Not severe (CVSS 6.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-20 · Modified: 2026-11-23
- Aliases: DEBIAN-CVE-2026-99673, UBUNTU-CVE-2026-99673, CGA-369m-p9fw-jwvv, CGA-56g9-h3qh-cfcm, CGA-77hc-j2xq-qrxw, CGA-8c9h-fw7j-jgpg, CGA-8hpq-24j8-wgpf, CGA-8x97-wm6f-mx7h, CGA-9f9j-7mgq-4x3m, CGA-jm8g-4rrx-39mm, CGA-r679-xj63-8r2g, CGA-rvq9-crxr-48pj, CGA-2qfw-9x42-wgx4, CGA-39qp-m75h-75mv, CGA-4gwq-c93h-vx6v, CGA-4qgc-rgc5-389v, CGA-638c-vfvf-p4gx, CGA-8394-9mf5-jgcf, CGA-cx52-9g8w-xq58, CGA-42v8-wr7q-2pgc, CGA-wj76-r7mg-4w2h
- Record: https://cvemate.com/vulnerability/CVE-2026-99673 · JSON: https://cvemate.com/vulnerability/CVE-2026-99673/json

## Description

```text
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, isotp_release() and
isotp_notify() remove the filters that have never been registered and
trigger the NULL pointer dereference in can_rx_unregister(). This only
requires owning a TUN/TAP device or CAP_NET_ADMIN in an unprivileged
user namespace.

Convert the remaining ARPHRD_CAN checks in af_can, bcm, gw, isotp and
raw to can_get_ml_priv().
```

## Signals

- CVSS: 6.8 medium (v4.0, OSV · Ubuntu) CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- EPSS: 0.211%, percentile 11.935%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 178)

- chainguard linux-desktop-7.2 (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-modules (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2 (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-modules (Chainguard): All versions (No fix recorded)
- debian linux (Debian): All versions (No fix recorded) \| \< 6.12.118-1 \| \< 7.3.5-1
- debian linux-6.12 (Debian): \< 6.12.118-1~deb12u1
- ubuntu linux (Ubuntu): All versions (No fix recorded)
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)

## References

- <https://git.kernel.org/stable/c/c693cbfbc2ad5ab159c671c58f285aa3d4d8a98b>
- <https://git.kernel.org/stable/c/f4910431fdf7b2800f0bec9f161900511f9a8bcd>
- <https://git.kernel.org/stable/c/27edc672a80ae9d5e7e8aa0cc8f5e3ed2b5dab19>
- <https://git.kernel.org/stable/c/962947b69589881167054bae5accc8abfd5aa4b6>
- <https://security-tracker.debian.org/tracker/CVE-2026-99673>
- <https://git.kernel.org/stable/c/e7f686bf1dd85c2c128591052268df897d514fd2>
- <https://git.kernel.org/stable/c/7678720471f4e1812c2a2d8ac81a6b8b0518d647>
- <https://git.kernel.org/stable/c/34a6f32b778f8fb3c2b8e3e4bf1db7aefc4d53fc>
- <https://git.kernel.org/stable/c/de3e876a2081b7fe051ffdff6a6703ee77ec2599>
- <https://ubuntu.com/security/CVE-2026-99673>
- <https://www.cve.org/CVERecord?id=CVE-2026-99673>
- <https://git.kernel.org/linus/962947b69589881167054bae5accc8abfd5aa4b6>

---

Data as of 2026-12-05T14:03:52.146Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
