CVE-2026-143162: net/mlx5e: SHAMPO, Disable end padding when relaxed ordering is supported
In the Linux kernel, the following vulnerability has been resolved:
net/mlx5e: SHAMPO, Disable end padding when relaxed ordering is supported
When SHAMPO and relaxed ordering writes are enabled, aligned RQ end padding can corrupt received TCP data. Due to reordering, alignment padding written at the end of one packet can overwrite data from the next packet.
The current RQ end padding selection avoids alignment padding for LRO, but not for SHAMPO. Extend the condition to SHAMPO to prevent this corruption.
The issue was observed in a two-host test using a BlueField-3 NIC and an NVIDIA H20 GPU. In the original test with MTU 1500, 354 of 400 transfers contained corrupted data before the fix. After applying this change, all 400 transfers across eight message sizes from 32 KiB to 4 MiB, with 50 transfers per size, completed successfully, with no incorrect bytes or corrupted intervals.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.120 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.66 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.7 - Configuration
Disable RQ end padding for SHAMPO when relaxed ordering is supported.
Linux kernel mlx5e SHAMPO RQ end padding = disabled when relaxed ordering is supported
Event History
Frequently Asked Questions
Which systems are exposed to this data-corruption issue?
Systems using the Linux mlx5e driver with both SHAMPO and relaxed-ordering writes enabled are affected. The reported failure mode is corruption of received TCP data when end-of-packet alignment padding can be reordered.
Is LRO subject to the same end-padding behavior?
The existing receive-queue end-padding selection already avoids alignment padding for LRO. The fix extends that avoidance to SHAMPO.
What should be done to remediate the issue?
Apply a kernel update containing the change that disables aligned receive-queue end padding when SHAMPO and relaxed ordering are used. The supplied stable-kernel references identify commits carrying the fix.