Повреждение памяти в сетевом драйвере hisi_femac в ядре Linux
Linux kernel
Кратко
Злоумышленник в локальной сети может отправлять кадры, которые драйвер записывает в освобождённую память ядра.
Резюме сгенерировано ИИ по данным источников и переведено автоматически.
Исправление
Исправленная версия не указана.
Оригинальное описание (EN)
Оригинальный заголовок: Linux kernel memory corruption in hisi_femac network driver
In the Linux kernel, the following vulnerability has been resolved: net: hisilicon: hisi_femac: Stop the receiver before releasing the RX ring hisi_femac_net_close() frees the receive ring while the RX address queue still holds every address that was pushed to IQ_ADDR. A port that keeps receiving then DMAs arrived frames into buffers that other slab caches have already taken back; on an EC6108V9C (hi3798mv100) the queue still held all 52 armed addresses right after the interface was closed, and had dropped to 43 after 15 s of broadcast traffic. Reset the port before the buffers are released, so that the receiver no longer holds any of their addresses.
Ссылки
- Прочееgit.kernel.org/stable/c/2ddf9e52261fd844aae362459210ddf3b8caea8b
- Прочееgit.kernel.org/stable/c/44f3ae55a2f7e781051c233781345fd30f94ee32
- Прочееgit.kernel.org/stable/c/ac4105f0602f036d02cd42c95359c52b4b416742
- Прочееgit.kernel.org/stable/c/b157822864a39ac7615e5fcdad4e0b401641267d
- Прочееgit.kernel.org/stable/c/650e0bbf510ad4a445d85780e7daf49954191905
- Прочееgit.kernel.org/stable/c/5e3cdfc8554dfc43b90ca13231e694bd145390d5
- Прочееgit.kernel.org/stable/c/a89cd92f8a52bb3b60161d672dd55265db8fa742
- Прочееgit.kernel.org/stable/c/d54b21d824302af52d06574870817fbe14774dab