Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795100208; b=tjjpDCW+LJ7ZifvhsUH/BxIx2eJX/Ea4gB9P8zeeQAxPyAFGRvuvxhFRQka4I9wM1U8w TtmsxKI7yqpCvZemQMohqTgy0OTgM8hiwqBMY4xEEa03dM2q9d0xXYHLPTKWevBsyVfn/ qt2CoxqE6R9exxvuHixwwhQjPekshVMrM6Hh+E52Yf0QzNTZ84SPWog7f5V785O/gEZsE t2UPT6Zs7WGaf4QA0hhI3/xehJXpHLZvCHK10IAOdRdmGyUigFh2qaUqlhb2yRuRtSPOS YzErnAGJiybN6C3F57wV6LEYwtnWLpre6cV5Wz93bGEiZSFYKa4LEXcxsASyiHNUTNw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795100208; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=8Ic0mXg3EcHLo58lMLO+IvotFGnMIoR2nx62S1SeRas=; b=efQ0oMcC2sYd3dWfrUvqLAwun5UhXMhyFNRxhmnrwUqwdes60CYJ9uhYDShhiiS9PVjW bsgFzTLmMy1fuark3Fwszm1Ri2pbnGtdaLsINMesz/6uU4pCu6MFGdC+TZYcGrMK6BAKw zk4bCAaO8AiujBqvCmInt2QeQmoBsNrVaeB7IKZQxEM3P8m0EZsgwNJMaGjQeWZ0jOWrX ZUmuUMzOifv8JRxdDHZkq0W//BcPsFzdaiELuiiW75cVoCZY5+I8UJhMZmMVKdCCYPHz2 Y4jCsMXR4m6To2PUU6zDTa8tJLC1yFu19w1IcnLH1/sOYqaSBe/QpiBIqXQUw/wVNrA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=fshxvhX8; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7DBBC606A320 for ; Thu, 19 Nov 2026 14:56:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=fshxvhX8 Received: by smtp.kernel.org (Postfix) with ESMTPSA id DA0081F000C6; Thu, 19 Nov 2026 14:56:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795100208; bh=8Ic0mXg3EcHLo58lMLO+IvotFGnMIoR2nx62S1SeRas=; h=From:To:Cc:Subject:Date:Reply-To; b=fshxvhX8Q95APxuEp19c4f1WupwcYR7C+ztZJDDF4LN5dk4f0Ae9pUhQGXMAHlt0I I4J6s+nZCb0hFp4cNry+rJG6MY6I3M4oMZG8hTEueXWtLLstq/qYfYa2yTWNN81lUw ya8MtgfdIhszOQxt20Fbg3CZMV+Jk41GYjG8IHls= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99486: rust: configfs: fix data offset calculation for subsystem callbacks Date: Thu, 19 Nov 2026 15:26:24 +0100 Message-ID: <2026111913-CVE-2026-99486-b73f@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2939; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Nc9xNqrLVUPLjLMzt+wg1sQOOwtpqEMhOA1vUDoBNXg=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/2XoDzfZoNsy+kMN/Wj1w2uHHq8VzGea/XH591vr6+ MxaIY2bHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRbUsZ5pd4rbGqUOJ4OMno veHEW1cildRX5DEs6JyYymHJFP5GSGTHoiWSpmzh8c9fAAA= 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: rust: configfs: fix data offset calculation for subsystem callbacks `get_group_data()` chooses between `Group::::container_of()` and `Subsystem::::container_of()` based on whether `this` represents the root group of a configfs subsystem. It detects this by checking `(*this).cg_subsys.is_null()`, but `link_group()` in `fs/configfs/dir.c` unconditionally sets `cg_subsys` for every `config_group` attached anywhere in a registered subsystem, including the subsystem's own `su_group`. The only `config_group` with a NULL `cg_subsys` is the configfs root, on which userspace cannot trigger callbacks. The check is therefore always false at runtime, and the `Subsystem` branch is dead. Subsystem-level callbacks reach the `Group` branch and may read `data` at the wrong offset. Thus change the `is_root` check to correctly identify whether a group is a root group by comparing `this` to `subsys.su_group`. [ Andreas: Fix clippy warning on 1.85.0 by moving safety comment. ] The Linux kernel CVE team has assigned CVE-2026-99486 to this issue. Affected and fixed versions =========================== Issue introduced in 6.16 with commit 446cafc295bfc0e89da94a482fe8290bd8b429fb and fixed in 6.18.61 with commit dc1744584b2b9cd8a04e1b824f72bfec0e3c3374 Issue introduced in 6.16 with commit 446cafc295bfc0e89da94a482fe8290bd8b429fb and fixed in 7.3.2 with commit b91e8d8c2ed97b49a2fd6c2c9516586a8f2aa3c0 Issue introduced in 6.16 with commit 446cafc295bfc0e89da94a482fe8290bd8b429fb and fixed in 7.4-rc1 with commit e84c9b64df615e658e47561b835c1364dc48f0c0 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-99486 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: rust/kernel/configfs.rs 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/dc1744584b2b9cd8a04e1b824f72bfec0e3c3374 https://git.kernel.org/stable/c/b91e8d8c2ed97b49a2fd6c2c9516586a8f2aa3c0 https://git.kernel.org/stable/c/e84c9b64df615e658e47561b835c1364dc48f0c0