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 D2D7826ACC for ; Thu, 30 Apr 2026 10:34:58 +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=1777545298; cv=none; b=X5pinUbJtp30LgydT2TLX9YlMFS6Dn92IEKOFSCFD2e4IxWoNpHZT0WZkGJCejkV4OowaiHAVzLmx2apMPiegau/4EOVkeEex/bD0BXq5981J943qaU4ej5sfRjr5shAUnVw8VR4GbMEHjchKO3Pjv0558ZYV1gjvAOwpb9isCw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777545298; c=relaxed/simple; bh=pD8+95/8QhGJ+olA0Topy0l7NSDDL29/+krtkyspaWM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=aVSl5gNBzqvw5I0JiJltwedrYvFN0FRiTAEsJ3AT5TxjhNziWAsDb2jEUy7BkB5HbU2ndozG0Bw6WYpEqW7w7Tj/C/Jwt1UledoWgq82Nw6LegNTFQdDB4Ewgj9Kpnj/MiXfVyxC/w0Gh1grd0wrxMMoW8G66uc8/cD7dKf18aU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=IcnsvyD/; 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="IcnsvyD/" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 12E67C2BCB3; Thu, 30 Apr 2026 10:34:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1777545298; bh=pD8+95/8QhGJ+olA0Topy0l7NSDDL29/+krtkyspaWM=; h=From:To:Cc:Subject:Date:Reply-To:From; b=IcnsvyD/MHQkwM72CeZ2YsSLTHV0JfXEbPAi/nZztncbLN4gjjzy+MuR1oeMaw7An c70GDuFpV8BZyF/eXr3K8lhqV4wVMSxUWhe9J2qCFxAviguqxHWRXDgTiyemAP3dTo t+TfFhndsghmCHFg4SziqmUwZm2VFky3PC1IonRA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31692: rtnetlink: add missing netlink_ns_capable() check for peer netns Date: Thu, 30 Apr 2026 12:34:55 +0200 Message-ID: <2026043054-CVE-2026-31692-5f89@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=2392; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=+7s8LU3BlnTeUtCB3fZ/gvAhole5OPpOXZoWBHfAHhU=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmfDfwaFOLtEoq3TvB6u8xX8o+XzjyWbsFFeSrreme2/ Fz1eppZRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzEhJ1hrkRv8PO9fAcLOvbF +NaG7/mYq3hQmWGeVXnkEjeeOZt+FCZP1DfdudTT/esbAA== 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: rtnetlink: add missing netlink_ns_capable() check for peer netns rtnl_newlink() lacks a CAP_NET_ADMIN capability check on the peer network namespace when creating paired devices (veth, vxcan, netkit). This allows an unprivileged user with a user namespace to create interfaces in arbitrary network namespaces, including init_net. Add a netlink_ns_capable() check for CAP_NET_ADMIN in the peer namespace before allowing device creation to proceed. The Linux kernel CVE team has assigned CVE-2026-31692 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.33 with commit 81adee47dfb608df3ad0b91d230fb3cef75f0060 and fixed in 6.18.24 with commit 0975b64ffb34560042090a5986c3a02e6c80f36f Issue introduced in 2.6.33 with commit 81adee47dfb608df3ad0b91d230fb3cef75f0060 and fixed in 6.19.14 with commit d04cc16d3624218a5458b2b664ae431f1b3b334d Issue introduced in 2.6.33 with commit 81adee47dfb608df3ad0b91d230fb3cef75f0060 and fixed in 7.0 with commit 7b735ef81286007794a227ce2539419479c02a5f 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-31692 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: net/core/rtnetlink.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/0975b64ffb34560042090a5986c3a02e6c80f36f https://git.kernel.org/stable/c/d04cc16d3624218a5458b2b664ae431f1b3b334d https://git.kernel.org/stable/c/7b735ef81286007794a227ce2539419479c02a5f