On Sat, Nov 28, 2026 at 07:34:01PM +1100, Eugene Markus wrote:
> This bug is not theoretical: it has been corrupting memory in the field
> on a BPI-R4 Pro 8X (MT7988A, 8 GiB) running OpenWrt main (r38441,
> kernel 6.18.60) as a home router with a Bitcoin node behind it.
Thank you for the detailed report and the bench data - that is much
stronger evidence than the series had. Your mechanism matches the
analysis: every path that reaches release_desc without a fresh mapping
relies on dma_addr being DMA_MAPPING_ERROR, and before this change the
sentinel was only still true before the first successful mapping in a
poll. The comparison between the old handling and this patch is exactly
the test that was missing.
I have sent the fix to net on its own, with Cc: stable, your Tested-by
and a Reported-by, and a Link to your report:
https://lore.kernel.org/all/patc…@loljews.com/
The jumbo work continues on net-next as v9, without the fix, so it is
not submitted twice:
https://lore.kernel.org/all/patc…@loljews.com/
The v8 cover said the 36-bit fix had not been triggered at runtime;
that was wrong and v9 corrects it.
If you would rather not have the Reported-by, say so and I will drop it.