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 DF3E159B687 for ; Thu, 17 Sep 2026 16:33:27 +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=1789662809; cv=none; b=scBJ/ySW8OKDC44A9BjHB3BjWB2NA5WJHpUoyR49Dnrd5PuFJRYVaY+cEpAgpGsXzkQUxk3x7RyeqL95PyF1vpv8GsZ8njq65yY1NQDQiWdCZhH1PLByAc2acdIhBpNRv6c58ZlAEZHw3B8TD1kl7JP1HDq4jstajEENiusZp0I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789662809; c=relaxed/simple; bh=pT3XHUnpbbRDb6MbmH52VjouxYRIUBd3GdYBI2R9S4Q=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=gm/XwNUJ3q/MTTuLPBzGhGgGK8JUzrpOodwJi32wgUefi842WOEcRovEdGPTZP9ldCEyq7d0cG1bEfNRkmjAKzEcYHJaDOOv0hD6QVRQ2Klc20byoo7LosZ376pUw2yOuNDFyTd3G1vRAPg652mZpTFCnV8NJw6mKBD1UyKrWIU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=wr5K5shk; 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="wr5K5shk" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3DDBD1F00893; Thu, 17 Sep 2026 16:33:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789662807; bh=QRrEmtAKfMRjueuHYBf49tGc3Hksp2gp7S2/RO90I7E=; h=From:To:Cc:Subject:Date:Reply-To; b=wr5K5shkoh5C1mTwUDtNKEKK0KbqtkLQC3hhBI9PkdrhShCE3krYjt/fCorLD+bO1 /Ehm2hLLW0KTaHZBsr3XlRCKDuLBspUgHaoJgxC2vyy/QRerESezPIXU7Axa7Lu4Au Htf93crb9Z8flEmAUmnifmiQpvC0UrwxpqTwXcfY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-92516: bpf: Fix offset warn check for bpf_res_spin_lock Date: Thu, 17 Sep 2026 17:15:06 +0100 Message-ID: <2026091730-CVE-2026-92516-cf91@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=2147; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=CnXp4tIgWQftUakH5GT1Pf1MeKtBGCBKStxJ44yTlMw=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBHa9XT+F943JdrHW6GeffLxqBViz3/9hS7rZxS+Zt NdiQ//SjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIRRaGeWpRIWl7hXi82O5c K3Fa3LHtSMKWUwzzPWXKGevXT/1ikFCS5rP2cfT9gsvHAA== 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: Fix offset warn check for bpf_res_spin_lock Sashiko pointed out correctly that the case statement for BPF_RES_SPIN_LOCK incorrectly checks offset for BPF_SPIN_LOCK. Fix it by checking res_spin_lock_off instead. The Linux kernel CVE team has assigned CVE-2026-92516 to this issue. Affected and fixed versions =========================== Issue introduced in 6.15 with commit 0de2046137f976e7302d43ac01d9894d07ac1fff and fixed in 6.18.52 with commit dfdce1f20a7e5e826165c556fd3367c65387e966 Issue introduced in 6.15 with commit 0de2046137f976e7302d43ac01d9894d07ac1fff and fixed in 7.2.6 with commit 92356df4aa2b044b62bc7e45e0d99231af147f29 Issue introduced in 6.15 with commit 0de2046137f976e7302d43ac01d9894d07ac1fff and fixed in 7.3-rc1 with commit 04e19012efaec2bfd8c3b37fd8a6c3f1fe731ffc 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-92516 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/dfdce1f20a7e5e826165c556fd3367c65387e966 https://git.kernel.org/stable/c/92356df4aa2b044b62bc7e45e0d99231af147f29 https://git.kernel.org/stable/c/04e19012efaec2bfd8c3b37fd8a6c3f1fe731ffc