USB: gadget: ffs: fix mm lifetime handling
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f3d31484b3f26d63c09e5569ebfaa1079a17f171, Kernel 1625827648f4e1595ea6ba5521bc87ee5088b32b, Kernel 5eb5c72c72fef76cb765ef1669b62b6a3ba1bfc8 and 8 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=2e4c7553cd6f9c68bb741582dcb614edcbeca70f <f3d31484b3f26d63c09e5569ebfaa1079a17f171, >=2e4c7553cd6f9c68bb741582dcb614edcbeca70f <1625827648f4e1595ea6ba5521bc87ee5088b32b, >=2e4c7553cd6f9c68bb741582dcb614edcbeca70f <5eb5c72c72fef76cb765ef1669b62b6a3ba1bfc8, >=2e4c7553cd6f9c68bb741582dcb614edcbeca70f <68895e50c2250d9edd6e0a5967bf351221fd88b4, >=2e4c7553cd6f9c68bb741582dcb614edcbeca70f <7411de0ce3b45286de1de82526795658ea6eacb0, >=2e4c7553cd6f9c68bb741582dcb614edcbeca70f <aee2fde0f39e2b667084f4d5cc323a5c5543d733, =3.15 | f3d31484b3f26d63c09e5569ebfaa1079a17f171, 1625827648f4e1595ea6ba5521bc87ee5088b32b, 5eb5c72c72fef76cb765ef1669b62b6a3ba1bfc8, 68895e50c2250d9edd6e0a5967bf351221fd88b4, 7411de0ce3b45286de1de82526795658ea6eacb0, aee2fde0f39e2b667084f4d5cc323a5c5543d733 |
| linux-kernel: Kernel | >=6.13.0 <6.18.51, >=6.19.0 <7.2.5, >=6.2.0 <6.6.160, >=6.7.0 <6.12.111, >=3.15.0 <6.1.191 | 6.18.51, 7.2.5, 6.6.160, 6.12.111, 6.1.191 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket