Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792758236; b=Z8T96MeFdhVnEoVVyNlSK8cRRxAno/ckTvx5+OL4zHug52GDyY0Y7c/Q5ZmjPNLQmJLs HdvbSIm1u9u603KQ7RJflA7cqB8hlv9yB4HWGZOV4uhnEhRmRLzP3M7j+jUJ3703KyFIn QEMzpF9xm9FR7iSGgilU73gc8ZuBzkdxF/FlTWj8NsDSQRLqkorQulx3WmvFgfd4ggBW/ Kynn5yGUoVIRabV/DXWOlZH6E4wiQ1UZfkKcE07MHQM3AOLvjY93nvMW2KyvYmbkF/hC4 GYrw1A8tIG3merh95Am+EDlMSOOBZmddAYrFrKOtw5P2qlDKGVlpJL4SI3DQ77gfn3g== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792758236; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=RjBNg+6sOrK0wSLNKbeHMFvxAODZf7wWU9fve1vQGE0=; b=OTVForX5peHrwAwG2r3z39zlJ0FBKl/f6WxHPhQNGTZO+R/BcHt2NOaoczF/na6Lsbkj c2GdIIF6readRGYFF6U6enN/thLO//HBFTsGWbfoGH06mMhKX62mFOT5tMGAfCtGyATUD IK8wtwm+ul+UdAyBpbpSUTWue5+WmE41uYH2c6/3NQKRWHQWoeWfJUMsQYfujLgd8vX5+ E3C+mFD6/TmSS2AOxcU3LRYuz9SlBGfigIE63bTVfpxi809W0v99pc665XSJ55i3sBEdk J6PpM67OTO102Bhm+ZQiScbxnwh2FFCnzNIgeJaqPwnqeaAlQTRFeXtE/uRgQKCvfGw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=zpgyRCV7; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 03C2E606A320 for ; Fri, 23 Oct 2026 12:23:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=zpgyRCV7 Received: by smtp.kernel.org (Postfix) with ESMTPSA id DB85A1F031E7; Fri, 23 Oct 2026 12:23:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792758235; bh=RjBNg+6sOrK0wSLNKbeHMFvxAODZf7wWU9fve1vQGE0=; h=From:To:Cc:Subject:Date:Reply-To; b=zpgyRCV7bnDW2pFVcjVfH5bULI54kl0uEjCGrdRPkAEhHhPWh+0DwbEUwLE4ST+oA +v4SS3ZLAV7IZDA1iDdhk9rw5uY6iktjkOr0sgobxb+sdUj7tXxa7SD6gRm5Iivepm 2kzobz7Cx0or/0uPYWQsOSV7CTVp0sfidgu/hR2c= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98941: ext4: don't enable large folios on encrypted inodes Date: Fri, 23 Oct 2026 14:11:48 +0200 Message-ID: <2026102339-CVE-2026-98941-4091@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2334; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=PIb7EH5K9+EgUsmE1AntlgaFKUbw9Z1v3pZwRe3BUkw=; b=owGbwMvMwCRo6H6F97bub03G02pJDFm3/X432rreCjxxY56MkgxjwrG0lvLJzf8f/eU5W/9xW nprS/bdjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjI590MC5rF514MrLs2r7S0 Y2lx5cGyO1pHehnmKcfpXipP/PVYP1h4be+vS0FCK5YlAQA= 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: don't enable large folios on encrypted inodes Commit 709f0f1f1bf5 ("ext4: add checks for large folio incompatibilities when BS > PS") disables large folios at mount time if the "encrypt" feature is set. However, enabling that feature on a mounted filesystem circumvents that check, and writing encrypted data results in a crash: BUG: kernel NULL pointer dereference, address: 0000000000000028 Workqueue: ext4-rsv-conversion ext4_end_io_rsv_work RIP: 0010:ext4_finish_bio+0xf7/0x3e0 Call Trace: ext4_release_io_end+0x51/0x110 ext4_end_io_end+0x4c/0xe0 ext4_end_io_rsv_work+0xb3/0x100 Fix this by disabling large folios on encrypted inodes, as is already done for inodes that use data journaling. This affects all kernels between v6.19 and v7.2, but it is not needed in v7.3, where the code was significantly refactored. The Linux kernel CVE team has assigned CVE-2026-98941 to this issue. Affected and fixed versions =========================== Issue introduced in 6.19 with commit 709f0f1f1bf5ca62a000084e5446ca6b57c8678c and fixed in 7.2.10 with commit 40554d1221e3d2ff2e0d192b74a05d89eb3620e7 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-98941 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/inode.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/40554d1221e3d2ff2e0d192b74a05d89eb3620e7