In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_fs: Prevent race during ffs_ep0_queue_wait While performing fast composition switch, there is a possibility that the process of ffs_ep0_write/ffs_ep0_read get into a race condition due to ep0req being freed up from functionfs_unbind.
Overview
In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_fs: Prevent race during ffs_ep0_queue_wait While performing fast composition switch, there is a possibility that the process of ffs_ep0_write/ffs_ep0_read get into a race condition due to ep0req being freed up from functionfs_unbind. Consider the scenario that the ffs_ep0_write calls the ffs_ep0_queue_wait by taking a lock &ffs->ev.waitq.lock. However, the functionfs_unbind isn't bounded so it can go ahead and mark the ep0req to NULL, and since there is no NULL check in ffs_ep0_queue_wait we will end up in use-after-free. Fix this by making a serialized execution between the two functions using a mutex_lock(ffs->mutex).
- Published
- 3/27/2025
- Last modified
- 6/17/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
linux kernel linux | ≥ 2.6.35, < 4.14.305 | Verify advisory | Source |
linux kernel linux | ≥ 4.15, < 4.19.272 | Verify advisory | Source |
linux kernel linux | ≥ 4.20, < 5.4.231 | Verify advisory | Source |
linux kernel linux | ≥ 5.5, < 5.10.166 | Verify advisory | Source |
linux kernel linux | ≥ 5.11, < 5.15.91 | Verify advisory | Source |
linux kernel linux | ≥ 5.16, < 6.1.9 | Verify advisory | Source |
linux kernel linux | 6.2 | Verify advisory The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory. | Source |
Linux Linux | ≥ ddf8abd2599491cbad959c700b90ba72a5dce8d0, < facf353c9e8d7885b686d9a4b173d4e0af6441d2 | Verify advisory | Source |
Linux Linux | ≥ ddf8abd2599491cbad959c700b90ba72a5dce8d0, < e9036e951f93fb8d7b5e9d6e2c7f94a4da312ae4 | Verify advisory | Source |
Linux Linux | ≥ ddf8abd2599491cbad959c700b90ba72a5dce8d0, < a8d40942df074f4ebcb9bd3413596d92f323b064 | Verify advisory | Source |
Linux Linux | ≥ ddf8abd2599491cbad959c700b90ba72a5dce8d0, < 6dd9ea05534f323668db94fcc2726c7a84547e78 | Verify advisory | Source |
Linux Linux | ≥ ddf8abd2599491cbad959c700b90ba72a5dce8d0, < ae8e136bcaae96163b5821984de1036efc9abb1a | Verify advisory | Source |
Linux Linux | ≥ ddf8abd2599491cbad959c700b90ba72a5dce8d0, < 6aee197b7fbcd61596a78b47d553f2f99111f217 | Verify advisory | Source |
Linux Linux | ≥ ddf8abd2599491cbad959c700b90ba72a5dce8d0, < 6a19da111057f69214b97c62fb0ac59023970850 | Verify advisory | Source |
Linux Linux | 2.6.35 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.