В ядре Linux была устранена следующая уязвимость: btrfs: отсоединить неудачное устройство прорастания из списка обновлений транзакций When, создав первый блок метаданных для файловой системы прорастания, create_chunk() добавляет новое устройство в транзакцию dev_update_list через device->post_commit_list. Если последующее создание блока системы терпит неудачу, btrfs_init_new_device () прерывает транзакцию и освобождает устройство, пока post_commit_list все еще связан. Это вызывает предупреждение в btrfs_free_device () и оставляет список транзакций, ссылающийся на свободную память.
Отсоедините устройство, удерживая chunk_mutex, прежде чем выпустить его.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: btrfs: detach failed sprout device from transaction update list When creating the first metadata chunk for a sprout filesystem, create_chunk() adds the new device to the transaction dev_update_list through device->post_commit_list. If the subsequent system chunk creation fails, btrfs_init_new_device() aborts the transaction and releases the device while post_commit_list is still linked. This triggers a warning in btrfs_free_device() and leaves the transaction list referencing freed memory. Detach the device while holding chunk_mutex before releasing it.
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 5
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.2
|
6.12.111
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.2
|
6.18.53
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.2
|
7.2.7
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.2
|
7.3-rc2
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:7.3:rc1:*:*:*:*:*:*
|
— | — |