В ядре Linux устранена следующая уязвимость:
nilfs2: защитить доступ к буферам без активных ссылок
nilfs_lookup_dirty_data_buffers(), который перебирает буферы
прикрепленный к фолио/страницам с «грязными» данными, получает доступ к подключенным буферам без
блокировка фолио/страниц.
Для кэша данных nilfs_clear_folio_dirty() может вызываться асинхронно.
когда файловая система перерождается в режим только чтения, поэтому
nilfs_lookup_dirty_data_buffers() все еще может вызвать использование
после свободных проблем, когда буферы теряют защиту своего грязного состояния
на полпути из-за этой асинхронной очистки и непреднамеренно освобождаются
try_to_free_buffers().
Устраните эту проблему гонки, отрегулировав раздел блокировки в этой функции.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: nilfs2: protect access to buffers with no active references nilfs_lookup_dirty_data_buffers(), which iterates through the buffers attached to dirty data folios/pages, accesses the attached buffers without locking the folios/pages. For data cache, nilfs_clear_folio_dirty() may be called asynchronously when the file system degenerates to read only, so nilfs_lookup_dirty_data_buffers() still has the potential to cause use after free issues when buffers lose the protection of their dirty state midway due to this asynchronous clearing and are unintentionally freed by try_to_free_buffers(). Eliminate this race issue by adjusting the lock section in this function.
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 7
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
3.10
|
5.4.291
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.5
|
5.10.235
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.11
|
5.15.179
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.16
|
6.1.129
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.2
|
6.6.76
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.7
|
6.12.13
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.13
|
6.13.2
|