Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 A398B51C3E for ; Fri, 17 May 2024 13:27:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715952469; cv=none; b=RIn7fXbzXtBVLZSn2fnTqa/ThhsvEDWR07ywVo/g5OWCJoaBI4Jomjf484kMd8zWHAinf5Cqe9msYrxZjPyuHJir/A6ly0Wc3ZCin+NsHfTDh5n36ovQraS2mPKtBpv5GKB57do9+FU/x2xNQm3duokOYe76hdMOyf5dMRo2ISI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715952469; c=relaxed/simple; bh=aGRQvLFjDzvV7Ze+Vd0VrQjkXUhXvSUJNwD1pEssmS4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=C2rSYvIoIHMI6UAgClC22N/dXFJWDrZkHYx1w+0CHnExQa4zw45gYn4BIhZEIJoFxkMrmbnIDgheiAJOBMh2Q6auu7vDfqh3OnI3/J8DWPn8p3LZfn04Ad5hPnhIiE9UoLR0qsi0HnNQuWr1uLeGzEjwS4b6+AMWTxEepRHLYp4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=dUcK0QKx; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="dUcK0QKx" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D63BAC2BD10; Fri, 17 May 2024 13:27:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1715952469; bh=aGRQvLFjDzvV7Ze+Vd0VrQjkXUhXvSUJNwD1pEssmS4=; h=From:To:Cc:Subject:Date:Reply-to:From; b=dUcK0QKxfdCkbYcOY7MJIc5C/r+pbj7ck1LoQi0BavaubGDTzrl09nj2VSsb807ko B6ojL3CCFxqHERldWmlRiNqnhNExMS5yeG4KbljnttDHx2CkAbCkTUXa64LnkvrbcS BkgLs3UoxqQrxj9y90KnWqsX3trGyTKrBbMpfcfw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-35826: block: Fix page refcounts for unaligned buffers in __bio_release_pages() Date: Fri, 17 May 2024 15:27:38 +0200 Message-ID: <2024051737-CVE-2024-35826-c17f@gregkh> X-Mailer: git-send-email 2.45.1 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2501; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=aGRQvLFjDzvV7Ze+Vd0VrQjkXUhXvSUJNwD1pEssmS4=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnu0Z4bOI9GOtnJtG1Y8cZcaHcQn6GVOItbV0qfJYfp2 VI1sQcdsSwMgkwMsmKKLF+28RzdX3FI0cvQ9jTMHFYmkCEMXJwCMBHDywzzI7mETwYECjfU7vLe c9jZrqR4n4M7w4J5P3+eltodq63YsLPuhhPzjIlH6pcAAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: block: Fix page refcounts for unaligned buffers in __bio_release_pages() Fix an incorrect number of pages being released for buffers that do not start at the beginning of a page. The Linux kernel CVE team has assigned CVE-2024-35826 to this issue. Affected and fixed versions =========================== Issue introduced in 6.1.75 with commit 9025ee107929 and fixed in 6.1.84 with commit 242006996d15 Issue introduced in 6.6.14 with commit 8955324cc9f9 and fixed in 6.6.24 with commit 7d3765550374 Issue introduced in 6.7.2 with commit d198c15d181c and fixed in 6.7.12 with commit ecbd9ced84dd Issue introduced in 6.8 with commit 1b151e2435fc and fixed in 6.8.3 with commit c9d3d2fbde9b Issue introduced in 6.8 with commit 1b151e2435fc and fixed in 6.9 with commit 38b43539d64b Issue introduced in 4.19.307 with commit d2d0b95ca1b5 Issue introduced in 5.4.269 with commit 3f4e660144ed Issue introduced in 5.10.210 with commit bfc0647791d7 Issue introduced in 5.15.148 with commit 0f2dca516541 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-2024-35826 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: block/bio.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/242006996d15f5ca62e22f8c7de077d9c4a8f367 https://git.kernel.org/stable/c/7d3765550374f71248c55e6206ea1d6fd4537e65 https://git.kernel.org/stable/c/ecbd9ced84dd655a8f4cd49d2aad0e80dbf6bf35 https://git.kernel.org/stable/c/c9d3d2fbde9b8197bce88abcbe8ee8e713ffe7c2 https://git.kernel.org/stable/c/38b43539d64b2fa020b3b9a752a986769f87f7a6