В ядре Linux устранена следующая уязвимость:
nfsd: исправлено nfsd4_deleg_getattr_conflict при наличии сторонней аренды. Разыменовывать fl->c.flc_owner без предварительного подтверждения небезопасно.
fl->fl_lmops — ожидаемый менеджер. nfsd4_deleg_getattr_conflict()
проверяет fl_lmops, но в значительной степени игнорирует результат и предполагает, что flc_owner
в любом случае это nfs4_delegation. Это неправильно.
С помощью этого патча мы восстанавливаем поведение случая "!= &nfsd_lease_mng_ops". как это было до изменения, упомянутого ниже. Это то же самое, что и текущий код, но без какой-либо ссылки на возможное делегирование.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: nfsd: fix nfsd4_deleg_getattr_conflict in presence of third party lease It is not safe to dereference fl->c.flc_owner without first confirming fl->fl_lmops is the expected manager. nfsd4_deleg_getattr_conflict() tests fl_lmops but largely ignores the result and assumes that flc_owner is an nfs4_delegation anyway. This is wrong. With this patch we restore the "!= &nfsd_lease_mng_ops" case to behave as it did before the change mentioned below. This is the same as the current code, but without any reference to a possible delegation.
Характеристики атаки
Последствия
Строка CVSS v3.1
Уязвимые продукты 6
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.9
|
6.10.8
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.11:rc1:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.11:rc2:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.11:rc3:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.11:rc4:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.11:rc5:*:*:*:*:*:*
|
— | — |