netfilter: flowtable: use dst in this direction when pushing IPIP header
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
netfilter: flowtable: use dst in this direction when pushing IPIP header
When pushing the IPIP header, the route of the other direction is used to calculate the headroom, use the route in this direction. Accessing the other tuple to set the IP source and destination is fine because this tuple does not provide such information to avoid storing redundant information. However, this tuple already provides the dst for this direction, this went unnoticed because this bug affects headroom and iph->frag_off only at this stage.
From the CVE record · Linux
The Linux kernel netfilter flowtable uses the route from the opposite direction to calculate headroom when pushing an IPIP header. This affects headroom and the IP header’s frag_off field; the input does not specify what an attacker could do or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels should check their versions; affected versions are not specified in the input.