CVE-2026-99864: net: hisilicon: hisi_femac: Stop the receiver before releasing the RX ring
In the Linux kernel, the following vulnerability has been resolved:
net: hisilicon: hisifemac: Stop the receiver before releasing the RX ring
hisifemacnetclose() frees the receive ring while the RX address queue still holds every address that was pushed to IQADDR.
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.10.275 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15.226 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.1.193 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.6.163 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.117 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.63 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.4 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.117-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.4-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.117-1Fixed in 7.3.4-1 - Compensating control
In hisi_femac_net_close(), reset the port and stop the receiver before releasing the RX ring buffers.
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
Systems using the Linux kernel hisi_femac network driver are exposed when an affected interface is closed while it can still receive traffic. The described behavior was observed on an EC6108V9C (hi3798mv100).
What conditions are required for the unsafe DMA to occur?
The interface must be closed, causing the receive ring buffers to be released while the RX address queue still retains their addresses. Continued incoming traffic, including broadcast traffic, can then cause the port to DMA frames into memory that has been returned to other slab caches.
Is traffic required after the interface is closed?
Yes. The receiver must continue receiving after closure for frames to be DMAed using the stale addresses retained in the RX address queue.
What does the fix change?
The fix resets the port before releasing RX buffers. This stops the receiver and ensures it no longer retains addresses of buffers being freed.