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).
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Debian | — | Upgrade linux | Mar 31, 2025 | Mar 27, 2025 |
| Ubuntu | — | Upgrade linux-xilinx-zynqmpUpgrade linux-aws-hweUpgrade linux-raspiUpgrade linux-oracle-5.4Upgrade linux-nvidiaUpgrade linux-aws-fipsUpgrade linux-intel-iot-realtimeUpgrade linux-intel-iotgUpgrade linux-hwe-5.4Upgrade linux-realtimeUpgrade linux-fipsUpgrade linux-ibmUpgrade linux-lowlatencyUpgrade linux-oracle-5.15Upgrade linux-azure-fipsUpgrade linux-riscv-5.15Upgrade linux-azure-5.15Upgrade linux-gkeUpgrade linux-gkeopUpgrade linux-gcpUpgrade linux-azure-fdeUpgrade linux-oracleUpgrade linux-gcp-5.15Upgrade linux-aws-5.4Upgrade linux-kvmUpgrade linux-gcp-5.4Upgrade linux-intel-iotg-5.15Upgrade linux-lowlatency-hwe-5.15Upgrade linux-iotUpgrade linux-gcp-fipsUpgrade linux-nvidia-tegra-5.15Upgrade linux-azure-5.4Upgrade linux | Apr 1, 2025 | Mar 27, 2025 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | May 27, 2026 | Mar 27, 2025 |
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub