CVE-2026-142905: net: stmmac: selftests: use skb_share_check() in the loopback receive hook
In the Linux kernel, the following vulnerability has been resolved:
net: stmmac: selftests: use skbsharecheck() in the loopback receive hook
The loopback hook gets a shared skb when another ETHPIP handler is bound to the device. skbunshare() does not unshare it, so skblinearize() on a non-linear frame hits BUGON(skbshared()).
Use skbsharecheck() instead.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In the net: stmmac selftests loopback receive hook, use skb_share_check() to unshare the skb before processing it.