PT-2026-166625
CVE-2026-142888
·
Publicado
2026-12-03
·
Atualizado
2026-12-03
Descrição por
Pontuação
N/A
Não disponívelNão há classificações de severidade ou métricas disponíveis. Quando houver, atualizaremos as informações correspondentes na página.
In the Linux kernel, the following vulnerability has been resolved:
eth: bnxt: resize Rx head buffers when rx-copybreak changes
Since rx-copybreak became configurable, bnxt set ring params() sizes
the head buffers to fit at least rx copybreak bytes, and the copybreak
path in bnxt copy data() syncs rx copybreak bytes of the head buffer.
bnxt set tunable() however only updates bp->rx copybreak, and nothing
on the open path recalculates the ring parameters. After raising
rx-copybreak the head buffers keep their old size until some other
setting changes, and bnxt copy data() syncs past their end, into the
next buffer in the page or past the end of the page:
DMA-API: bnxt en 0000:01:00.0: device driver tries to sync DMA memory it has not allocated [device address=0x00000002aa210c40] [size=1024 bytes]
WARNING: kernel/dma/debug.c:1162 at check sync+0x577/0x1eb0, CPU#22: swapper/22/0
Call Trace:
debug dma sync single for cpu+0x66/0x90
bnxt copy data+0x12f/0x290
bnxt rx pkt+0x24ea/0x50f0
bnxt poll work+0x42c/0xc00
bnxt poll p5+0x579/0x17a0
napi poll+0x8b/0x2c0
net rx action+0x58f/0xbb0
Here the head buffers were still sized for the 640B HDS threshold,
four 1kB buffers per page, while rx-copybreak was raised to 1024.
Without coherent DMA or with swiotlb the oversized sync can corrupt
a neighboring buffer owned by the device or by an skb.
The device must be down for rx-copybreak to change, so recalculate the
ring parameters right away, like bnxt set ringparam() does.
Hit while testing patch 1, tested on BCM57504 - boot; set rx-copybreak
to 1024 with the link down (CONFIG DMA API DEBUG); ifup.
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾