В ядре Linux устранена следующая уязвимость:
NFSD: защита от переполнения буфера отправки в NFSv2 READ. Еще до эпохи git NFSD сохранял количество страниц.
удерживается каждым потоком nfsd путем объединения приема и отправки RPC
буферы в единый массив страниц. Это работает, потому что есть
нет случаев, когда операция требует большого сообщения RPC Call и
одновременно большой ответ RPC.
После получения вызова RPC svc_process() обновляет
svc_rqst::rq_res для описания части rq_pages, которая может быть
используется для построения ответа. Это означает, что буфер отправки
(rq_res) сжимается, когда полученная запись RPC, содержащая RPC
Звонок большой. Клиент может принудительно сократить TCP, отправив правильное сообщение.
сформированный заголовок RPC Call, содержащийся в записи RPC, которая
чрезмерно большой.
Полный максимальный размер полезной нагрузки не может быть построен в таком случае.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: NFSD: Protect against send buffer overflow in NFSv2 READ Since before the git era, NFSD has conserved the number of pages held by each nfsd thread by combining the RPC receive and send buffers into a single array of pages. This works because there are no cases where an operation needs a large RPC Call message and a large RPC Reply at the same time. Once an RPC Call has been received, svc_process() updates svc_rqst::rq_res to describe the part of rq_pages that can be used for constructing the Reply. This means that the send buffer (rq_res) shrinks when the received RPC record containing the RPC Call is large. A client can force this shrinkage on TCP by sending a correctly- formed RPC Call header contained in an RPC record that is excessively large. The full maximum payload size cannot be constructed in that case.
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 4
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
— |
5.10.220
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.11
|
5.15.75
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.16
|
5.19.17
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.0
|
6.0.3
|