ipvs: clear the svc scheduler ptr early on edit
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 7.8epss 0.1%
exploitation probability
0.1%top 98% of all CVEs
observed exploitation
nono source reports it
In the Linux kernel, the following vulnerability has been resolved:
ipvs: clear the svc scheduler ptr early on edit
ip_vs_edit_service() while unbinding the old scheduler clears
the svc->scheduler ptr after the scheduler module initiates
RCU callbacks. This can cause packets to use the old
scheduler at the time when svc->sched_data is already freed
after RCU grace period.
Fix it by clearing the ptr early in ip_vs_unbind_scheduler(),
before the done_service method schedules any RCU callbacks.
Also, if the new scheduler fails to initialize when replacing
the old scheduler, try to restore the old scheduler while still
returning the error code.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
Linux · LinuxReferences
https://git.kernel.org/stable/c/14e4689c113b4c06af1069364ade24fdd7055f33https://git.kernel.org/stable/c/193989cc6d80dd8e0460fb3992e69fa03bf0ff9bhttps://git.kernel.org/stable/c/19a9493faa4bf3c7bd0a386f30b60b1bb4a3da03https://git.kernel.org/stable/c/25918720ba97f974a4f8d433b5a0132c5b43f6f3https://git.kernel.org/stable/c/7d4f5004511757e3984901ffb412fcf858d80ed5https://git.kernel.org/stable/c/c6376b9b1b4d2bad638256b1b3588e073344ae69https://git.kernel.org/stable/c/d10730a1f2caf08088e0db1b19b242f3e6fa5f06https://git.kernel.org/stable/c/e4feec3174036ba772006be74beee0efa09a9eb8