В ядре Linux устранена следующая уязвимость:
nfsd: исправлено разыменование NULL в nfs3svc_encode_getaclres
В случае ошибки значение dentry может быть NULL. До версии 20798dfe249a кодер также проверял dentry и
d_really_is_positive(dentry), но мне это кажется излишним — ноль
статуса должно быть достаточно, чтобы гарантировать положительный результат. Это не первый раз, когда мы видим разыменование NULL в случае ошибки.
скрыто при инициализации локальной переменной в кодировщике xdr.
Но Я просмотрел другие недавние переписывания и не нашел ни одного подобные ошибки.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: nfsd: fix NULL dereference in nfs3svc_encode_getaclres In error cases the dentry may be NULL. Before 20798dfe249a, the encoder also checked dentry and d_really_is_positive(dentry), but that looks like overkill to me--zero status should be enough to guarantee a positive dentry. This isn't the first time we've seen an error-case NULL dereference hidden in the initialization of a local variable in an xdr encoder. But I went back through the other recent rewrites and didn't spot any similar bugs.
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 1
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.13
|
5.13.4
|