В ядре Linux устранена следующая уязвимость:
кэш-файлы: исправлен неправильный счетчик ссылок dentry в кэшеfiles_cull(). Упомянутый ниже патч изменил функцию cachefiles_bury_object() на значение 2.
ссылки на «реп»-стоматологию. Трое из абонентов были изменены на
используйте start_removing_dentry(), который принимает дополнительную ссылку, поэтому в этих
случаях вызов получает ожидаемые ссылки.
Однако есть еще один вызов функции cachefiles_bury_object().
cachefiles_cull(), который не нужно было менять для использования
start_removing_dentry() и поэтому не был должным образом рассмотрен. Он по-прежнему прошел проверку только с одной ссылкой, поэтому конечный результат
что ссылка потерялась. Чтобы оправдать ожидания кэшаfiles_bury_object(), кэшфайлы_cull()
необходимо взять дополнительную ссылку перед вызовом.
Это будет удалено
кэшфайлы_бери_объект().
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: cachefiles: fix incorrect dentry refcount in cachefiles_cull() The patch mentioned below changed cachefiles_bury_object() to expect 2 references to the 'rep' dentry. Three of the callers were changed to use start_removing_dentry() which takes an extra reference so in those cases the call gets the expected references. However there is another call to cachefiles_bury_object() in cachefiles_cull() which did not need to be changed to use start_removing_dentry() and so was not properly considered. It still passed the dentry with just one reference so the net result is that a reference is lost. To meet the expectations of cachefiles_bury_object(), cachefiles_cull() must take an extra reference before the call. It will be dropped by cachefiles_bury_object().
Характеристики атаки
Последствия
Строка CVSS v3.1
Уязвимые продукты 8
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.19
|
6.19.14
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:7.0:rc7:*:*:*:*:*:*
|
— | — |