CVE-2026-98941·Kernel vulnerability
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.
- Severity
- high
- Software
- Kernel
- Fixed in
- 7.2.10
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.14% — higher than 3% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-98941 scores 7 on CVSS, so a successful attack would be serious — but at 0.14%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
How to fix this CVE
Update your Linux kernel to version 7.2.10 or later to resolve this ext4 encryption vulnerability that causes kernel crashes during encrypted data writes. If you are running an earlier stable kernel branch (6.19–7.2), apply your distribution's patched kernel package rather than jumping to mainline. Users of kernel 7.3+ are not affected as the code was significantly refactored.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your kernel version with `uname -r` and verify it falls within v6.19 to v7.2 range
- Step 2: Verify if ext4 encryption is enabled on any mounted filesystems by running `mount | grep ext4` and checking for 'encrypt' in mount options
- Step 3: Search kernel logs for NULL pointer dereference crashes in ext4_finish_bio using `sudo dmesg | grep -i 'ext4_finish_bio\|null pointer'`
- Step 4: Confirm the fix by upgrading the kernel and verifying the new version with `uname -r`, then test encrypted ext4 writes with `dd if=/dev/zero of=/mnt/encrypted_test bs=1M count=100`
FAQ
What is CVE-2026-98941?
This vulnerability allows the ext4 encryption feature to be enabled on a mounted filesystem, bypassing safety checks that prevent large folios (memory pages) from being used with encrypted inodes, leading to kernel NULL pointer dereferences during write operations.
Is CVE-2026-98941 being actively exploited?
No, this vulnerability is not listed in CISA's Known Exploited Vulnerabilities catalog and no public exploits are available. However, it can be triggered by local users with mount permissions who enable encryption on an active ext4 filesystem.
What versions of Kernel are affected by CVE-2026-98941?
Linux kernel versions v6.19 through v7.2 are affected. Kernel v7.3 and later are not vulnerable due to significant code refactoring. The fix is available in stable branch 7.2.10 and later.
How do I check if my server is vulnerable to CVE-2026-98941?
Run `uname -r` to check your kernel version; if it shows a version between 6.19 and 7.2, you are vulnerable. Additionally, confirm ext4 encryption is available with `grep -i encrypt /proc/filesystems`.
Does Defensia detect CVE-2026-98941?
Yes — Defensia's CVE advisory scanner compares installed kernel package versions against the NVD database. If your server runs a vulnerable kernel version (6.19–7.2), CVE-2026-98941 will appear in your dashboard with remediation steps and patch recommendations.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-98941. Free for 1 server.
Get started free