В ядре Linux устранена следующая уязвимость:
nfsd: не игнорируйте код возврата svc_proc_register()
В настоящее время nfsd_proc_stat_init() игнорирует возвращаемое значение
svc_proc_register(). Если создание procfile завершается неудачей, ядро
ПРЕДУПРЕЖДАЕТ, когда позже попытается удалить запись. Исправьте nfsd_proc_stat_init(), чтобы он возвращал тот же тип указателя, что и
svc_proc_register() и исправьте nfsd_net_init(), чтобы проверить это и получить ошибку.
конструкция nfsd_net, если она встречается.
svc_proc_register() может завершиться ошибкой, если dentry не может быть выделена или если
идентичная стоматология уже существует.
Второй случай маловероятен
кодовый путь конструкции nfsd_net, поэтому в этом случае верните -ENOMEM.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: nfsd: don't ignore the return code of svc_proc_register() Currently, nfsd_proc_stat_init() ignores the return value of svc_proc_register(). If the procfile creation fails, then the kernel will WARN when it tries to remove the entry later. Fix nfsd_proc_stat_init() to return the same type of pointer as svc_proc_register(), and fix up nfsd_net_init() to check that and fail the nfsd_net construction if it occurs. svc_proc_register() can fail if the dentry can't be allocated, or if an identical dentry already exists. The second case is pretty unlikely in the nfsd_net construction codepath, so if this happens, return -ENOMEM.
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 3
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
— |
6.12.24
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.13
|
6.13.12
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.14
|
6.14.2
|