В ядре Linux устранена следующая уязвимость:
exfat: исправлена утечка счетчика ссылок в exfat_find
Исправлена утечка счетчика ссылок в exfat_find, связанная с exfat_get_dentry_set. Функция exfat_get_dentry_set увеличит счетчик ссылок
`es->bh` в случае успеха. Поэтому необходимо вызвать exfat_put_dentry_set.
после exfat_get_dentry_set, чтобы обеспечить согласованность счетчика ссылок.
Этот патч переместите две проверки, чтобы избежать возможных утечек.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: exfat: fix refcount leak in exfat_find Fix refcount leaks in `exfat_find` related to `exfat_get_dentry_set`. Function `exfat_get_dentry_set` would increase the reference counter of `es->bh` on success. Therefore, `exfat_put_dentry_set` must be called after `exfat_get_dentry_set` to ensure refcount consistency. This patch relocate two checks to avoid possible leaks.
Характеристики атаки
Последствия
Строка CVSS v3.1
Уязвимые продукты 7
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.12.23
|
6.12.68
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.14
|
6.18.2
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.14
|
6.19
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.13.11
|
— |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.14:-:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.14:rc6:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.14:rc7:*:*:*:*:*:*
|
— | — |