Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLocal unprivileged CAN socket access
-
DeliveryBind ISOTP/BCM socket to CAN device
-
ExploitRace namespace move during socket release
-
ExecutionStale receiver left pointing at freed object
-
PersistIncoming CAN frame dereferences freed memory
-
ImpactKernel use-after-free and potential privilege escalation
Vulnerability Assessment
| Exploitation Conditions | Exploitation requires local access to a system built with the CAN subsystem (CONFIG_CAN) and the CAN_ISOTP or CAN_BCM protocols available, an attacker-controlled CAN socket bound to a CAN network device, and the ability to move that device between network namespaces (typically via unprivileged user namespaces). The attacker must win a race: move the bound device to another netns during the window in isotp_release()/bcm_release() after the socket leaves the notifier list but before the serializing lock is taken, so can_rx_unregister() picks the wrong per-netns lock and silently fails to remove the receiver. Limiting factors: the flaw is unreachable on kernels without CAN support, depends on namespace manipulation being permitted for the attacker, and relies on a narrow timing window, so it is not exploitable against default configurations of general-purpose systems that do not use CAN. |
| Impact | This is a local-privilege memory-corruption flaw in the Linux kernel CAN subsystem, confirmed by a KASAN use-after-free report (Read of freed memory in isotp_rcv via the can_rcv receive path). The signals are consistent and point to a genuine but bounded risk rather than a widespread emergency: CVSS 7.8 reflects AV:L/AC:L/PR:L with C:H/I:H/A:H (a UAF giving full memory-corruption impact once triggered), but EPSS is only 0.17% (6th percentile), there is no CISA KEV listing, and no public exploit or PoC reference is present - only the upstream fix commits. The vuln.today decision label is 'this_week', matching a serious-but-not-drop-everything posture. One material tension: the supplied CVSS uses AC:L, yet the description clearly frames the trigger as a race - exploitation depends on moving a bound CAN device to another network namespace within a narrow window during isotp_release()/bcm_release(), which in practice raises attack complexity above what AC:L implies. Overall this is a legitimate local DoS / potential privilege-escalation issue for systems that actually use CAN, not a high-CVSS-but-illusory finding, but its real-world reach is limited by the need for the CAN subsystem and namespace manipulation. |
| Exploit ScenarioDerived | A local unprivileged user on a system with the CAN subsystem enabled opens a CAN_ISOTP or CAN_BCM socket bound to a CAN device, then triggers the release path while concurrently moving that device into another network namespace. By winning the race in the window after the socket leaves the notifier list but before the lock is taken, can_rx_unregister() silently fails to remove the receiver, leaving a dangling pointer to the freed socket/op that is dereferenced on the next incoming CAN frame (use-after-free). No public exploit code is identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 22, 2026
Use-after-free in the Linux kernel CAN receive path allows a local user with low privileges to corrupt kernel memory, crash the system, or potentially escalate to kernel-level code execution on hosts that expose CAN sockets. The flaw lives in how CAN receive filters are protected: a CAN device's receive lists are locked by the per-netns rcvlists_lock, and isotp_release()/bcm_release() can drop the socket from the netdev notifier list before taking that lock, so moving the bound CAN device to another network namespace during that window makes can_rx_unregister() pick a mismatched namespace and silently fail, leaving receivers that reference a freed isotp socket or BCM op (confirmed by a KASAN use-after-free in isotp_rcv reached through can_rcv_filter). Affected are kernels built with the CAN subsystem and CAN_ISOTP or CAN_BCM where an attacker can bind a CAN socket and move the device between namespaces (typically via unprivileged user namespaces); exploitation requires winning a race (assessed CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H), no public exploit has been identified at time of analysis, EPSS is 0.17% (6th percentile), and there is no CISA KEV entry.
RemediationAI
Vendor-released patch: Linux 6.12.118, 6.18.64, 7.3.5 and 7.4-rc2 contain the fix that adds a per-device spinlock to struct can_dev_rcv_lists and initialises it in can_set_ml_priv(), removing the namespace-dependent lock lookup in can_rx_unregister(); apply the update corresponding to your stable branch (patches are linked at https://git.kernel.org/stable/c/4b625dde57c0a40a933bf017ff93a64a7306aa43, https://git.kernel.org/stable/c/228e795ec650c33ebbce8ba81ce983c84d64d889, https://git.kernel.org/stable/c/0f3ad9ab40e3dad06d5c0693806e07935ceedbc3 and https://git.kernel.org/stable/c/59d91f555ada337458c48316987b8ef46487f885, and see https://nvd.nist.gov/vuln/detail/CVE-2026-99672). The upstream fix deliberately avoids holding RTNL in the release paths and instead serialises bind() against NETDEV_UNREGISTER via RCU publication plus lock_sock() rechecks in raw_notify()/isotp_notify(), so backporting only part of the series will not close the window. Where patching must be deferred, the exposure is bounded by the prerequisites in the assessed conditions: on hosts with no CAN hardware or workloads, avoid loading the CAN modules (can, can_raw, can_bcm, can_isotp) so the vulnerable code path is absent, at the cost of losing CAN tooling such as socketcan utilities and any vcan-based test setups; and restrict who may move network devices between namespaces, since exploitation requires the attacker to migrate the bound CAN device, noting that disabling unprivileged user namespaces (for example via kernel.unprivileged_userns_clone=0 or user.max_user_namespaces=0) breaks rootless containers, sandboxed browsers and similar tooling, so it should be weighed against those operational dependencies. Scheduling follows the current weekly patch cycle rather than an emergency out-of-band release.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The CAN subsystem stores a device's receive-filter lists in the device's can_ml_priv (struct can_dev_rcv_lists), and those lists travel with the device when it is moved to another network namespace. Historically they were serialised by the per-netns rcvlists_lock instead of a per-device lock, so can_rx_unregister() had to derive the lock from dev_net(dev) and bailed out silently whenever the namespace passed in no longer matched dev_net(dev). Because can_rx_register() stores rcv->sk without taking a reference, a silently skipped unregister leaves dangling receivers: isotp_release() passes the socket's namespace (which no longer matches after a device move), and bcm_rx_unreg() passes dev_net(dev) which can_rx_unregister() re-reads, so a namespace change between the two reads also defeats the check. Beyond the lifetime bug, callers passing dev_net(dev) read it at different times, allowing the same lists to be modified under locks belonging to different namespaces while a device migrates. The upstream fix takes the root-cause approach rather than taking RTNL in the release paths (RTNL was rejected because raw_bind(), raw_setsockopt() and raw_release() already hold it while adding/removing up to CAN_RAW_FILTER_MAX filters, and these are unprivileged and repeatable, making RTNL a global bottleneck): a spinlock is added to struct can_dev_rcv_lists and initialised in can_set_ml_priv(), which every CAN netdev uses, so can_rx_unregister() finds the subscription independently of the device's current namespace; the per-netns rcvlists_lock is reduced to protecting receive-list statistics only, and CAN_RAW, CAN_BCM and CAN_ISOTP pass the namespace used at registration. raw_release(), raw_setsockopt(), raw_bind() and isotp_bind() no longer need RTNL and operate under lock_sock(), bind() publishes the device inside its RCU lookup section to serialise with NETDEV_UNREGISTER, raw_notify()/isotp_notify() recheck the bound device under lock_sock(), and bind() checks IFF_UP after publishing with a barrier pair so a down transition still yields ENETDOWN. The trigger window described in the available sources is the release path; no CWE identifier was assigned in the supplied data.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Local CAN socket plus namespace control gives AV:L/PR:L; the described namespace-move race window makes AC:H; the use-after-free yields full memory-corruption impact (C/I/A:H).
Primary rating from Vendor (Linux).
CVSS VectorVendor: Linux
Lifecycle Timeline
4DescriptionCVE.org
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 different namespaces while the device is moved.
Taking RTNL in these release paths is no option: raw_bind(), raw_setsockopt() and raw_release() already hold RTNL while adding and removing up to CAN_RAW_FILTER_MAX filters per socket, which unprivileged users can trigger repeatedly and which makes RTNL a global bottleneck.
Instead fix the root cause and add a spinlock to struct can_dev_rcv_lists, which protects the receive lists of a CAN device or the 'any' CAN device lists of a namespace. It is initialized in can_set_ml_priv(), which is used by all CAN network devices. With this, can_rx_unregister() finds the subscription independently of the current namespace of the device. The protocols keep the device valid with their tracked references. The per-netns rcvlists_lock only protects the receive list statistics anymore, and CAN_RAW, CAN_BCM and CAN_ISOTP pass the namespace that has been used for can_rx_register().
So isotp_release() and bcm_release() now remove their filters correctly without RTNL, and raw_release(), raw_setsockopt(), raw_bind() and isotp_bind() do not need RTNL anymore and add and remove their filters under lock_sock(). To serialize bind() with NETDEV_UNREGISTER, bind() publishes the device inside the RCU section of its lookup, and raw_notify() and isotp_notify() recheck the bound device under lock_sock(). As RTNL does not keep NETDEV_DOWN out of bind() anymore, bind() checks IFF_UP after publishing the bound device, with a barrier pair against raw_notify() and isotp_notify(), so a down transition during bind() is still reported with ENETDOWN.
Executive ViewAI
A high-severity use-after-free flaw in the Linux kernel CAN subsystem (CVE-2026-99672) allows a local attacker with low privileges to crash systems or potentially execute code at kernel level on hosts exposing CAN sockets. Organizations running Linux hosts with CAN_ISOTP or CAN_BCM enabled-particularly in automotive, industrial control, or edge deployments-could face service disruption or full system compromise, though exploitation requires winning a race condition.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-130965
GHSA-4ghg-qw9q-9mgp
NVD
CVE.org
EPSS
VulDB
Exploit-DB