Description
In the Linux kernel, the following vulnerability has been resolved: ipvs: do not keep dest_dst if dev is going down There is race between the netdev notifier ip_vs_dst_event() and the code that caches dst with dev that is going down. As the FIB can be notified for the closed device after our handler finishes, it is possible valid route to be returned and cached resuling in a leaked dev reference until the dest is not removed. To prevent new dest_dst to be attached to dest just after the handler dropped the old one, add a netif_running() check to make sure the notifier handler is not currently running for device that is closing.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
7a4f0761fce32ff4918a7c23b08db564ad33092d to < 11d35b11013442576f35fd9e8a8fc16155101906affected7a4f0761fce32ff4918a7c23b08db564ad33092d to < 64af43033503458c46023e56d6ae7bb0f824b55faffected7a4f0761fce32ff4918a7c23b08db564ad33092d to < bae53b3baf2ff2f45f9205c438818fc055601a54affected7a4f0761fce32ff4918a7c23b08db564ad33092d to < 024eb0bd19f507e6e7f0c7a7e5506d66b5dc1d3eaffected7a4f0761fce32ff4918a7c23b08db564ad33092d to < 8fde939b0206afc1d5846217a01a16b9bc8c7896affected
Linux Linux
Default version status: affected
2.6.39affected0 to < 2.6.39unaffected6.6.160 to ≤ 6.6.*unaffected6.12.75 to ≤ 6.12.*unaffected6.18.14 to ≤ 6.18.*unaffected6.19.4 to ≤ 6.19.*unaffected7.0 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/11d35b11013442576f35fd9e8a8fc16155101906 ↗
- https://git.kernel.org/stable/c/64af43033503458c46023e56d6ae7bb0f824b55f ↗
- https://git.kernel.org/stable/c/bae53b3baf2ff2f45f9205c438818fc055601a54 ↗
- https://git.kernel.org/stable/c/024eb0bd19f507e6e7f0c7a7e5506d66b5dc1d3e ↗
- https://git.kernel.org/stable/c/8fde939b0206afc1d5846217a01a16b9bc8c7896 ↗