CVE-2026-89732
Last modified
CVE-2026-89732 is a vulnerability of currently unknown severity. In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_fs: Prevent deadlock during ep0 read loop Currently, ffs_ep0_read() holds ffs->mutex when it prepares to go to sleep waiting for an event. When no setup events are pending, it calls wait_event_interruptible_exclusive_locked_irq() with the mutex still held. EPSS estimates a 0.21% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_fs: Prevent deadlock during ep0 read loop Currently, ffs_ep0_read() holds ffs->mutex when it prepares to go to sleep waiting for an event. When no setup events are pending, it calls wait_event_interruptible_exclusive_locked_irq() with the mutex still held. The wait macro deliberately drops the waitqueue spinlock before sleeping but does not drop the mutex. If a userspace daemon is polling ep0 via read() and the gadget is asynchronously torn down via configfs (e.g., echo "" > UDC), a deadlock can occur: 1. The configfs teardown calls functionfs_unbind(), which queues a FUNCTIONFS_UNBIND event. 2. The daemon wakes up, consumes the event, and drops the mutex. 3. However, if the daemon loops and immediately issues another read() before exiting, it reacquires ffs->mutex and again goes into an interruptible sleep. 4. Meanwhile, functionfs_unbind() continues execution and attempts to acquire ffs->mutex to tear down ep0req. 5. The kernel deadlocks because the configfs thread is stuck in an uninterruptible sleep waiting for the mutex, while the userspace daemon is in an interruptible sleep holding the mutex forever because no more events will arrive. To fix this, we drop both the waitqueue spinlock and ffs->mutex before going to sleep, and use wait_event_interruptible_exclusive() instead. Upon waking up, we jump back to the `retry` label to safely reacquire the mutex and re-evaluate the state machine. By not sleeping with ffs->mutex held, we natively decouple gadget teardowns (which require the mutex) from userspace polling.
Metrics
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= ddf8abd2599491cbad959c700b90ba72a5dce8d0, < fbe3db4b650c284df8eb4cb68eebcf270cf861b5; >= ddf8abd2599491cbad959c700b90ba72a5dce8d0, < 30430509c156e1df2bdafd5f1cadb160e53db5d6; >= ddf8abd2599491cbad959c700b90ba72a5dce8d0, < bafddd0f20b5228760be303aa69c58502e92309c; >= ddf8abd2599491cbad959c700b90ba72a5dce8d0, < b0a6bfac0c3c3edf5b2ecaee87a09234601fe78d; >= ddf8abd2599491cbad959c700b90ba72a5dce8d0, < fd20cc68bbdb5620696ac108e8f2efd180fe2c1a; >= ddf8abd2599491cbad959c700b90ba72a5dce8d0, < 34e88f53614640b59039a46717fb6142e9871022; >= ddf8abd2599491cbad959c700b90ba72a5dce8d0, < eac233e63f9db82ba874e3cccafaafab162999e0; >= ddf8abd2599491cbad959c700b90ba72a5dce8d0, < 569dd7e5dcffe1e1c6b26ca2cd3be57eb433e082 |
| Linux | Linux | 2.6.35 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-89732?
How severe is CVE-2026-89732?
How do I fix CVE-2026-89732?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-89727In the Linux kernel, the following vulnerability has been re…
- CVE-2026-89728In the Linux kernel, the following vulnerability has been re…
- CVE-2026-89729In the Linux kernel, the following vulnerability has been re…8.8
- CVE-2026-8973Memory safety bugs present in Firefox 150. Some of these bug…8.8
- CVE-2026-89730In the Linux kernel, the following vulnerability has been re…
- CVE-2026-89731In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2026-89733In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-89734In the Linux kernel, the following vulnerability has been re…
- CVE-2026-89735In the Linux kernel, the following vulnerability has been re…
- CVE-2026-89736In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-89737In the Linux kernel, the following vulnerability has been re…
- CVE-2026-89738In the Linux kernel, the following vulnerability has been re…7.8
Are you affected by CVE-2026-89732?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
