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 A3CF33A0B13 for ; Wed, 22 Apr 2026 13:54:44 +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=1776866084; cv=none; b=qAP6PXNEXvzv57CM/ZJoEkj5u3noiW4b/O6IQrana7RfIESB245yvWBuxe/uAExqTO9Jm+Hvs3i3x8avoPdydzRggdsnW3a6sbqjmI7dIbtoLY2BXdN0ldH7ERklPc2sp/Q3uCqTTthPgQGo/IvXrrSZxd4nl1Xs1A8R9qvpgCc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776866084; c=relaxed/simple; bh=gN+5CIPNb2qt5uT64+kZwluHBcgrqImghJLiQHClWXI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=qm2zuqpAuWClUttA4LzFgpcn2KhgI5udnjmnwtMNYb93L+jBcbFhhgHZ4eVl20M31XNzLpBnmvyShXd0yO+NzUVWheBWkbgrOsZdFkvejJtDI53PH9xSOj9yAVKfmowG5QcHVkFjsp5wdlFZlPIcBK2DVJwPRcBHIEXb+IXyUhM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=aIGlULfs; 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="aIGlULfs" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 37147C19425; Wed, 22 Apr 2026 13:54:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1776866084; bh=gN+5CIPNb2qt5uT64+kZwluHBcgrqImghJLiQHClWXI=; h=From:To:Cc:Subject:Date:Reply-To:From; b=aIGlULfsoVFFufeuI71Vf+OL2DOZPKBOmLMIKATVqo0wzeORhoY0t8ONhJ2QkSo7+ 8/+fUUq6Q9tsbdN/TJDRf1bRhjAu7Wtva6cJ4sqFeuy/wQ7BOlIGwgPFBI0waNM2qc mjbG1T/XAy4Y48s8m9m+tej+Q/GA4Pst4vdEsh1E= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31451: ext4: replace BUG_ON with proper error handling in ext4_read_inline_folio Date: Wed, 22 Apr 2026 15:53:57 +0200 Message-ID: <2026042248-CVE-2026-31451-cec9@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=2423; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=AIjE1kjRIjlfy1ALbhk1CsNa8RTZdNj5wPAbuPu2Hw8=; b=owGbwMvMwCRo6H6F97bub03G02pJDJkvLr35dz9YhCX48o8Pe5Q5vn09s41X86B5kopNftRe3 0pdxb15HbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRA58YFtyozF8orSWgzPVU otf036Yj8XNe3mWY73FI9oKS+I3dXzgPhp9sufzLYU/CGwA= 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: ext4: replace BUG_ON with proper error handling in ext4_read_inline_folio Replace BUG_ON() with proper error handling when inline data size exceeds PAGE_SIZE. This prevents kernel panic and allows the system to continue running while properly reporting the filesystem corruption. The error is logged via ext4_error_inode(), the buffer head is released to prevent memory leak, and -EFSCORRUPTED is returned to indicate filesystem corruption. The Linux kernel CVE team has assigned CVE-2026-31451 to this issue. Affected and fixed versions =========================== Fixed in 6.6.131 with commit 65c6c30ce6362c1c684568744ea510c921a756cd Fixed in 6.12.80 with commit d4b3f370c3d8f7ce565d4a718572c9f7c12f77ed Fixed in 6.18.21 with commit 823849a26af089ffc5dfdd2ae4b9d446b46a0cda Fixed in 6.19.11 with commit a7d600e04732a7d29b107c91fe3aec64cf6ce7f2 Fixed in 7.0 with commit 356227096eb66e41b23caf7045e6304877322edf 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-31451 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: fs/ext4/inline.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/65c6c30ce6362c1c684568744ea510c921a756cd https://git.kernel.org/stable/c/d4b3f370c3d8f7ce565d4a718572c9f7c12f77ed https://git.kernel.org/stable/c/823849a26af089ffc5dfdd2ae4b9d446b46a0cda https://git.kernel.org/stable/c/a7d600e04732a7d29b107c91fe3aec64cf6ce7f2 https://git.kernel.org/stable/c/356227096eb66e41b23caf7045e6304877322edf