Linux: ipvs: bound LBLCR and LBLC cache growth
What fixes it
- 31028d7b970962fbeda1e9131405c76551094300LinuxCVE List
- 6316d17324bd4ca400c26adb7b656c6e3447c209LinuxCVE List
- 16c83c047ecfaf226ad81d45d77fa11a3184d0e4LinuxCVE List
- 2a3c3de660f96865f303fd25f1285f2ffbfd521dLinuxCVE List
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Description
In the Linux kernel, the following vulnerability has been resolved:
ipvs: bound LBLCR and LBLC cache growth
ip_vs_lblcr_new() and ip_vs_lblc_new() create cache entries for every previously unseen destination address. The table max_size only tells the periodic collector to reclaim entries after the cache has already exceeded the limit. It does not reclaim entries that the attacker continues to use.
Reject new cache entries once either table reaches max_size * 3 / 2. The extra headroom lets the periodic collector catch up while the existing scheduler fallback continues to use the selected destination when cache creation fails. New traffic therefore stays serviceable without growing the tables further.
Text from CVE List
Affected versions 12
- Linuxaffected: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before bc9ff8e64771cc32a216953fe615386f46ac1eaaCVE List
- Linuxaffected: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 31028d7b970962fbeda1e9131405c76551094300CVE List
- Linuxaffected: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 6316d17324bd4ca400c26adb7b656c6e3447c209CVE List
- Linuxaffected: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 16c83c047ecfaf226ad81d45d77fa11a3184d0e4CVE List
- Linuxaffected: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 2a3c3de660f96865f303fd25f1285f2ffbfd521dCVE List
- Linuxaffected: 2.6.12CVE List
- Linuxunaffected: all versions before 2.6.12CVE List
- Linuxunaffected: 6.6.160 through 6.6.*CVE List
- Linuxunaffected: 6.12.113 through 6.12.*CVE List
- Linuxunaffected: 6.18.56 through 6.18.*CVE List
- Linuxunaffected: 7.2.10 through 7.2.*CVE List
- Linuxunaffected: 7.3CVE List
References 5
- git.kernel.org/stable/c/bc9ff8e64771cc32a216953fe615386f46ac1eaaReferencevia CVE List
- git.kernel.org/stable/c/31028d7b970962fbeda1e9131405c76551094300Referencevia CVE List
- git.kernel.org/stable/c/6316d17324bd4ca400c26adb7b656c6e3447c209Referencevia CVE List
- git.kernel.org/stable/c/16c83c047ecfaf226ad81d45d77fa11a3184d0e4Referencevia CVE List
- git.kernel.org/stable/c/2a3c3de660f96865f303fd25f1285f2ffbfd521dReferencevia CVE List