can: isotp: fix timer drain order, wakeup handling and tx_gen ordering
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Partial Red Hat: 4 without a fix
No CVSS vector from any source. Fix status from CNA and Red Hat.
Summary
In the Linux kernel, the following vulnerability has been resolved: can: isotp: fix timer drain order, wakeup handling and tx_gen ordering This patch is a follow-up to commit cf070fe33bfb ("can: isotp: serialize TX state transitions under so->rx_lock") which addresses following sashiko-bot findings: - isotp_sendmsg(): drain so->txfrtimer first so a stale callback can't re-arm echotimer after the claim - isotp_release(): wake so->wait after forcing ISOTP_SHUTDOWN so a sleeping sendmsg() claim isn't stranded - isotp_sendmsg(): have both wait_event_interruptible() calls in isotp_sendmsg() also wake on ISOTP_SHUTDOWN and do not return claim to IDLE to avoid corrupting a concurrent isotp_release() process. - isotp_sendmsg(): handle potential claim of a new transfer when the wait_event_interruptible() call returns in CAN_ISOTP_WAIT_TX_DONE mode. Don't touch timers and states of the new transfer if a new thread incremented so->tx_gen before getting the lock at err_event_drop. - isotp_sendmsg(): handle a stuck can_send() and omit timer and state changes if a new transfer was claimed. wait_tx_done() returns the error recorded in so->tx_result[], tagged with the caller's own generation. - isotp_tx_timeout(): on a claimed timeout, record the ECOMM error for the timed-out transfer's own generation in so->tx_result[]; sk->sk_err is raised unconditionally, same as every other error path here. - isotp_tx_gen_done()/isotp_tx_timeout(): always read tx.state (acquire) before tx_gen - the reverse order let a weakly ordered CPU pair a fresh tx.state with a stale tx_gen/tx_result slot. - isotp_sendmsg(): wait_tx_done: drain sk_err via sock_error() once we have read the result from so->tx_result[], so an already-reported error doesn't stay latched for a later poll()/SO_ERROR. Also align the remaining lock-free so->tx.state/rx.state/cfecho accesses and use skb->hash as unique loopback echo frame indicator.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 5.10.265 to before 5.10.267; 5.15.216 to before 5.15.218; 6.1.183 to before 6.1.185; 6.6.148 to before 6.6.151; 6.12.101 to before 6.12.103; 6.18.40 to before 6.18.44; 7.1.5 to before 7.1.8 | 5.10.267, 5.15.218, 6.1.185, 6.6.151, 6.12.103, 6.18.44, 7.1.8 | Patch available | CNA |
- Linux VendorLinux Affected 5.10.265 to before 5.10.267; 5.15.216 to before 5.15.218; 6.1.183 to before 6.1.185; 6.6.148 to before 6.6.151; 6.12.101 to before 6.12.103; 6.18.40 to before 6.18.44; 7.1.5 to before 7.1.8 Fixed in 5.10.267, 5.15.218, 6.1.185, 6.6.151, 6.12.103, 6.18.44, 7.1.8 Patch available CNA
Remediation
- Fix · CNA Linux (Linux) Fixed in 5.10.267, 5.15.218, 6.1.185, 6.6.151, 6.12.103, 6.18.44, 7.1.8
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 5 | Affected | No fix yet: Fix deferred |
Not affected: 4 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat OpenShift Container Platform 4
Timeline
- 2026-10-02 Threatist record created from CVE-2026-80889
- 2026-10-03 Alias added: GHSA-r952-5653-4wq2
- 2026-11-01 Affected versions changed · Red Hat
- 2026-11-01 CVSS score added · Red Hat
References
Other 8
- https://git.kernel.org/stable/c/8acab9fc66d6f426c36968c91a979f70784945a7
- https://git.kernel.org/stable/c/af7e25c649ed68cbad07f8185af0f31b892cbf29
- https://git.kernel.org/stable/c/2753722612d8824d3910096f93059f669009b0f0
- https://git.kernel.org/stable/c/bf5c4a8b24acb12739ebb9aea5510b007e4f5239
- https://git.kernel.org/stable/c/deca7746b57d982cd4f0301f4443f56780c4a048
- https://git.kernel.org/stable/c/10be509fa8fd95d1e47d40d1f68b0b26dfe9d572
- https://git.kernel.org/stable/c/35c62ac98d06669aa3f0f38b7829eaca929a611e
- https://git.kernel.org/stable/c/050f010f920da17c1044a4f174766ad553e770b6
More Linux vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Incorrect authorization in Ubuntu linux kernel KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-80889 · CVE Program
- CVE-2026-80889 · NVD
- FIRST EPSS
- GHSA-r952-5653-4wq2 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-80889 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences