CVE-2026-72124

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
15/08/2026
Last modified:
16/10/2026

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> can: isotp: serialize TX state transitions under so-&gt;rx_lock<br /> <br /> The TX state machine (so-&gt;tx.state) is driven from three contexts:<br /> sendmsg() claiming and progressing a transfer, the RX path consuming<br /> Flow Control/echo frames, and two hrtimers timing out a stalled<br /> transfer. Mixing a lock-free cmpxchg() claim in sendmsg() with<br /> hrtimer_cancel() calls made under so-&gt;rx_lock elsewhere left windows<br /> where a frame or timer callback could act on a state that had already<br /> moved on, corrupting an unrelated transfer.<br /> <br /> so-&gt;rx_lock now covers the full lifecycle of a TX claim: sendmsg()<br /> takes it to check so-&gt;tx.state is ISOTP_IDLE, switch it to<br /> ISOTP_SENDING, bump so-&gt;tx_gen and drain the previous transfer&amp;#39;s<br /> timers - all as one critical section. isotp_rcv_fc()/isotp_rcv_cf()<br /> already run under this lock via isotp_rcv(), and isotp_rcv_echo() now<br /> takes it itself, so none of them can ever observe a transfer mid-claim.<br /> This also means a transfer can no longer be handed to sendmsg()&amp;#39;s<br /> cleanup paths (signal or send error) while another thread is<br /> concurrently claiming or finishing it, so those paths can cancel<br /> timers and reset the state unconditionally.<br /> <br /> isotp_release() claims the socket the same way, so a racing sendmsg()<br /> sees a consistent ISOTP_SHUTDOWN and skips arming its timer or sending.<br /> <br /> Only the hrtimer callbacks stay outside so-&gt;rx_lock, since they run<br /> under so-&gt;rx_lock&amp;#39;s cancellation elsewhere and taking it themselves<br /> would deadlock. so-&gt;tx_gen lets them recognize whether the transfer<br /> they timed out is still the one currently active, so they don&amp;#39;t<br /> report an error against a transfer that has since completed or been<br /> superseded.