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 EA8FF318BB6 for ; Sun, 25 Jan 2026 14:37:42 +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=1769351863; cv=none; b=i8KFBQMCmdEClu+HoQdSJ6EryhMaMK9KvRErRGY0ENyB1ZbM+1X7mUfECvC7H6P3tY1UVqobqNzIfFIuUW/Y0mgTJ9iFDmE5wg/UYMrAk6fVduCNFovR21hh+4w15V8VY+OPXF9Xs4kRw0FFcvJoAagx+pyhvtIh74G7TH9KLN8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769351863; c=relaxed/simple; bh=oDL/flUM43KApc/6Ue4vuf/UbnLV38ylOeZs163fBo8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=IC/v9bjsGCc/LngBGZfqlYqCdF6bkF/Sz8q0gtuGMeKQOEslKCcGDSL61T+a2xFtuas8SNYYSDiy3vzccpxZe08UUFP9cHmRY7fOjCjncperXoysJ0cTzoWJJ84qqL0yUF55MCZy+6P3/5vRHBU5aB6z3jXtcSSjvVbFE9dFGxQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=15hC2d2U; 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="15hC2d2U" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5D63AC4CEF1; Sun, 25 Jan 2026 14:37:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1769351862; bh=oDL/flUM43KApc/6Ue4vuf/UbnLV38ylOeZs163fBo8=; h=From:To:Cc:Subject:Date:Reply-To:From; b=15hC2d2Uqkv9s+z7KH7kOxtHZqqV1FqnglMpgevfb3EsW1wy7K6mUc7rIrFgKbhaC lMenrL57YWBlhA0SqB1jyBpwmIy/Hos4e3xrD4LpFw/CBxmoPod/eD3v2j7IgVgiR5 Ucc4Shu/51L3nr9dz+6E3SK0XW23ogOn9bosayhw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23001: macvlan: fix possible UAF in macvlan_forward_source() Date: Sun, 25 Jan 2026 15:36:37 +0100 Message-ID: <2026012534-CVE-2026-23001-7ab0@gregkh> X-Mailer: git-send-email 2.52.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=2448; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ZnTC7PmaBGCGKGij4OBGxUR/vNN4UZ4zmKPFgkvDs50=; b=owGbwMvMwCRo6H6F97bub03G02pJDJllWkXtxy+E9L1f8Eu4Xb44Y/YU+yhGB/cNZQKTq9S+/ xL/9y24I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACby7TjDggUHTp4vlFofvara rEvHwNs1Wa/kGsOCftewB5+DDftaMw7ZKXx8JHIxfpcdAA== 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: macvlan: fix possible UAF in macvlan_forward_source() Add RCU protection on (struct macvlan_source_entry)->vlan. Whenever macvlan_hash_del_source() is called, we must clear entry->vlan pointer before RCU grace period starts. This allows macvlan_forward_source() to skip over entries queued for freeing. Note that macvlan_dev are already RCU protected, as they are embedded in a standard netdev (netdev_priv(ndev)). https: //lore.kernel.org/netdev/695fb1e8.050a0220.1c677c.039f.GAE@google.com/T/#u The Linux kernel CVE team has assigned CVE-2026-23001 to this issue. Affected and fixed versions =========================== Issue introduced in 3.18 with commit 79cf79abce71eb7dbc40e2f3121048ca5405cb47 and fixed in 6.12.67 with commit 8518712a2ca952d6da2238c6f0a16b4ae5ea3f13 Issue introduced in 3.18 with commit 79cf79abce71eb7dbc40e2f3121048ca5405cb47 and fixed in 6.18.7 with commit 6dbead9c7677186f22b7981dd085a0feec1f038e Issue introduced in 3.18 with commit 79cf79abce71eb7dbc40e2f3121048ca5405cb47 and fixed in 6.19-rc6 with commit 7470a7a63dc162f07c26dbf960e41ee1e248d80e 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-23001 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/macvlan.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/8518712a2ca952d6da2238c6f0a16b4ae5ea3f13 https://git.kernel.org/stable/c/6dbead9c7677186f22b7981dd085a0feec1f038e https://git.kernel.org/stable/c/7470a7a63dc162f07c26dbf960e41ee1e248d80e