{"id":"CVE-2026-98941","title":"ext4: don't enable large folios on encrypted inodes","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\next4: don't enable large folios on encrypted inodes\n\nCommit 709f0f1f1bf5 (\"ext4: add checks for large folio\nincompatibilities when BS > PS\") disables large folios at mo…","severity":"none","vendor":"Linux","product":"Linux","affected":["Linux >= 709f0f1f1bf5ca62a000084e5446ca6b57c8678c < 40554d1221e3d2ff2e0d192b74a05d89eb3620e7","Linux 6.19"],"published":"2026-10-23","updated":"2026-10-23","sourceUpdated":"2026-10-23T12:12:12.296Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-98941","references":[{"url":"https://git.kernel.org/stable/c/40554d1221e3d2ff2e0d192b74a05d89eb3620e7"}],"tags":["cve.org"],"ingestedAt":"2026-10-23T13:24:55.561Z","slug":"CVE-2026-98941","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\next4: don't enable large folios on encrypted inodes\n\nCommit 709f0f1f1bf5 (\"ext4: add checks for large folio\nincompatibilities when BS > PS\") disables large folios at mount time\nif the \"encrypt\" feature is set. However, enabling that feature on a\nmounted filesystem circumvents that check, and writing encrypted data\nresults in a crash:\n\n  BUG: kernel NULL pointer dereference, address: 0000000000000028\n  Workqueue: ext4-rsv-conversion ext4_end_io_rsv_work\n  RIP: 0010:ext4_finish_bio+0xf7/0x3e0\n  Call Trace:\n   ext4_release_io_end+0x51/0x110\n   ext4_end_io_end+0x4c/0xe0\n   ext4_end_io_rsv_work+0xb3/0x100\n\nFix this by disabling large folios on encrypted inodes, as is\nalready done for inodes that use data journaling.\n\nThis affects all kernels between v6.19 and v7.2, but it is not needed\nin v7.3, where the code was significantly refactored.\n\n## Affected\n\n- `Linux >= 709f0f1f1bf5ca62a000084e5446ca6b57c8678c < 40554d1221e3d2ff2e0d192b74a05d89eb3620e7`\n- `Linux 6.19`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}