CVE-2026-100048: net: bgmac: enable interrupts only after NAPI is ready
In the Linux kernel, the following vulnerability has been resolved:
net: bgmac: enable interrupts only after NAPI is ready
bgmacopen() calls bgmacchipinit(), which unmasks the interrupts and enables the MAC receiver, before requestirq() and napienable(). bgmacenetresume() also enables NAPI only after bgmacchipinit().
When frames arrive in that window, the first RX interrupt masks all interrupts in bgmacinterrupt() and calls napischedule() on a NAPI instance that is still disabled, so nothing is scheduled. Nothing unmasks the interrupts again, the RX ring fills up and the interface stays deaf until it is brought down and up without traffic.
On an Asus RT-N16 (BCM4716) a single "ip link set eth0 down/up" while a host sends UDP to the router left INTMASK at 0, INTSTATUS with RX pending and the RX DMA idle on a full ring, with the RX packet and interrupt counters no longer moving. With this change, 10 of 10 such cycles recovered on their own.
Request the IRQ and enable NAPI before the chip is initialized.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In the Linux bgmac driver, request the IRQ and enable NAPI before initializing the chip so interrupts are not enabled before NAPI is ready; apply this ordering in both bgmac_open() and bgmac_enet_resume().
Event History
Frequently Asked Questions
What systems are most likely to experience this issue?
Systems using the Linux kernel bgmac Ethernet driver are affected when traffic arrives during interface open or resume. The reported reproduction was on an Asus RT-N16 with BCM4716, but the description does not limit the issue to that device.
What conditions trigger the failure?
A frame must arrive after bgmac initialization has enabled interrupts and the MAC receiver, but before the IRQ is requested and NAPI is enabled. This can occur during interface bring-up or resume; the report reproduced it while a host sent UDP traffic as eth0 was cycled down and up.
What is the operational impact if the race occurs?
The first receive interrupt can mask all interrupts while NAPI scheduling does not occur because NAPI is disabled. The RX ring can then fill, leaving the interface unable to receive traffic until it is brought down and up again without traffic.
What can be done if an updated kernel is not immediately available?
Avoid traffic during bgmac interface bring-up and resume where possible. If the interface becomes unresponsive, bring it down and back up without concurrent traffic to restore reception.