В ядре Linux устранена следующая уязвимость: net/mlx5e: xsk: исправлен сбой при обычной повторной активации rq. Когда обычный rq повторно активируется после закрытия сокета XSK это может быть чтение устаревших cqes, что в конечном итоге повреждает rq. Это приводит к тому, что трафик по обычному запросу больше не поступает, а сбой при следующем закрытии или деактивации rq.
Кэл Каттлер Конели сообщил об этой проблеме как о сбое в выпуске. путь, когда пример программы xdpsock остановлен (завершен) и перезапущен последовательно во время движения. Этот патч сбрасывает все cqes во время очистки rq. Промывка CQE выполняется в состоянии сброса rq.
Код mlx5e_rq_to_ready перемещен.
в функцию сброса, чтобы учесть это.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: xsk: Fix crash on regular rq reactivation When the regular rq is reactivated after the XSK socket is closed it could be reading stale cqes which eventually corrupts the rq. This leads to no more traffic being received on the regular rq and a crash on the next close or deactivation of the rq. Kal Cuttler Conely reported this issue as a crash on the release path when the xdpsock sample program is stopped (killed) and restarted in sequence while traffic is running. This patch flushes all cqes when during the rq flush. The cqe flushing is done in the reset state of the rq. mlx5e_rq_to_ready code is moved into the flush function to allow for this.
Характеристики атаки
Последствия
Строка CVSS v3.1
Уязвимые продукты 5
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.1
|
6.4.10
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.5:rc1:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.5:rc2:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.5:rc3:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.5:rc4:*:*:*:*:*:*
|
— | — |