CVE-2026-53217: net: mvpp2: sync RX data at the hardware packet offset
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
net: mvpp2: sync RX data at the hardware packet offset
mvpp2 programs the RX queue packet offset, so hardware writes received data at dma_addr + MVPP2_SKB_HEADROOM. The current CPU sync starts at dma_addr and only covers rx_bytes + MVPP2_MH_SIZE bytes, which syncs the unused headroom and misses the same number of bytes at the packet tail.
On non-coherent DMA systems this can leave the CPU reading stale cache contents for the end of the received frame.
Use dma_sync_single_range_for_cpu() with MVPP2_SKB_HEADROOM as the range offset so the sync covers the Marvell header and packet data actually written by hardware.
The Linux kernel CVE team has assigned CVE-2026-53217 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.5 with commit e1921168bbd4810de4197446e52f652cd0dd9541 and fixed in 5.10.259 with commit 60412bdd1b2576659eac23a23d2d9ff96228a643 Issue introduced in 5.5 with commit e1921168bbd4810de4197446e52f652cd0dd9541 and fixed in 5.15.210 with commit 19f8bc139e9b149d1e5bf75ae761d1bb8dd3e7d8 Issue introduced in 5.5 with commit e1921168bbd4810de4197446e52f652cd0dd9541 and fixed in 6.1.176 with commit a3ad9b5767c89531fc7dae951b51b0933dcf7051 Issue introduced in 5.5 with commit e1921168bbd4810de4197446e52f652cd0dd9541 and fixed in 6.6.143 with commit bede0f481b9137d73d1cf64309cbe4b94818a5d6 Issue introduced in 5.5 with commit e1921168bbd4810de4197446e52f652cd0dd9541 and fixed in 6.12.94 with commit 23548007b3c66d628fc7d6b80d1e23be04ea10d9 Issue introduced in 5.5 with commit e1921168bbd4810de4197446e52f652cd0dd9541 and fixed in 6.18.36 with commit a13199fa224e9f776f4005d5037df03aa9ea8f37 Issue introduced in 5.5 with commit e1921168bbd4810de4197446e52f652cd0dd9541 and fixed in 7.0.13 with commit e302206ad84a407a7e5f3f6fe767ff5efaace689 Issue introduced in 5.5 with commit e1921168bbd4810de4197446e52f652cd0dd9541 and fixed in 7.1 with commit 180235600934bef6add3be637c296d6cf3272e67
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-53217
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/60412bdd1b2576659eac23a23d2d9ff96228a643 https://git.kernel.org/stable/c/19f8bc139e9b149d1e5bf75ae761d1bb8dd3e7d8 https://git.kernel.org/stable/c/a3ad9b5767c89531fc7dae951b51b0933dcf7051 https://git.kernel.org/stable/c/bede0f481b9137d73d1cf64309cbe4b94818a5d6 https://git.kernel.org/stable/c/23548007b3c66d628fc7d6b80d1e23be04ea10d9 https://git.kernel.org/stable/c/a13199fa224e9f776f4005d5037df03aa9ea8f37 https://git.kernel.org/stable/c/e302206ad84a407a7e5f3f6fe767ff5efaace689 https://git.kernel.org/stable/c/180235600934bef6add3be637c296d6cf3272e67