Linux kernel USB gadget ffs use-after-free due to missing mm reference
CVE-2026-90045 Published on September 16, 2026

USB: gadget: ffs: fix mm lifetime handling
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.

NVD


Products Associated with CVE-2026-90045

Want to know whenever a new CVE is published for Linux Kernel? stack.watch will email you.

 

Affected Versions

Linux: Linux: