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 5D092407CFF for ; Wed, 27 May 2026 13:04:31 +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=1779887072; cv=none; b=Z8UkWwcr/AmDiWU4ywa2pHjRV2ErQLbPqpsD1j0Rx2Qx69Ox3IHIVL2HfIndE1GWvDy5xwoP56CLL77ZLltihmqqSUP/fdy/uHTfFa+294OONlMB00Sb259qylrye7zh7FfdWpcS+zWm1Rz2nWbalJG1Jy9CGMEOg9vQD3r9JF8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779887072; c=relaxed/simple; bh=Bhtdml/8jzti5U0REkljxMA0afR6rrn9fyLaCprQ9jY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=gBKNDH61n9x3eyFsfNY7W/dHUAWKqEb47wv1oA6v1a517CQFl+n/SdSyA828LFy2a6fuaifvjXtVAKtHvPHr+dkpAhsXJRNSh/lFN7CwyNAwqhd32WCgb+epIzezF1IzNys2yY9GfSSXfMZ/n9raduo9a+mNvqCI/p4MT3m7MZU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=EXxkN4rs; 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="EXxkN4rs" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9E7431F000E9; Wed, 27 May 2026 13:04:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779887071; bh=ncD+6DGW9sapg1EWgNjTRLcdK4hUn/yfb5CMSnfimLc=; h=From:To:Cc:Subject:Date:Reply-To; b=EXxkN4rsT8aH/vYYgqEd/pTCB5OvWzzmJqjpF2/zcRSzGEwmV/1yAbgd3OejnWTEH ntnVqynhPLIa4JFrzzDWOWsTWH9VeP6wifVXzQAXqlWRO8KwjzD051EYvwsTzDqPiv KAiDjS8HV3vJFsbMZIHbJXz2uAicrybbXypgqBoA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46070: md/raid5: validate payload size before accessing journal metadata Date: Wed, 27 May 2026 15:00:01 +0200 Message-ID: <2026052758-CVE-2026-46070-1876@gregkh> X-Mailer: git-send-email 2.54.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=2990; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=BQ1zFBGQ1htemrY4sGRXE+DtDM5zMB6AUgYQk1T/P0c=; b=owGbwMvMwCRo6H6F97bub03G02pJDFliryYxBLOUmR0qjm4oztk/cdbN51yWFZJJPKomMikLm LYufLC2I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDaEi1MAJuJezzA/aueVEzd13nvv/n5W 5WDC296n77/cZVgwlaNdqyN1W0WJ4Z0nyj8X8alcrxMHAA== 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: md/raid5: validate payload size before accessing journal metadata r5c_recovery_analyze_meta_block() and r5l_recovery_verify_data_checksum_for_mb() iterate over payloads in a journal metadata block using on-disk payload size fields without validating them against the remaining space in the metadata block. A corrupted journal contains payload sizes extending beyond the PAGE_SIZE boundary can cause out-of-bounds reads when accessing payload fields or computing offsets. Add bounds validation for each payload type to ensure the full payload fits within meta_size before processing. The Linux kernel CVE team has assigned CVE-2026-46070 to this issue. Affected and fixed versions =========================== Issue introduced in 4.10 with commit b4c625c67362b3940f619c1a836b4e8329106658 and fixed in 6.6.140 with commit 33698bd1b2db9764a29df7751533d33967ff5c98 Issue introduced in 4.10 with commit b4c625c67362b3940f619c1a836b4e8329106658 and fixed in 6.12.86 with commit c3a1cf78bd1bbb51b2cc5189b4743056553c1e0e Issue introduced in 4.10 with commit b4c625c67362b3940f619c1a836b4e8329106658 and fixed in 6.18.27 with commit 73ce72edd113374801045924d4417199963f73a3 Issue introduced in 4.10 with commit b4c625c67362b3940f619c1a836b4e8329106658 and fixed in 7.0.4 with commit 406aa86394ead347c47428fb51b6359bdaa2257d Issue introduced in 4.10 with commit b4c625c67362b3940f619c1a836b4e8329106658 and fixed in 7.1-rc1 with commit b0cc3ae97e893bf54bbce447f4e9fd2e0b88bff9 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-46070 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: drivers/md/raid5-cache.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/33698bd1b2db9764a29df7751533d33967ff5c98 https://git.kernel.org/stable/c/c3a1cf78bd1bbb51b2cc5189b4743056553c1e0e https://git.kernel.org/stable/c/73ce72edd113374801045924d4417199963f73a3 https://git.kernel.org/stable/c/406aa86394ead347c47428fb51b6359bdaa2257d https://git.kernel.org/stable/c/b0cc3ae97e893bf54bbce447f4e9fd2e0b88bff9