net: correctly handle tunneled traffic on IPV6_CSUM GSO fallback
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 864e3396976ef41de6cc7bc366276bf4e084fff2 · < c4336a07eb6b2526dc2b62928b5104b41a7f81f5| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
net: correctly handle tunneled traffic on IPV6_CSUM GSO fallback
NETIF_F_IPV6_CSUM only advertises support for checksum offload of packets without IPv6 extension headers. Packets with extension headers must fall back onto software checksumming. Since TSO depends on checksum offload, those must revert to GSO.
The below commit introduces that fallback. It always checks network header length. For tunneled packets, the inner header length must be checked instead. Extend the check accordingly.
A special case is tunneled packets without inner IP protocol. Such as RFC 6951 SCTP in UDP. Those are not standard IPv6 followed by transport header either, so also must revert to the software GSO path.
From the CVE record · Linux
The Linux kernel can incorrectly handle tunneled packets when IPv6 checksum offload must fall back to software GSO. The issue affects packets with IPv6 extension headers and tunneled packets without an inner IP protocol. The input does not specify what an attacker can accomplish or whether network access, authentication, or user interaction is required.
Teams running Linux kernels should check their versions against the vendor advisory; affected versions are not specified.