CVE-2026-143273: net: 8139cp: keep Rx masked while NAPI is scheduled
In the Linux kernel, the following vulnerability has been resolved:
net: 8139cp: keep Rx masked while NAPI is scheduled
cprxpoll() calls napicompletedone() and only then takes cp->lock with interrupts disabled to unmask the Rx interrupts. An interrupt that is not masked while polling (TxOK, TxErr, ...) can arrive in between. cpinterrupt() then sees the Rx status bits, which are still set, finds NAPI no longer scheduled, masks Rx and schedules NAPI again. cprxpoll() then carries on and unmasks Rx anyway.
From that point Rx interrupts are enabled while NAPI is scheduled: cpinterrupt() leaves the Rx bits for the poll routine, does not mask them because napischeduleprep() fails, and the level-triggered interrupt fires again as soon as it returns. On an SH7751 LANDISK under combined Tx/Rx load this interrupt storm was captured with a RAM trace right before the board locked up hard.
Mask Rx in cpinterrupt() whenever Rx status is pending, not only when NAPI gets scheduled. If the race leaves Rx unmasked, the next interrupt masks it again, and the pending poll unmasks it when it completes.
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.276 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15.227 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.120 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.66 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.7 - Compensating control
In the Linux kernel 8139cp driver, mask Rx in cp_interrupt() whenever Rx status is pending, not only when NAPI is scheduled.
Event History
Frequently Asked Questions
Which systems are most likely to encounter this issue?
The issue is in the Linux kernel's 8139cp network driver. It was observed on an SH7751 LANDISK during combined transmit and receive load.
What is the operational impact if the race occurs?
The race can leave receive interrupts enabled while NAPI remains scheduled, causing repeated level-triggered interrupts. An interrupt storm was captured immediately before the affected board locked up hard.
Is a configuration-based workaround provided?
No configuration workaround is identified in the supplied information. The described resolution changes the driver's interrupt handling so receive interrupts are masked whenever receive status is pending.