# Re: \[PATCH net\] virtio\_net: check RX buffer length before DMA sync

- From: Vladimir Petrzhikovskii \<hidden\>
- Date: 2026-11-10 15:37:20 
- List: netdev
- Page: https://ratatoskr.run/netdev/2026/11/17907358
- Thread: https://ratatoskr.run/netdev/2026/11/17893430/t.md

```text
On Mon, 09 Nov 2026 21:23:17 +0000, netdev-bot+sashiko@kernel.org wrote:
> Should the Fixes: tag point at 295525e29a5b and/or fb22437c1ba3? It would
> also help to say in the changelog that those trees need a separate fix,
> for example limiting the sync in virtnet_rq_unmap() to the posted length.

Yes, this is right. Since 295525e29a5b virtnet_rq_unmap() syncs with the
used length before any length check, and the mapping covers the whole
frag, so those kernels have the same problem.

v2 will carry Fixes: 295525e29a5b and say in the changelog that kernels
before v7.1 need a separate backport. No code change. We will prepare
that backport for stable separately.

pw-bot: cr
```
