В ядре Linux устранена следующая уязвимость:
SUNRPC: блокировка -> смена носков во время чтения sysfs
->sock может быть установлен в NULL асинхронно, если не сохранен ->recv_mutex. Поэтому важно удерживать этот мьютекс. В противном случае чтение sysfs может
вызвать ой.
Зафиксируйте 17f09d3f619a («SUNRPC: проверьте, подключен ли xprt перед обработка чтения sysfs"), похоже, пытается решить эту проблему, но это только сужает окно гонки.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: SUNRPC: lock against ->sock changing during sysfs read ->sock can be set to NULL asynchronously unless ->recv_mutex is held. So it is important to hold that mutex. Otherwise a sysfs read can trigger an oops. Commit 17f09d3f619a ("SUNRPC: Check if the xprt is connected before handling sysfs reads") appears to attempt to fix this problem, but it only narrows the race window.
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 5
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.10.67
|
5.11
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.13.19
|
5.16.10
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:5.17:rc1:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:5.17:rc2:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:5.17:rc3:*:*:*:*:*:*
|
— | — |