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 9BC7A582BBC for ; Fri, 11 Sep 2026 19:53:11 +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=1789156400; cv=none; b=Qj4PGWP99YOO8Gs85RWR/154DSaowGMEjUp0z39eKqI/cOWdrsy48h3KkYQvpN1V+VNJW47jddn1BtQmmLsCgPzDJamaZt98gnWFxWjPFgEj3o/BsnYpmpe2tGucYta0jkQMrYojqCcHxE5PfBZ/u2sd9RtjMmszEALWOjGKbcQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789156400; c=relaxed/simple; bh=fGLo20A7fxjn+AHslXufb6vCC+HN9VEk4JIBfLm2xBU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=NV3izIBxrt7CWlffM457/UPhA7aP2UKx5dhlgnfCOGYlXivM8PRzOXivGBg/pDp1Fw/HuSXhvOxvwiXyyr0OrjBHUJONq2tlTuOns3luFbslW7TkFN+9Y/s7SQaISLTjxNpoW/aJsXG2XU/0eHip60LwpVTNNW6sOcZ9oZqzVac= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=an0kr8++; 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="an0kr8++" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 905CF1F0089B; Fri, 11 Sep 2026 19:53:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789156387; bh=ro5DbBNtnOJT2b8+oYkzT7Jy+SpG6SLAMQ8nYiOFbDQ=; h=From:To:Cc:Subject:Date:Reply-To; b=an0kr8++b8iLaD2eCCuMQYMgtcEsBdEAm8nhyfKjgJjDtFUhh12DUfEtFtEpQXAP4 xdpkd5ulSQETAAuxFkMSAwbwhZI+NT9Z/fL/K8n3xeEhmozjEqOmztcTztalETjCqk 6j9gqZ3a2TlOHZdHtwyqYc//rs/U4BXoW7iaKC0w= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89500: ring-buffer: Make cpu_buffer::free_page a buffer_data_read_page Date: Fri, 11 Sep 2026 21:43:09 +0200 Message-ID: <2026091109-CVE-2026-89500-f807@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=2574; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=s4Er/dUfifzerVKl+p1cNUJIIqnuLgX6lYTOMkpY73I=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlLIsOmuIa+dI1ZczR9Q8/x4M8pyd9Snzo/jkvPnHbSY ZLKcq2HHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRrAMM8/RadRfwLxFXSojZ 07fpyTu+1BPCnAzzFB8I2cjJSHcfX5NseWNy7Ocdia2TAA== 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: Make cpu_buffer::free_page a buffer_data_read_page Discarding a cached reader page after a concurrent ring buffer resize uses the new global subbuf_order for the free_pages() call. This mismatched order may crashes the kernel or leaks memory because the cached page was allocated under the old size. Save the actual free_page order alongside the page address to ensure we always refer to the correct value and do not rely on the potentially stalled cpu_buffer->subbuf_order value. The simplest is to make free_page a buffer_data_read_page which already covers exactly what we need: a page address and a page order. The Linux kernel CVE team has assigned CVE-2026-89500 to this issue. Affected and fixed versions =========================== Issue introduced in 6.8 with commit 8e7b58c27b3c567316a51079b375b846f9223bba and fixed in 6.18.51 with commit a1dabe68fb53730bc0be60c5dbfd3f4c560084e7 Issue introduced in 6.8 with commit 8e7b58c27b3c567316a51079b375b846f9223bba and fixed in 7.2.4 with commit d787d509bdf6c88c85e095247daf7456cb7fb772 Issue introduced in 6.8 with commit 8e7b58c27b3c567316a51079b375b846f9223bba and fixed in 7.3-rc1 with commit 7a1fb95de5404134f8758c1295ce88986bdf117c 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-89500 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/a1dabe68fb53730bc0be60c5dbfd3f4c560084e7 https://git.kernel.org/stable/c/d787d509bdf6c88c85e095247daf7456cb7fb772 https://git.kernel.org/stable/c/7a1fb95de5404134f8758c1295ce88986bdf117c