Skip to contentSkip to conversation

ipvs: two follow-up race fixes for 7.3.y and older

STABLE REQUEST Gyokhan Kochmarla 1 participant 1 message Nov 27

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Hi,

Please consider these two mainline ipvs commits (v7.4-rc4) for the stable trees. They fix regressions in commits that stable already carries. Neither commit has Cc: stable, so they have not been picked up yet:

aa9afc79f57b ("ipvs: read flags and seqs in master atomically")

Fixes 3e3fe49e8678 ("ipvs: fix buffer overflow when sending sync messages")

stable trees with 3e3fe49e8678: 7.3.y 6.18.y 6.12.y 6.6.y 6.1.y 5.15.y 5.10.y

567ca80d77ba ("ipvs: honor the overload state and do not enter it forever")

    Fixes: 3ba20137287f ("ipvs: fix more races around the overload flag")
    stable trees with 3ba20137287f: 7.3.y 6.18.y 6.12.y 6.6.y 6.1.y 5.15.y
    (5.10.y does not have 3ba20137287f, so it is not needed there)

None of these trees has either fix yet. Both commits cherry-pick cleanly, in the order above, onto the current tips: v7.3.6, v6.18.65, v6.12.119, v6.6.163, v6.1.193, v5.15.226 and v5.10.275 (aa9afc79f57b only for v5.10.275).

We carry both commits on 6.18.65 in the Amazon Linux kernel, and net/netfilter/ipvs/ builds cleanly there.
The other trees are only checked for a clean cherry-pick, not build-tested.

Thanks,
Gyokhan