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 26728359A99 for ; Sat, 15 Aug 2026 06:13:29 +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=1786774411; cv=none; b=r2Nrp2KY1D5KqJNvQazMm0CBV6PTV/ZkfKzVsPaC6UtDL/Gk/kL5PYVvg2ZOW0gsHHWGe/eH1AzMsf51ejRzeU14v+ECbKRYDLN3TcMnGvhm4SGg5guLHwhsvJC79U8JQz7pz6u5PUfR/T8uGe5M6DXbpSJ+WWgcxYS4Rq3G50s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786774411; c=relaxed/simple; bh=an11a0j1HLi+4g/zRbrrJoYlUbWjhxYB5PH9g5m/56I=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ccozLXR7tNgmbvlkRMCEf1PyQ3FCDQezTTn7yL2KKRXRQD/dvF/x9GVlaNv24nHPI83yHXzzX858+DFp2/dxx6LDHlKLgONAZp2D9SYxQ9timCIIH/UBsbvSdH7ySJiS3vhbu4zRqRK4KkanjpX4ahVpjJYGnrSyP8nnLwHrYzI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=tR+fFcLP; 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="tR+fFcLP" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 377371F000E9; Sat, 15 Aug 2026 06:13:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786774409; bh=81ctRR4kvcqkolmxgOgKW5hAl25FMA6LMr74zHcST64=; h=From:To:Cc:Subject:Date:Reply-To; b=tR+fFcLPBuz9LtYhVsf8rAP1aj8iNsKjFh9v85NaZZwF91E3fXskbQBL1XWhUudS5 C89GpXSUc0euaL7q43gly4GsIJgpuFYeN+0UOV6Bvk12Z1KQ6EZBgQ0PitRGy0cXVX BgvKtO/zoweLMS+j2fJOrfESSvUNDD2AJFFU15p8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72127: netdev-genl: report NAPI thread PID in the caller's pid namespace Date: Sat, 15 Aug 2026 15:03:26 +0900 Message-ID: <2026081529-CVE-2026-72127-00d3@gregkh> X-Mailer: git-send-email 2.55.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=2994; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=jLl2bBtK2UP01dXnMtlWmUfVy3LOFVdulWAVfjEzZSg=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDDv3/WzlKk5tCGD0YUyv8NsVVf1IalXDXrO+/2IbZ 8m0Mr7viGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgInwvGGYyTiRL6i46NW+fyuZ LpbmlsUfjPPrZliw+WdEhkVE+U0vjqty3xTOa/B8qlgFAA== 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: netdev-genl: report NAPI thread PID in the caller's pid namespace netdev_nl_napi_fill_one() reports the NAPI kthread PID in NETDEV_A_NAPI_PID using task_pid_nr(), which returns the PID in the initial pid namespace. NETDEV_CMD_NAPI_GET does not have GENL_ADMIN_PERM and the netdev genl family is netnsok, so a caller in a child pid namespace can issue it. That caller then sees the kthread's global PID, even though the kthread is not visible in its pid namespace, where the value should be 0. Translate the PID through the caller's pid namespace, the same way commit 3799c2570982 ("io_uring/fdinfo: translate SqThread PID through caller's pid_ns") did for the io_uring SQPOLL thread. The doit and dumpit paths both run synchronously in the caller's context, so task_active_pid_ns(current) is the caller's pid namespace. The Linux kernel CVE team has assigned CVE-2026-72127 to this issue. Affected and fixed versions =========================== Issue introduced in 6.8 with commit db4704f4e4dfce835e934609fca735a648ce26e8 and fixed in 6.12.97 with commit fb18095389fe81f140d39585a2624aca9d42227e Issue introduced in 6.8 with commit db4704f4e4dfce835e934609fca735a648ce26e8 and fixed in 6.18.40 with commit 5e4c8e08ce95730c87d6ada0bdbe1131a3c06393 Issue introduced in 6.8 with commit db4704f4e4dfce835e934609fca735a648ce26e8 and fixed in 7.1.5 with commit fd750b694f1f9e1ecb8ca19314e4e21edbb15f42 Issue introduced in 6.8 with commit db4704f4e4dfce835e934609fca735a648ce26e8 and fixed in 7.2-rc1 with commit 1f24c0d01db214c9e661915e9972404c96ca73c0 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-72127 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/netdev-genl.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/fb18095389fe81f140d39585a2624aca9d42227e https://git.kernel.org/stable/c/5e4c8e08ce95730c87d6ada0bdbe1131a3c06393 https://git.kernel.org/stable/c/fd750b694f1f9e1ecb8ca19314e4e21edbb15f42 https://git.kernel.org/stable/c/1f24c0d01db214c9e661915e9972404c96ca73c0