CVE-2026-139369: net/mlx5e: use skb_share_check() in the loopback selftest hook
In the Linux kernel, the following vulnerability has been resolved:
net/mlx5e: use skbsharecheck() in the loopback selftest hook
The loopback hook gets a shared skb when another ETHPIP handler is bound to the device. skblinearize() on a non-linear frame then hits BUGON(skbshared()).
Call skbsharecheck() before linearizing the skb.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.5 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.10.275 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15.226 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.1.193 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.6.163 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.119 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.15 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.65 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.6 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.6-1 - Compensating control
In the net/mlx5e loopback selftest hook, call skb_share_check() before linearizing the skb.
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
Systems using the mlx5e driver can be affected when its loopback selftest hook processes a shared, non-linear skb. The shared skb condition occurs when another ETH_P_IP handler is bound to the device.
What conditions trigger the failure?
The loopback selftest path receives a shared skb and then attempts to linearize a non-linear frame. Calling skb_linearize() on that shared skb hits BUG_ON(skb_shared()).
How can I identify a likely occurrence?
A likely indicator is a kernel BUG involving skb_shared() during skb_linearize(), associated with the mlx5e loopback selftest path. The condition also requires another ETH_P_IP handler to be bound to the affected device.