CVE-2026-80889

Source
https://cve.org/CVERecord?id=CVE-2026-80889
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80889.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-80889
Downstream
Published
2026-09-04T17:11:05Z
Modified
2026-09-06T03:46:55Z
Summary
can: isotp: fix timer drain order, wakeup handling and tx_gen ordering
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80889.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
bbedeb67a9a684f2fb78c55bd3662c400526715e
Fixed
8acab9fc66d6f426c36968c91a979f70784945a7
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
377a8f500704da42ed86a4541ed930e9dcfdb2ea
Fixed
af7e25c649ed68cbad07f8185af0f31b892cbf29
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6da8119e8dd542194103139812d1a4b7dcd1aedd
Fixed
2753722612d8824d3910096f93059f669009b0f0
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0b05eca9589f609e2491b528dccf683168a4cda8
Fixed
bf5c4a8b24acb12739ebb9aea5510b007e4f5239
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a7d90e7b5e75d7406c889fe36e9a61ee364a00cb
Fixed
deca7746b57d982cd4f0301f4443f56780c4a048
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
37beb16e08cae94cc05840c7274225e3b0b38ae7
Fixed
10be509fa8fd95d1e47d40d1f68b0b26dfe9d572
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
4f1fdf1a1c317bcac0c6b6c8e12642c9983de1ca
Fixed
35c62ac98d06669aa3f0f38b7829eaca929a611e
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
cf070fe33bfbd1a4c21236078fadb35dd223a157
Fixed
050f010f920da17c1044a4f174766ad553e770b6

Affected versions

v5.*
v5.10.265
v5.10.266
v5.15.216
v5.15.217
v6.*
v6.1.183
v6.1.184
v6.12.101
v6.12.102
v6.18.40
v6.18.41
v6.18.42
v6.18.43
v6.6.148
v6.6.149
v6.6.150
v7.*
v7.1.5
v7.1.6
v7.1.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80889.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.10.265
Fixed
5.10.267
Type
ECOSYSTEM
Events
Introduced
5.15.216
Fixed
5.15.218
Type
ECOSYSTEM
Events
Introduced
6.1.183
Fixed
6.1.185
Type
ECOSYSTEM
Events
Introduced
6.6.148
Fixed
6.6.151
Type
ECOSYSTEM
Events
Introduced
6.12.101
Fixed
6.12.103
Type
ECOSYSTEM
Events
Introduced
6.18.40
Fixed
6.18.44
Type
ECOSYSTEM
Events
Introduced
7.1.5
Fixed
7.1.8

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80889.json"