CVE-2026-64341 PUBLISHED

USB: iowarrior: fix use-after-free on disconnect race

Assigner: Linux
Reserved: 19.07.2026 Published: 25.07.2026 Updated: 25.07.2026

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

USB: iowarrior: fix use-after-free on disconnect race

mutex_unlock() may access the mutex structure after releasing the lock and therefore cannot be used to manage lifetime of objects directly (unlike spinlocks and refcounts). [1][2]

Use a kref to release the driver data to avoid use-after-free in mutex_unlock() when release() races with disconnect().

[1] a51749ab34d9 ("locking/mutex: Document that mutex_unlock() is non-atomic") [2] 2b9d9e0a9ba0 ("locking/mutex: Clarify that mutex_unlock(), and most other sleeping locks, can still use the lock object after it's unlocked")

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 946b960d13c15f050a3b848987aaca79f6a459b7 to 3c0a7b29ebb391d5f50b115e86f842b709195b08 (excl.)
  • affected from 946b960d13c15f050a3b848987aaca79f6a459b7 to 71590982700fdeb39a37a500c877228b0140978e (excl.)
  • affected from 946b960d13c15f050a3b848987aaca79f6a459b7 to c602254ba4c10f60a73cd99d147874f86a3f485c (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 2.6.21 is affected
  • unaffected from 0 to 2.6.21 (excl.)
  • unaffected from 6.12.97 to 6.12.* (incl.)
  • unaffected from 7.1.4 to 7.1.* (incl.)
  • unaffected from 7.2-rc3 to * (incl.)

References