Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8EC4C3603D9 for ; Thu, 25 Jun 2026 09:46:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782380773; cv=none; b=bSEheN3otbyQeb0MqDkiBnMBJ3hq6Aw/NITqTiQfQwSC6tGuo5ZOArRrvIa07ZtPBHuVY9mr+6iFjBIn1hpKojPFiHLloAaCfSAHhzbVzaTNw6ufZEen5rFMJz7r8Cssqv2sMR2KcHfDdxSV2quUtX5sGicpVABRVaMTkTuzhwY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782380773; c=relaxed/simple; bh=gK606t7nZB/k2TA+Fi8CE/I98EIdYDNyU7lBXipQSfI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=CrF7XSoQ8C9nPCSf1bk4CwlFqOphWO0NyAE7jgSjpb0O+iTMijukqmW9iqDIAxKTS4Gbw1qdmVx6rkW7R9oFj9n81KOHzJRwPa8v/gp7k4yRrmcQawSGq4kKb/xwkUZZLQTH0/IaTj7E6MbxLkKbQNQWSB7fSIAncQlAueQNB1A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=YirLaJ2G; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="YirLaJ2G" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EA83F1F000E9; Thu, 25 Jun 2026 09:46:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782380772; bh=bQqcPITqSgZmrMF/qihi4d47MQFz5DNlTcsQJKvCgyM=; h=From:To:Cc:Subject:Date:Reply-To; b=YirLaJ2GVEInNemDHhfSeEDsW6HHyfNOTBciWSg89LKU1JE4SojBzVXisDH91iKm2 VYieb955VgIW7lxKSqh2VCmtbPwHSdrqOhVzWGJtyEiabFpk2pYVheVVscfiSbWrP8 jLGfhQiDwAOW8MS9JwFGDedkDEAOrGC1V7Hz5Jg4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-53270: ipvs: clear the svc scheduler ptr early on edit Date: Thu, 25 Jun 2026 09:41:58 +0100 Message-ID: <2026062518-CVE-2026-53270-0981@gregkh> X-Mailer: git-send-email 2.54.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3895; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=0O1h0gMkhoLN6ZhnVfaN+kKkkSPQvcQVgCE5uTQuCYI=; b=owGbwMvMwCRo6H6F97bub03G02pJDFk2L4vyuPyCp01xia5geJreHLOwWiljX8UW3fkRd638m OWPZbd3xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwETWRDPMD04S9WM/qvBx6u2p xQ+k/5xg4ktjZZhn+5f3rCpLWT7LZul9XsqMSZ+OzYoAAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== 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. The Linux kernel CVE team has assigned CVE-2026-53270 to this issue. Affected and fixed versions =========================== Issue introduced in 4.2 with commit 05f00505a89acd21f5d0d20f5797dfbc4cf85243 and fixed in 5.10.259 with commit d10730a1f2caf08088e0db1b19b242f3e6fa5f06 Issue introduced in 4.2 with commit 05f00505a89acd21f5d0d20f5797dfbc4cf85243 and fixed in 5.15.210 with commit e4feec3174036ba772006be74beee0efa09a9eb8 Issue introduced in 4.2 with commit 05f00505a89acd21f5d0d20f5797dfbc4cf85243 and fixed in 6.1.176 with commit 7d4f5004511757e3984901ffb412fcf858d80ed5 Issue introduced in 4.2 with commit 05f00505a89acd21f5d0d20f5797dfbc4cf85243 and fixed in 6.6.143 with commit c6376b9b1b4d2bad638256b1b3588e073344ae69 Issue introduced in 4.2 with commit 05f00505a89acd21f5d0d20f5797dfbc4cf85243 and fixed in 6.12.94 with commit 14e4689c113b4c06af1069364ade24fdd7055f33 Issue introduced in 4.2 with commit 05f00505a89acd21f5d0d20f5797dfbc4cf85243 and fixed in 6.18.36 with commit 25918720ba97f974a4f8d433b5a0132c5b43f6f3 Issue introduced in 4.2 with commit 05f00505a89acd21f5d0d20f5797dfbc4cf85243 and fixed in 7.0.13 with commit 19a9493faa4bf3c7bd0a386f30b60b1bb4a3da03 Issue introduced in 4.2 with commit 05f00505a89acd21f5d0d20f5797dfbc4cf85243 and fixed in 7.1 with commit 193989cc6d80dd8e0460fb3992e69fa03bf0ff9b Issue introduced in 3.18.23 with commit c803fddd2a95a70873c68dbff42d4c59fd2e674e Issue introduced in 4.1.11 with commit 4ec8fb23158797affae7993c15beba080488482f Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-53270 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: include/net/ip_vs.h net/netfilter/ipvs/ip_vs_ctl.c net/netfilter/ipvs/ip_vs_sched.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/d10730a1f2caf08088e0db1b19b242f3e6fa5f06 https://git.kernel.org/stable/c/e4feec3174036ba772006be74beee0efa09a9eb8 https://git.kernel.org/stable/c/7d4f5004511757e3984901ffb412fcf858d80ed5 https://git.kernel.org/stable/c/c6376b9b1b4d2bad638256b1b3588e073344ae69 https://git.kernel.org/stable/c/14e4689c113b4c06af1069364ade24fdd7055f33 https://git.kernel.org/stable/c/25918720ba97f974a4f8d433b5a0132c5b43f6f3 https://git.kernel.org/stable/c/19a9493faa4bf3c7bd0a386f30b60b1bb4a3da03 https://git.kernel.org/stable/c/193989cc6d80dd8e0460fb3992e69fa03bf0ff9b