CVE-2026-80889

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
04/09/2026
Last modified:
04/09/2026

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> can: isotp: fix timer drain order, wakeup handling and tx_gen ordering<br /> <br /> This patch is a follow-up to commit cf070fe33bfb ("can: isotp: serialize<br /> TX state transitions under so-&gt;rx_lock") which addresses following<br /> sashiko-bot findings:<br /> <br /> - isotp_sendmsg(): drain so-&gt;txfrtimer first so a stale callback can&amp;#39;t<br /> re-arm echotimer after the claim<br /> <br /> - isotp_release(): wake so-&gt;wait after forcing ISOTP_SHUTDOWN so a<br /> sleeping sendmsg() claim isn&amp;#39;t stranded<br /> <br /> - isotp_sendmsg(): have both wait_event_interruptible() calls in<br /> isotp_sendmsg() also wake on ISOTP_SHUTDOWN and do not return claim to<br /> IDLE to avoid corrupting a concurrent isotp_release() process.<br /> <br /> - isotp_sendmsg(): handle potential claim of a new transfer when<br /> the wait_event_interruptible() call returns in CAN_ISOTP_WAIT_TX_DONE<br /> mode. Don&amp;#39;t touch timers and states of the new transfer if a new thread<br /> incremented so-&gt;tx_gen before getting the lock at err_event_drop.<br /> <br /> - isotp_sendmsg(): handle a stuck can_send() and omit timer and state<br /> changes if a new transfer was claimed. wait_tx_done() returns the error<br /> recorded in so-&gt;tx_result[], tagged with the caller&amp;#39;s own generation.<br /> <br /> - isotp_tx_timeout(): on a claimed timeout, record the ECOMM error for<br /> the timed-out transfer&amp;#39;s own generation in so-&gt;tx_result[]; sk-&gt;sk_err<br /> is raised unconditionally, same as every other error path here.<br /> <br /> - isotp_tx_gen_done()/isotp_tx_timeout(): always read tx.state (acquire)<br /> before tx_gen - the reverse order let a weakly ordered CPU pair a fresh<br /> tx.state with a stale tx_gen/tx_result slot.<br /> <br /> - isotp_sendmsg(): wait_tx_done: drain sk_err via sock_error() once we<br /> have read the result from so-&gt;tx_result[], so an already-reported error<br /> doesn&amp;#39;t stay latched for a later poll()/SO_ERROR.<br /> <br /> Also align the remaining lock-free so-&gt;tx.state/rx.state/cfecho accesses<br /> and use skb-&gt;hash as unique loopback echo frame indicator.

Impact