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 DE16D51AEF4 for ; Thu, 17 Sep 2026 16:33:24 +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=1789662806; cv=none; b=KHhHtp+Jng5ZzxLUeIRimkYMellyfgpdKFMHPq1ts0MTXArYWsvxO2DiZR0ztEEIAFC0MV1jCztIFpJD38IlDEcCI8YnKy58/5EgnAB+vzFMY9qnMFFKdf3tt2Zl9H13hVoN3IAy4Xvs0PLYdKHBhhYA+RyTtvEpd6Th/9BVQnY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789662806; c=relaxed/simple; bh=H8B7RQw12pCVkFLgC5Wfsg3OqTHVKBTKG5f/AtmXk2c=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=TGf3NhPgjZMotW7RB1neOpiZfSzy1bwpa71qYQUDR1qxQyx6XtF1OS46Pjldj3hcHIxnZTAe8Pgwtl5Jd0iY2+2QUSm/MpB/uH2+8FOkq/mAm/wTimqHnptPpEbGKTyrQVRM+FpaYuSqIqPlRvprzXxlRmd2zVgo3vZrD3css3I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=QiE8XZwl; 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="QiE8XZwl" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3AFBA1F00893; Thu, 17 Sep 2026 16:33:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789662804; bh=MCDasQXI+y8kQuHqRdZbAkWXnxrabfULPsnjEYq4tfc=; h=From:To:Cc:Subject:Date:Reply-To; b=QiE8XZwloegNd8bEIUyWWDDDkvfNqsuMr8RyWqWl99l0OT52BfhtNK7PwQYO7RNbk Pcw9NVZeVUWToEDDDPn33KwoaEYU6jqvivc9nDV5sJ8wb7Y192A16XndjR4wJkAd/g 7bDN097mhoT8fEkSSLEULB6Rk3vcYhZz7Dl2GGDE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-92515: bpf: Preserve unique-field state across nested structs Date: Thu, 17 Sep 2026 17:15:05 +0100 Message-ID: <2026091729-CVE-2026-92515-70e0@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=2794; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Gfb+of8rtoYHdJ5t0GvJimd7rbdbtE0OElAGn8WqD64=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBHZylBhqn/61ZFlOxo0zgokd503jlnizHOlYp5U7T 0V+VoxyRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExEP4BhnrbpnLBFZyvXON98 FrH29O7WAukH7AxzxUqkDxcef/JW5uwc9pXnM96+mDR3LgA= 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: bpf: Preserve unique-field state across nested structs btf_find_struct_field() initializes a fresh seen mask for every recursive descent. Unique special fields in different levels of the same aggregate therefore do not see one another. The duplicate fields can reach btf_parse_fields(), where they trigger an invariant WARN_ON_ONCE(). A crafted user BTF can consequently trigger the warning before map creation checks capabilities. Initialize the seen mask once in btf_find_field() and pass the same pointer through struct, datasec, and nested-struct walks. This gives the entire field traversal one shared uniqueness state. The Linux kernel CVE team has assigned CVE-2026-92515 to this issue. Affected and fixed versions =========================== Issue introduced in 6.11 with commit 64e8ee814819f21beeeda00d4119221443d77992 and fixed in 6.12.110 with commit cec97102d4147e18568c93946014c4c8ebf86fcf Issue introduced in 6.11 with commit 64e8ee814819f21beeeda00d4119221443d77992 and fixed in 6.18.52 with commit 28d5f20ed022ade0fb0bfbf50b78fec782083175 Issue introduced in 6.11 with commit 64e8ee814819f21beeeda00d4119221443d77992 and fixed in 7.2.6 with commit 373a1e9366e711b89bc5e45bd6edf33ef62402cd Issue introduced in 6.11 with commit 64e8ee814819f21beeeda00d4119221443d77992 and fixed in 7.3-rc1 with commit f08619f060468076e4acbdc10e0713af20d60e65 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-92515 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: kernel/bpf/btf.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/cec97102d4147e18568c93946014c4c8ebf86fcf https://git.kernel.org/stable/c/28d5f20ed022ade0fb0bfbf50b78fec782083175 https://git.kernel.org/stable/c/373a1e9366e711b89bc5e45bd6edf33ef62402cd https://git.kernel.org/stable/c/f08619f060468076e4acbdc10e0713af20d60e65