В ядре Linux устранена следующая уязвимость:
ksmbd: исправлена утечка счетчика ссылок в smb_check_perm_dacl()
Проблема возникает по определенному пути в smb_check_perm_dacl(). Когда
"id" и "uid" имеют одинаковое значение, функция просто выскакивает из
цикл без уменьшения счетчика ссылок объекта
«posix_acls», который ранее был увеличен с помощью get_acl(). Это может
привести к утечкам памяти.
Исправьте это, уменьшив количество ссылок «posix_acls» перед переход к метке «check_access_bits».
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix reference count leak in smb_check_perm_dacl() The issue happens in a specific path in smb_check_perm_dacl(). When "id" and "uid" have the same value, the function simply jumps out of the loop without decrementing the reference count of the object "posix_acls", which is increased by get_acl() earlier. This may result in memory leaks. Fix it by decreasing the reference count of "posix_acls" before jumping to label "check_access_bits".
Характеристики атаки
Последствия
Строка CVSS v3.1
Уязвимые продукты 3
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.15
|
5.15.47
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.16
|
5.17.15
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.18
|
5.18.4
|