В ядре Linux устранена следующая уязвимость:
xsk: исправить поврежденные пакеты для XDP_SHARED_UMEM. Исправлена проблема в режиме XDP_SHARED_UMEM вместе с выровненным режимом, где
пакеты повреждены для второго и любых дальнейших сокетов, привязанных к
тот же умем. Другими словами, это не влияет на первый сокет.
привязан к умему.
Виновником этой ошибки является то, что инициализация адресов DMA для предварительно заполненных записей буферного пула xsk было не выполняется ни для одного сокета, кроме первого, привязанного к umem. Только был заполнен линейный массив адресов DMA. Исправьте это, заполнив адреса DMA в буферном пуле xsk для каждого сокета, привязанного к то же умем.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: xsk: Fix corrupted packets for XDP_SHARED_UMEM Fix an issue in XDP_SHARED_UMEM mode together with aligned mode where packets are corrupted for the second and any further sockets bound to the same umem. In other words, this does not affect the first socket bound to the umem. The culprit for this bug is that the initialization of the DMA addresses for the pre-populated xsk buffer pool entries was not performed for any socket but the first one bound to the umem. Only the linear array of DMA addresses was populated. Fix this by populating the DMA addresses in the xsk buffer pool for every socket bound to the same umem.
Характеристики атаки
Последствия
Строка CVSS v3.1
Уязвимые продукты 4
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.16
|
5.19.8
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.0:rc1:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.0:rc2:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.0:rc3:*:*:*:*:*:*
|
— | — |