В ядре Linux устранена следующая уязвимость:
fs/ntfs3: отменить установку неверного индексного дескриптора после сбоя удаления имени
Воспроизводитель использует файл file0 в файловой системе ntfs3 с поврежденной ссылкой i_link. При переименовании индексный дескриптор файла file0 помечается как неправильный, поскольку файл
имя не может быть удалено. Основная ошибка заключается в том, что make_bad_inode() вызывается для действующего индексного дескриптора.
В некоторых случаях это «поиск icache находит нормальный индексный дескриптор, d_splice_alias()».
вызывается, чтобы прикрепить его к dentry, в то время как другой поток решает вызвать
make_bad_inode() — это исключит его из icache, но мы уже это сделали
нашел его там раньше». В некоторых это прямо "у нас есть индексный дескриптор, прикрепленный к dentry - вот как мы
получил это в первую очередь; давайте вызовем make_bad_inode() просто ради фигни
и хихикает».
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: cancle set bad inode after removing name fails The reproducer uses a file0 on a ntfs3 file system with a corrupted i_link. When renaming, the file0's inode is marked as a bad inode because the file name cannot be deleted. The underlying bug is that make_bad_inode() is called on a live inode. In some cases it's "icache lookup finds a normal inode, d_splice_alias() is called to attach it to dentry, while another thread decides to call make_bad_inode() on it - that would evict it from icache, but we'd already found it there earlier". In some it's outright "we have an inode attached to dentry - that's how we got it in the first place; let's call make_bad_inode() on it just for shits and giggles".
Характеристики атаки
Последствия
Строка CVSS v3.1
Уязвимые продукты 4
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.15
|
6.6.102
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.7
|
6.12.42
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.13
|
6.15.10
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.16
|
6.16.1
|