В ядре Linux была устранена следующая уязвимость: USB: gadget: ffs: fix mm lifetime handling io_data хранит указатель на mm_struct отправляемой задачи, но в настоящее время не содержит ссылки на него во время ожидания асинхронных запросов. Это может привести к use-after-free, если задача завершается до завершения обработки. Возьмите ссылку с mmgrab () при очереди на чтение запроса и выпустите его с mmdrop () по завершении запроса.
Показать оригинальное описание (EN)
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.
Характеристики атаки
Последствия
Строка CVSS v3.1
Уязвимые продукты 4
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
3.15
|
6.12.111
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
3.15
|
6.18.51
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
3.15
|
7.2.5
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
3.15
|
7.3-rc1
|