В ядре Linux устранена следующая уязвимость:
netfs, afs: исправлен пропуск записи на страницах записи каталога/ссылки. Исправьте netfs_write_single() и afs_single_writepages(), чтобы лучше обрабатывать
запись, которая будет пропущена из-за конфликта блокировок и WB_SYNC_NONE
возвращает 1 из netfs_write_single(), если он был пропущен, и делает
afs_single_writepages() также пропустите. Если происходит пропуск, индексный дескриптор должен быть
перемаркирован, поскольку VFS, возможно, снял отметку.
На самом деле это только теоретически для каталогов в netfs_write_single(), поскольку
единственный путь к этому — через afs_single_writepages(), который принимает
->validate_lock вокруг него, тем самым сериализуя его.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: netfs, afs: Fix write skipping in dir/link writepages Fix netfs_write_single() and afs_single_writepages() to better handle a write that would be skipped due to lock contention and WB_SYNC_NONE by returning 1 from netfs_write_single() if it skipped and making afs_single_writepages() skip also. If a skip occurs, the inode must be re-marked as the VFS may have cleared the mark. This is really only theoretical for directories in netfs_write_single() as the only path to that is through afs_single_writepages() that takes the ->validate_lock around it, thereby serialising it.
Характеристики атаки
Последствия
Строка CVSS v3.1
Уязвимые продукты 6
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.14
|
6.18.34
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.19
|
7.0.11
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*
|
— | — |