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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
2e4c7553cd6f9c68bb741582dcb614edcbeca70f to < aee2fde0f39e2b667084f4d5cc323a5c5543d733affected2e4c7553cd6f9c68bb741582dcb614edcbeca70f to < 1625827648f4e1595ea6ba5521bc87ee5088b32baffected2e4c7553cd6f9c68bb741582dcb614edcbeca70f to < f3d31484b3f26d63c09e5569ebfaa1079a17f171affected2e4c7553cd6f9c68bb741582dcb614edcbeca70f to < 7411de0ce3b45286de1de82526795658ea6eacb0affected2e4c7553cd6f9c68bb741582dcb614edcbeca70f to < 5eb5c72c72fef76cb765ef1669b62b6a3ba1bfc8affected
Linux Linux
Default version status: affected
3.15affected0 to < 3.15unaffected6.6.160 to ≤ 6.6.*unaffected6.12.111 to ≤ 6.12.*unaffected6.18.51 to ≤ 6.18.*unaffected7.2.5 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- 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 ↗