# CVE-2025-68781: usb: phy: fsl-usb: Fix use-after-free in delayed work during device removal

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.27% (percentile 13, 2026-11-26)
- **Published:** 2026-01-13T15:28:56.261Z
- **Modified:** 2026-09-02T13:17:03.090Z

## Who should check

- Anyone running Linux \>= 0807c500a1a6d7fa20cbd7bbe7fea14a66112463, \< 69f9a0701abc3d1f8225074c56c27e6c16a37222; \>= 0807c500a1a6d7fa20cbd7bbe7fea14a66112463, \< 2e7c47e2eb3cfeadf78a1ccbac8492c60d508f23; \>= 0807c500a1a6d7fa20cbd7bbe7fea14a66112463, \< 41ca62e3e21e48c2903b3b45e232cf4f2ff7434f
- Anyone running Linux 3.0

## Description

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

usb: phy: fsl-usb: Fix use-after-free in delayed work during device removal

The delayed work item otg\_event is initialized in fsl\_otg\_conf() and
scheduled under two conditions:
1. When a host controller binds to the OTG controller.
2. When the USB ID pin state changes (cable insertion/removal).

A race condition occurs when the device is removed via fsl\_otg\_remove():
the fsl\_otg instance may be freed while the delayed work is still pending
or executing. This leads to use-after-free when the work function
fsl\_otg\_event() accesses the already freed memory.

The problematic scenario:

(detach thread)            \| (delayed work)
fsl\_otg\_remove()           \|
  kfree(fsl\_otg\_dev) //FREE\| fsl\_otg\_event()
                           \|   og = container\_of(...) //USE
                           \|   og-\> //USE

Fix this by calling disable\_delayed\_work\_sync() in fsl\_otg\_remove()
before deallocating the fsl\_otg structure. This ensures the delayed work
is properly canceled and completes execution prior to memory deallocation.

This bug was identified through static analysis.

## Affected and fixed versions

- Linux: \>= 0807c500a1a6d7fa20cbd7bbe7fea14a66112463, \< 69f9a0701abc3d1f8225074c56c27e6c16a37222; \>= 0807c500a1a6d7fa20cbd7bbe7fea14a66112463, \< 2e7c47e2eb3cfeadf78a1ccbac8492c60d508f23; \>= 0807c500a1a6d7fa20cbd7bbe7fea14a66112463, \< 41ca62e3e21e48c2903b3b45e232cf4f2ff7434f (cvelist)
- Linux: 3.0 (cvelist)

## Mitigation

- Upgrade Linux to 41ca62e3e21e48c2903b3b45e232cf4f2ff7434f or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-68781. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-68781.md
Affected: Linux >= 0807c500a1a6d7fa20cbd7bbe7fea14a66112463, < 69f9a0701abc3d1f8225074c56c27e6c16a37222; >= 0807c500a1a6d7fa20cbd7bbe7fea14a66112463, < 2e7c47e2eb3cfeadf78a1ccbac8492c60d508f23; >= 0807c500a1a6d7fa20cbd7bbe7fea14a66112463, < 41ca62e3e21e48c2903b3b45e232cf4f2ff7434f; Linux 3.0
Fixed in: Linux 69f9a0701abc3d1f8225074c56c27e6c16a37222, Linux 2e7c47e2eb3cfeadf78a1ccbac8492c60d508f23, Linux 41ca62e3e21e48c2903b3b45e232cf4f2ff7434f

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-68781 being exploited?

There is no confirmed exploitation: CVE-2025-68781 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-68781?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2025-68781?

Linux \>= 0807c500a1a6d7fa20cbd7bbe7fea14a66112463, \< 69f9a0701abc3d1f8225074c56c27e6c16a37222; \>= 0807c500a1a6d7fa20cbd7bbe7fea14a66112463, \< 2e7c47e2eb3cfeadf78a1ccbac8492c60d508f23; \>= 0807c500a1a6d7fa20cbd7bbe7fea14a66112463, \< 41ca62e3e21e48c2903b3b45e232cf4f2ff7434f; Linux 3.0.

### Is there a fix for CVE-2025-68781?

Yes. Fixed in Linux 69f9a0701abc3d1f8225074c56c27e6c16a37222, Linux 2e7c47e2eb3cfeadf78a1ccbac8492c60d508f23, Linux 41ca62e3e21e48c2903b3b45e232cf4f2ff7434f. Upgrade Linux to 41ca62e3e21e48c2903b3b45e232cf4f2ff7434f or later.

### How do I check if I'm affected by CVE-2025-68781?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/69f9a0701abc3d1f8225074c56c27e6c16a37222>
- other: <https://git.kernel.org/stable/c/2e7c47e2eb3cfeadf78a1ccbac8492c60d508f23>
- other: <https://git.kernel.org/stable/c/41ca62e3e21e48c2903b3b45e232cf4f2ff7434f>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-68781>

HTML: <https://flawdb.com/CVE-2025-68781> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-68781>
