CVE-2026-99673Linux
NVD
Vulnerability Summary
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().
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().
Affected & Patched Versions
- Linux >= 1a5751d58b14195f763b8c1d9ef33fb8a93e95e7 and < e7f686bf1dd85c2c128591052268df897d514fd2
- Linux >= 4e096a18867a5a989b510f6999d9c6b6622e8f7b and < 7678720471f4e1812c2a2d8ac81a6b8b0518d647
- Linux >= 4e096a18867a5a989b510f6999d9c6b6622e8f7b and < 34a6f32b778f8fb3c2b8e3e4bf1db7aefc4d53fc
- Linux >= 4e096a18867a5a989b510f6999d9c6b6622e8f7b and < de3e876a2081b7fe051ffdff6a6703ee77ec2599
- Linux >= 4e096a18867a5a989b510f6999d9c6b6622e8f7b and < c693cbfbc2ad5ab159c671c58f285aa3d4d8a98b
- Linux >= 4e096a18867a5a989b510f6999d9c6b6622e8f7b and < f4910431fdf7b2800f0bec9f161900511f9a8bcd
- Linux >= 4e096a18867a5a989b510f6999d9c6b6622e8f7b and < 27edc672a80ae9d5e7e8aa0cc8f5e3ed2b5dab19
- Linux >= 4e096a18867a5a989b510f6999d9c6b6622e8f7b and < 962947b69589881167054bae5accc8abfd5aa4b6
- Linux 4ac1feff6ea6495cbfd336f4438a6c6d140544a6
- Linux 96340078d50a54f6a1252c62596bc44321c8bff9
- Linux >= 5.10.28 and < 5.10.275
- Linux >= 5.4.110 and < 5.5
- Linux >= 5.11.12 and < 5.12
- Linux 5.12
- Linux e7f686bf1dd85c2c128591052268df897d514fd2
- Linux 7678720471f4e1812c2a2d8ac81a6b8b0518d647
- Linux 34a6f32b778f8fb3c2b8e3e4bf1db7aefc4d53fc
- Linux de3e876a2081b7fe051ffdff6a6703ee77ec2599
- Linux c693cbfbc2ad5ab159c671c58f285aa3d4d8a98b
- Linux f4910431fdf7b2800f0bec9f161900511f9a8bcd
- Linux 27edc672a80ae9d5e7e8aa0cc8f5e3ed2b5dab19
- Linux 962947b69589881167054bae5accc8abfd5aa4b6
- Linux 5.10.275
- Linux 5.5
- Linux 5.12
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run Linux and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 20, 2026Published
- Nov 23, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Linux CVEsYou are reading CVE-2026-99673. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Referencehttps://git.kernel.org/stable/c/27edc672a80ae9d5e7e8aa0cc8f5e3ed2b5dab19
- Referencehttps://git.kernel.org/stable/c/34a6f32b778f8fb3c2b8e3e4bf1db7aefc4d53fc
- Referencehttps://git.kernel.org/stable/c/7678720471f4e1812c2a2d8ac81a6b8b0518d647
- Referencehttps://git.kernel.org/stable/c/962947b69589881167054bae5accc8abfd5aa4b6
- Referencehttps://git.kernel.org/stable/c/c693cbfbc2ad5ab159c671c58f285aa3d4d8a98b
- Referencehttps://git.kernel.org/stable/c/de3e876a2081b7fe051ffdff6a6703ee77ec2599
- Referencehttps://git.kernel.org/stable/c/e7f686bf1dd85c2c128591052268df897d514fd2
- Referencehttps://git.kernel.org/stable/c/f4910431fdf7b2800f0bec9f161900511f9a8bcd
Data last checked: Nov 24, 2026 07:07 UTC