CVE Catalog

CVE-2026-90045

Unknown
Published: Translated: NVD NIST

Summary

In the Linux kernel USB gadget ffs driver, the io_data structure stores a pointer to the submitting task's mm_struct but does not hold a reference while async requests are pending. This can cause a use-after-free if the task exits before completion handling finishes. The fix takes a reference with mmgrab() when queuing and releases it with mmdrop() on completion.

Risk Assessment

A local attacker could trigger a use-after-free in the kernel, potentially causing a system crash or privilege escalation. The vulnerability affects systems using USB gadget ffs.

Recommendation

Update the Linux kernel to a version containing the mm lifetime handling fix in ffs. Restrict access to the USB gadget ffs interface for untrusted users.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS