# CVE-2026-63874: net: mctp: usb: fix race between urb completion and rx_retry cancellation

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.10%, higher than 0% of CVEs (2026-12-01)
- Published: 2026-07-19T14:18:41.907Z
- Modified: 2026-10-30T14:55:31.457Z
- Weaknesses: CWE-362
- Assigned by: Linux

## Description

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

net: mctp: usb: fix race between urb completion and rx_retry cancellation

It's possible that sequencing between setting ->stopped and cancelling
the rx_retry work (in ndo_stop) could leave us with an urb queued:

    T1: ndo_stop                  T2: rx_retry_work
    ------------                  ----------------
                                  LD: ->stopped => false
    ST: ->stopped <= true
    usb_kill_urb()
                                  mctp_usb_rx_queue()
                                    usb_submit_urb()
    cancel_delayed_work_sync()

That urb completion can then re-schedule rx_retry_work.

Strenghen the sequencing between the stop (preventing another requeue)
and the cancel by updating both atomically under a new rx lock. After
setting ->rx_stopped, and cancelling pending work, we know that the
requeue cannot occur, so all that's left is killing any pending urb.

(As written by CVE List.)

## Affected

- Linux Linux: from 0791c0327a6e4e7691d6fc5ad334c215de04dcc9 before 9c46f3ee1837f6881cb99a52ffecb2760f11dc73; from 0791c0327a6e4e7691d6fc5ad334c215de04dcc9 before d90feaa3f74bea8dafb6494631a194c70e547d94; from 0791c0327a6e4e7691d6fc5ad334c215de04dcc9 before 54665dce982689e2fd99b32e9a0dcc204fda8a51; 6.15 (not affected: before 6.15; from 6.18.36 up to 6.18.*; from 7.0.13 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 6.15 before 6.18.36; from 6.19 before 7.0.13; 7.1

## References

- <https://git.kernel.org/stable/c/9c46f3ee1837f6881cb99a52ffecb2760f11dc73> (patch)
- <https://git.kernel.org/stable/c/d90feaa3f74bea8dafb6494631a194c70e547d94> (patch)
- <https://git.kernel.org/stable/c/54665dce982689e2fd99b32e9a0dcc204fda8a51> (patch)

## Sources

- CVE List: [CVE-2026-63874](https://www.cve.org/CVERecord?id=CVE-2026-63874), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2026-63874](https://nvd.nist.gov/vuln/detail/CVE-2026-63874), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-63874 · Whole record: https://cve.day/CVE-2026-63874.json · Rebuilt by cve.day 2026-11-25T22:59:28.784Z
