# CVE-2026-72123: can: bcm: defer rx\_op deallocation to workqueue to fix thrtimer UAF

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **Published:** 2026-08-15T05:53:01.433Z
- **Modified:** 2026-10-16T19:17:10.177Z

## Who should check

- Anyone running Linux \>= 85cd41070df992d3c0dfd828866fdd243d3b774a, \< de5fce46637de05bef56ec08528127676eb6fc9b; \>= f34f2a18e47b73e48f90a757e1f4aaa8c7d665a1, \< 036a8c320ca11bc912e8027adcfad14b326f067e; \>= f1b4e32aca0811aa011c76e5d6cf2fa19224b386, \< 3cf4fd5316f449811d8baf1bc6978ef5a7b743a9; \>= f1b4e32aca0811aa011c76e5d6cf2fa19224b386, \< 4177762f70646ac48a2af382e45a795cbd295198; \>= f1b4e32aca0811aa011c76e5d6cf2fa19224b386, \< 6fd08e8d826c3aa4cc7021f5f9cdbb7fa7441d3f; \>= f1b4e32aca0811aa011c76e5d6cf2fa19224b386, \< cd830e0bc25ee2d38cbfbdbb3cd77c5f53b2b6d5; \>= f1b4e32aca0811aa011c76e5d6cf2fa19224b386, \< ce2d4b121fb7545e1ed588e860c8e5fd5ad45224; \>= f1b4e32aca0811aa011c76e5d6cf2fa19224b386, \< 68973f9db76144825e4f35dfdc80fb8279eb2d57; fbac09a3b8890003c0c55294c00709f3ae5501bb; 5b48f5711f1c630841ab78dcc061de902f0e37bf; …
- Anyone running Linux 5.19

## Description

In the Linux kernel, the following vulnerability has been resolved:

can: bcm: defer rx\_op deallocation to workqueue to fix thrtimer UAF

Commit f1b4e32aca08 ("can: bcm: use call\_rcu() instead of costly
synchronize\_rcu()") replaced synchronize\_rcu() in bcm\_delete\_rx\_op()
with call\_rcu() and introduced the RX\_NO\_AUTOTIMER flag.

However, this flag check was omitted for thrtimer in the packet rx
fast-path. During BCM RX operation teardown, a concurrent RCU reader
(bcm\_rx\_handler) can race and re-arm thrtimer via
bcm\_rx\_update\_and\_send() after call\_rcu() has been scheduled.  Once
the RCU grace period elapses, bcm\_op is freed.  The subsequently
firing thrtimer then dereferences the deallocated op, causing a UAF.

Adding flag checks to the rx fast-path (bcm\_rx\_update\_and\_send) does not
fully close the TOCTOU race and introduces latency for every CAN frame.
Conversely, calling hrtimer\_cancel() directly inside the RCU callback
(softirq context) is fatal as hrtimer\_cancel() can sleep, triggering
a "scheduling while atomic" panic.

Resolve this by deferring the timer cancellation and memory free to a
dedicated unbound workqueue (bcm\_wq).  The RCU callback now queues a
work item to bcm\_wq, which safely cancels both timers and deallocates
memory in sleepable process context.  A dedicated workqueue is used to
prevent system-wide WQ saturation and is cleanly flushed/destroyed
on module unload to avoid rmmod page faults.

Since the deferred work can now outlive the calling context by an
unbounded amount, also take a reference on op-\>sk when it is assigned
and drop it only once the deferred work has cancelled both timers, so a
socket can no longer be freed out from under a still-armed timer whose
callback (bcm\_send\_to\_user()) dereferences op-\>sk.

## Affected and fixed versions

- Linux: \>= 85cd41070df992d3c0dfd828866fdd243d3b774a, \< de5fce46637de05bef56ec08528127676eb6fc9b; \>= f34f2a18e47b73e48f90a757e1f4aaa8c7d665a1, \< 036a8c320ca11bc912e8027adcfad14b326f067e; \>= f1b4e32aca0811aa011c76e5d6cf2fa19224b386, \< 3cf4fd5316f449811d8baf1bc6978ef5a7b743a9; \>= f1b4e32aca0811aa011c76e5d6cf2fa19224b386, \< 4177762f70646ac48a2af382e45a795cbd295198; \>= f1b4e32aca0811aa011c76e5d6cf2fa19224b386, \< 6fd08e8d826c3aa4cc7021f5f9cdbb7fa7441d3f; \>= f1b4e32aca0811aa011c76e5d6cf2fa19224b386, \< cd830e0bc25ee2d38cbfbdbb3cd77c5f53b2b6d5; \>= f1b4e32aca0811aa011c76e5d6cf2fa19224b386, \< ce2d4b121fb7545e1ed588e860c8e5fd5ad45224; \>= f1b4e32aca0811aa011c76e5d6cf2fa19224b386, \< 68973f9db76144825e4f35dfdc80fb8279eb2d57; fbac09a3b8890003c0c55294c00709f3ae5501bb; 5b48f5711f1c630841ab78dcc061de902f0e37bf; … (cvelist)
- Linux: 5.19 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-72123. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-72123.md
Affected: Linux >= 85cd41070df992d3c0dfd828866fdd243d3b774a, < de5fce46637de05bef56ec08528127676eb6fc9b; >= f34f2a18e47b73e48f90a757e1f4aaa8c7d665a1, < 036a8c320ca11bc912e8027adcfad14b326f067e; >= f1b4e32aca0811aa011c76e5d6cf2fa19224b386, < 3cf4fd5316f449811d8baf1bc6978ef5a7b743a9; >= f1b4e32aca0811aa011c76e…
Fixed in: Linux 036a8c320ca11bc912e8027adcfad14b326f067e, Linux 3cf4fd5316f449811d8baf1bc6978ef5a7b743a9, Linux 4177762f70646ac48a2af382e45a795cbd295198, Linux 6fd08e8d826c3aa4cc7021f5f9cdbb7fa7441d3f, Linux 68973f9db76144825e4f35dfdc80fb8279eb2d57

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-72123 being exploited?

There is no confirmed exploitation: CVE-2026-72123 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-72123?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-72123?

Linux \>= 85cd41070df992d3c0dfd828866fdd243d3b774a, \< de5fce46637de05bef56ec08528127676eb6fc9b; \>= f34f2a18e47b73e48f90a757e1f4aaa8c7d665a1, \< 036a8c320ca11bc912e8027adcfad14b326f067e; \>= f1b4e32aca0811aa011c76e5d6cf2fa19224b386, \< 3cf4fd5316f449811d8baf1bc6978ef5a7b743a9; \>= f1b4e32aca0811aa011c76e5d6cf2fa19224b386, \< 4177762f70646ac48a2af382e45a795cbd295198; \>= f1b4e32aca0811aa011c76e5d6cf2fa19224b386, \< 6fd08e8d826c3aa4cc7021f5f9cdbb7fa7441d3f; \>= f1b4e32aca0811aa011c76e5d6cf2fa19224b386, \< cd830e0bc25ee2d38cbfbdbb3cd77c5f53b2b6d5; \>= f1b4e32aca0811aa011c76e5d6cf2fa19224b386, \< ce2d4b121fb7545e1ed588e860c8e5fd5ad45224; \>= f1b4e32aca0811aa011c76e5d6cf2fa19224b386, \< 68973f9db76144825e4f35dfdc80fb8279eb2d57; fbac09a3b8890003c0c55294c00709f3ae5501bb; 5b48f5711f1c630841ab78dcc061de902f0e37bf; …; Linux 5.19.

### Is there a fix for CVE-2026-72123?

Yes. Fixed in Linux 036a8c320ca11bc912e8027adcfad14b326f067e, Linux 3cf4fd5316f449811d8baf1bc6978ef5a7b743a9, Linux 4177762f70646ac48a2af382e45a795cbd295198, Linux 6fd08e8d826c3aa4cc7021f5f9cdbb7fa7441d3f, Linux 68973f9db76144825e4f35dfdc80fb8279eb2d57. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-72123?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/de5fce46637de05bef56ec08528127676eb6fc9b>
- other: <https://git.kernel.org/stable/c/036a8c320ca11bc912e8027adcfad14b326f067e>
- other: <https://git.kernel.org/stable/c/3cf4fd5316f449811d8baf1bc6978ef5a7b743a9>
- other: <https://git.kernel.org/stable/c/4177762f70646ac48a2af382e45a795cbd295198>
- other: <https://git.kernel.org/stable/c/6fd08e8d826c3aa4cc7021f5f9cdbb7fa7441d3f>
- other: <https://git.kernel.org/stable/c/cd830e0bc25ee2d38cbfbdbb3cd77c5f53b2b6d5>
- other: <https://git.kernel.org/stable/c/ce2d4b121fb7545e1ed588e860c8e5fd5ad45224>
- other: <https://git.kernel.org/stable/c/68973f9db76144825e4f35dfdc80fb8279eb2d57>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-72123>

HTML: <https://flawdb.com/CVE-2026-72123> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-72123>
