Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 281C642317B for ; Wed, 4 Feb 2026 16:21:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770222071; cv=none; b=kMchPnYXqV4Elv6YfVARKXd254UQoHXTBPkW0Du1MveS9FhPNJjCywnVs5rSiRIDK5izz8ASkGd90VLvfOkHW+0TSQPY1Zw3ka2gdl5zcpiLnVv3yTYSjVdA6BjHxaDwd7cOeBHWFu/i+P6oK9mu/I6+Ip16FSoKRGBu65CVMqc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770222071; c=relaxed/simple; bh=xwPkI+Jn4a6EK3YIwbrWTr91drRo/1LzlnK8Si+pENs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=A/zhA5Y7COWOMPHkzej77Fpyo4Y/v1QcfwWjcXzwaDBrxhHmrG/e0Gmqm3NbB9M4wLhAgVnjFesofo0JhX+NY0qmE+QRHeAx4QN+q/kEE7xq9oeoebT35we7+2CgIy8ezA8ItBbshPwBQP5RNYqRI21WRn6EaaEOzNbrq+v5A0w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=I/wJJBkh; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="I/wJJBkh" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 94046C4CEF7; Wed, 4 Feb 2026 16:21:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1770222071; bh=xwPkI+Jn4a6EK3YIwbrWTr91drRo/1LzlnK8Si+pENs=; h=From:To:Cc:Subject:Date:Reply-To:From; b=I/wJJBkh1/hjr6gMMsdFzsJKcaXA7Wf9A/kaIb08yXvPZTUafXOeaOBIXJWw0ujmo ytf3fLgFEBc/l7zHHKbQxmmbpYOmHPkLSPYwGxZNfWP4Qc078gh1rzIYUEkE+/Wylz mNTR3vU7wgGfxldIrSQagm1xE7vLAAopezR0gdPY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23103: ipvlan: Make the addrs_lock be per port Date: Wed, 4 Feb 2026 17:15:02 +0100 Message-ID: <2026020429-CVE-2026-23103-63b3@gregkh> X-Mailer: git-send-email 2.53.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=3309; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=CofxiiyM9oEZBkHEiqSsK+owAGSmGqi60RrubVMTnSY=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnNBanSc7zEeDY8MlB7P29OpIJ7+0L9o/Ofz7/im/rq0 oLUj29XdsSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEftsxzNM+9TRWKL8xwXDm 2UdR0cv9K+9O8maYn+/vtu61uVT1xqwo/W1sjXf1Oa8IAwA= 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: ipvlan: Make the addrs_lock be per port Make the addrs_lock be per port, not per ipvlan dev. Initial code seems to be written in the assumption, that any address change must occur under RTNL. But it is not so for the case of IPv6. So 1) Introduce per-port addrs_lock. 2) It was needed to fix places where it was forgotten to take lock (ipvlan_open/ipvlan_close) This appears to be a very minor problem though. Since it's highly unlikely that ipvlan_add_addr() will be called on 2 CPU simultaneously. But nevertheless, this could cause: 1) False-negative of ipvlan_addr_busy(): one interface iterated through all port->ipvlans + ipvlan->addrs under some ipvlan spinlock, and another added IP under its own lock. Though this is only possible for IPv6, since looks like only ipvlan_addr6_event() can be called without rtnl_lock. 2) Race since ipvlan_ht_addr_add(port) is called under different ipvlan->addrs_lock locks This should not affect performance, since add/remove IP is a rare situation and spinlock is not taken on fast paths. The Linux kernel CVE team has assigned CVE-2026-23103 to this issue. Affected and fixed versions =========================== Issue introduced in 4.17 with commit 8230819494b3bf284ca7262ac5f877333147b937 and fixed in 6.6.122 with commit 04ba6de6eff61238e5397c14ac26a6578c7735a5 Issue introduced in 4.17 with commit 8230819494b3bf284ca7262ac5f877333147b937 and fixed in 6.12.68 with commit 1f300c10d92c547c3a7d978e1212ff52f18256ed Issue introduced in 4.17 with commit 8230819494b3bf284ca7262ac5f877333147b937 and fixed in 6.18.8 with commit 6a81e2db096913d7e43aada1c350c1282e76db39 Issue introduced in 4.17 with commit 8230819494b3bf284ca7262ac5f877333147b937 and fixed in 6.19-rc7 with commit d3ba32162488283c0a4c5bedd8817aec91748802 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-23103 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: drivers/net/ipvlan/ipvlan.h drivers/net/ipvlan/ipvlan_core.c drivers/net/ipvlan/ipvlan_main.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/04ba6de6eff61238e5397c14ac26a6578c7735a5 https://git.kernel.org/stable/c/1f300c10d92c547c3a7d978e1212ff52f18256ed https://git.kernel.org/stable/c/6a81e2db096913d7e43aada1c350c1282e76db39 https://git.kernel.org/stable/c/d3ba32162488283c0a4c5bedd8817aec91748802