CVE-2026-139168: net: microchip: fdma: fix DCB corruption under sustained load
In the Linux kernel, the following vulnerability has been resolved:
net: microchip: fdma: fix DCB corruption under sustained load
fdmadcbadd() prepares a DCB and links it into a channel's chain by writing its address to the NEXTPTR of the current last DCB. The FDMA may be processing the chain while this happens.
Before this patch, the link is written before the new DCB's own nextptr and info fields, so the FDMA can follow it to a DCB that hasn't been fully prepared yet. Under sustained load this stalls the FDMA.
Prepare the new DCB fully before linking it, and update the previous DCB's NEXTPTR using the two-step sequence from the datasheet (poison the LSB and flush, then clear it) so the FDMA never observes a partially-updated pointer.
Reported by a customer running iperf3 --bidir against a lan969x board.
Reproduced on lan969x with iperf3, throughput collapsing to zero:
[ 5] 1.00-2.00 sec 73.9 MBytes 620 Mbits/sec 0 305 KBytes [ 5] 2.00-3.00 sec 73.9 MBytes 620 Mbits/sec 0 305 KBytes [ 5] 3.00-4.00 sec 13.9 MBytes 116 Mbits/sec 2 1.41 KBytes [ 5] 4.00-5.00 sec 0.00 Bytes 0.00 bits/sec 1 1.41 KBytes [ 5] 5.00-6.00 sec 0.00 Bytes 0.00 bits/sec 0 1.41 KBytes [ 5] 6.00-7.00 sec 0.00 Bytes 0.00 bits/sec 1 1.41 KBytes
The race is timing-dependent: across three reproductions the stall appeared anywhere from ~400s to ~3000s into the run.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In __fdma_dcb_add(), fully prepare the new DCB before linking it. Update the previous DCB’s NEXT_PTR using the two-step sequence: set the LSB and flush, then clear it, so the FDMA cannot observe a partially updated pointer.
Event History
Frequently Asked Questions
Which systems are known to exhibit the failure?
The issue was reported and reproduced on a lan969x board using the Microchip FDMA driver. The provided information does not identify other affected hardware.
What workload triggers the problem?
The race occurs when the FDMA is processing a descriptor chain while software adds a new DCB to that chain. It was reproduced under sustained bidirectional iperf3 traffic using iperf3 --bidir.
How would this issue appear in production?
The FDMA can stall, causing network throughput to collapse to zero under sustained load. In the reported reproduction, throughput fell from roughly 620 Mbits/sec to zero after several seconds.
Is a fix available?
Yes. The vulnerability is described as resolved; the fix prepares a new DCB before linking it and uses the datasheet-required two-step update for the previous DCB NEXT_PTR. The supplied references point to stable-kernel commits, but no affected or fixed kernel versions are provided.