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 E9A91495524 for ; Fri, 25 Sep 2026 10:34:51 +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=1790332493; cv=none; b=Cb9m5YEyP0qNEJ1L5vICiqrUJUEfWxcrdIeaZCmQAcjllCN41pKhwbnAPwVfdwL+e9jsCwg9c4iVsZFEBDOQnUHFMWYoxUa5B3KF6cxZttOuHpqpPQEM8tBTFe+7dGQa4DKXOXaEnJaqIbY9ITP4nCjivkNNPsCNQzMhrsdsvKo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790332493; c=relaxed/simple; bh=RLo6hZuKa2dmBy8ucF44yEMZwHyEg60uRxx8jAGQVRw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=X28SmOjaWjouiboLmtqf8LzFjCy7lshTm7C3ypadBLBRn2RXo53Vq9YV+rCOQAZvFwMg6R0lld4GECbcY19M72h3/X5mMEok0qycpus9uacplXSNWA4gWce2UHIx239i5KZXhbvZG19jjEYctcJCz25QnRjnIe+4URGF+cRJ2dM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Xt0J+FIy; 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="Xt0J+FIy" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4F5B31F000FF; Fri, 25 Sep 2026 10:34:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790332491; bh=e6dOPuEbMZMWKT2Wxcnf+RSZDmOfpeeZZYgxnugbVz4=; h=From:To:Cc:Subject:Date:Reply-To; b=Xt0J+FIyawuI3FyPkUhNHGb7x6793rLoNVAMhViKh4o6J5KpJfFFN9+42Tp8IMC1D MzwQ1mHF2IPiOfLAWpDMevvw8GPcgcbx34IDWqL4xsHZts9hI4VboqB2UPGecXN/Je oMhysB/IzU6P/F/csZGBCBcOED+qw5+mHjDmTxY4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98057: ring-buffer: Add checking nr_subbufs to persistent ring buffer validation Date: Fri, 25 Sep 2026 12:25:59 +0200 Message-ID: <2026092533-CVE-2026-98057-66ec@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=2386; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=7zwE938dwXvaopaC6gijwD3IrNiEoe2QJsmr9TOWAFg=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnbvDPVFE7sbvr23cp076U7Dyv5Z0aGZl66k5Urpli+a 1X805LGjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiI4AyGBSvOhv83bmbe3Pbr Y8Vz2W+H4s6bRzMsuPIo865SxC1hv4TiOwteKRX33t91EAA= 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: ring-buffer: Add checking nr_subbufs to persistent ring buffer validation Sashiko reported that the code was using meta->nr_subbufs without making sure that it matched the nr_pages + 1 on data that was assuming the two were the same. Add a check to the persistent ring buffer validation code to make sure that the saved nr_subbufs matches what we expect. The Linux kernel CVE team has assigned CVE-2026-98057 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12.16 with commit 3ec743d558f111d8999aea24577ba66c65ee2eeb and fixed in 6.12.111 with commit f0467190e6a9fc61e343c8064ef16aad513788c3 Issue introduced in 6.14 with commit f5b95f1fa2ef3a03f49eeec658ba97e721412b32 and fixed in 7.2.7 with commit 69d502457e3f76142f7fcf6e2625e80e0ce8a60f Issue introduced in 6.14 with commit f5b95f1fa2ef3a03f49eeec658ba97e721412b32 and fixed in 7.3-rc2 with commit 6c001a62c34f13fe1c6a24304c289b387d9e697d Issue introduced in 6.13.4 with commit 0d547a6f5e8fad26ebc12f501d7d19fccdbad6bf 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-98057 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/trace/ring_buffer.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/f0467190e6a9fc61e343c8064ef16aad513788c3 https://git.kernel.org/stable/c/69d502457e3f76142f7fcf6e2625e80e0ce8a60f https://git.kernel.org/stable/c/6c001a62c34f13fe1c6a24304c289b387d9e697d