Skip to content
DayZeroHub
High Not yet writtenCVSS 7.8CVE-2026-99672

CVE-2026-99672: can: protect the receive lists with a per-device lock

Linux Linux

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-99672: high-severity vulnerability (CVSS 7.8) in Linux Linux.

What happened

Original description from the source: In the Linux kernel, the following vulnerability has been resolved: can: protect the receive lists with a per-device lock The receive lists of a CAN device are located in the device's can_ml_priv and travel with the device when it is moved to another network namespace. But they are protected by the per-netns rcvlists_lock. So can_rx_unregister() needs dev_net(dev) to pick the right lock and silently returns when the passed namespace does not match dev_net(dev) anymore. isotp_release() and bcm_release() leave their notifier list before they take any lock that serializes against the netdev notifier, which runs under RTNL. When the bound device is moved to another namespace in this window, the notifier skips the socket and the release path has to remove the filters itself. isotp_release() passes the socket's namespace, which does not match dev_net(dev) anymore. bcm_rx_unreg() passes dev_net(dev), which can_rx_unregister() reads again for its check, so a namespace change between both reads makes the check fail as well. In both cases can_rx_unregister() silently returns. As can_rx_register() stores rcv->sk without a reference, the remaining receivers point to the freed socket (isotp) or the freed op (bcm): BUG: KASAN: use-after-free in isotp_rcv+0x1570/0x24d0 Read of size 1 at addr ffff888118130552 by task isotp_ns_uaf/578 can_rcv_filter+0x4af/0x8c0 can_receive+0x28d/0x3c0 can_rcv+0x2a9/0x310 __netif_receive_skb_one_core+0x21a/0x260 process_backlog+0x210/0x760 Besides this, the lists of a device are protected by the rcvlists_lock of the namespace that is passed in. Callers which pass dev_net(dev) read it at different times, so the same lists may be modified under the locks of…

Why it matters

High severity, CVSS 7.8.

Affected products and versions

Linux Linux >= 8e8cda6d737d356054c9eeef642aec0e8ae7e6bc, < c91b7a021f4c407198bcc0da44125e8a1649ad41; Linux Linux >= 8e8cda6d737d356054c9eeef642aec0e8ae7e6bc, < dbf57b99e1fc43679d3e3ba6aacb1a9858462302; Linux Linux >= 8e8cda6d737d356054c9eeef642aec0e8ae7e6bc, < 3fcffe9ef1e900d8551a5872fee9efd8c67785f5; Linux Linux >= 8e8cda6d737d356054c9eeef642aec0e8ae7e6bc, < af23b302ffe575b74d1fab0fae8fe5c605f4952e; Linux Linux >= 8e8cda6d737d356054c9eeef642aec0e8ae7e6bc, < 59d91f555ada337458c48316987b8ef46487f885; Linux Linux >= 8e8cda6d737d356054c9eeef642aec0e8ae7e6bc, < 4b625dde57c0a40a933bf017ff93a64a7306aa43; Linux Linux >= 8e8cda6d737d356054c9eeef642aec0e8ae7e6bc, < 228e795ec650c33ebbce8ba81ce983c84d64d889; Linux Linux >= 8e8cda6d737d356054c9eeef642aec0e8ae7e6bc, < 0f3ad9ab40e3dad06d5c0693806e07935ceedbc3; Linux Linux 4.12; Linux Linux < 4.12; Linux Linux 5.10.275 (fixed in 5.10.275); Linux Linux 5.15.226 (fixed in 5.15.226)

ProductVersionsFixed in
Linux Linux>= 8e8cda6d737d356054c9eeef642aec0e8ae7e6bc, < c91b7a021f4c407198bcc0da44125e8a1649ad41—
Linux Linux>= 8e8cda6d737d356054c9eeef642aec0e8ae7e6bc, < dbf57b99e1fc43679d3e3ba6aacb1a9858462302—
Linux Linux>= 8e8cda6d737d356054c9eeef642aec0e8ae7e6bc, < 3fcffe9ef1e900d8551a5872fee9efd8c67785f5—
Linux Linux>= 8e8cda6d737d356054c9eeef642aec0e8ae7e6bc, < af23b302ffe575b74d1fab0fae8fe5c605f4952e—
Linux Linux>= 8e8cda6d737d356054c9eeef642aec0e8ae7e6bc, < 59d91f555ada337458c48316987b8ef46487f885—
Linux Linux>= 8e8cda6d737d356054c9eeef642aec0e8ae7e6bc, < 4b625dde57c0a40a933bf017ff93a64a7306aa43—
Linux Linux>= 8e8cda6d737d356054c9eeef642aec0e8ae7e6bc, < 228e795ec650c33ebbce8ba81ce983c84d64d889—
Linux Linux>= 8e8cda6d737d356054c9eeef642aec0e8ae7e6bc, < 0f3ad9ab40e3dad06d5c0693806e07935ceedbc3—
Linux Linux4.12—
Linux Linux< 4.12—
Linux Linux5.10.2755.10.275
Linux Linux5.15.2265.15.226
Linux Linux6.1.1936.1.193
Linux Linux6.6.1636.6.163
Linux Linux6.12.1186.12.118
Linux Linux6.18.646.18.64
Linux Linux7.3.57.3.5
Linux Linux7.4-rc27.4-rc2

Action recommended by the source

Upgrade to a fixed version: 5.10.275, 5.15.226, 6.1.193, 6.12.118, 6.18.64, 6.6.163, 7.3.5, 7.4-rc2.

Fixed in: 5.10.275, 5.15.226, 6.1.193, 6.12.118, 6.18.64, 6.6.163, 7.3.5, 7.4-rc2

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Relevant change history

  1. Published

    Preliminary advisory published.