CVE-2026-98118·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: netfs: Fix readahead synchronisation issues by loading all folios upfront There are some synchronisation issues that derive from the app thread adding more folios to the rolling buffer whilst the collector thread is looking at them or trying to clear them, such as determining the setting of front_folio_order when the next folio hasn't been added yet, The reason for the rolling buffer approach is that loading the buffer upfront and then dropping all the refs just acquired is quite a slow operation, and loading progressively allows some of the cost to be deferred until after at least some of the I/O is started. Instead, a better way is to load all the folios into the rolling buffer upfront - and then drop the refs later, once the I/O is in progress. (Even better would be for the refs not to be there at all.) Fix this by changing the rolling buffer loader to load all the folios selected by the VM for readahead upfront into the folio queue. The folio queue is allocated a batch worth at a time as we don't know how many folios are involved (the readahead_control struct, alas, has a page count, not a folio count). The folio refs acquired from readahead are then dropped in bulk once the first subrequest is dispatched as it's quite a slow operation. The collector waits for NETFS_RREQ_NEED_PUT_RA_REFS to be cleared so that it doesn't unlock folios before the xarray has been scanned for them. This simplifies the buffer handling later and isn't noticeably slower as the xarray doesn't need to be modified and the folios are all already pre-locked.
- Severity
- high
- Software
- Kernel
- Fixed in
- 7.2.7
- 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.1% — in the bottom 1% 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-98118 scores 7.1 on CVSS, so a successful attack would be serious — but at <0.1%, 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.
Affected versions
From: 6.12
Until: 7.2.7
Fixed in: 7.2.7
How to fix this CVE
Update your Linux kernel to version 7.2.7 or later to resolve a critical netfs readahead synchronization issue that can cause data corruption and system crashes. This vulnerability affects the kernel's network filesystem layer and requires an immediate kernel upgrade followed by a system reboot to take effect.
sudo dnf update kernel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Check installed kernel version: uname -r
- Verify if your kernel falls in the vulnerable range (6.12 to 7.2.6): if uname -r shows a version between 6.12.x and 7.2.6, your system is vulnerable
- Monitor system logs for readahead-related errors: sudo grep -i 'netfs\|readahead' /var/log/kern.log | head -20
- After patching, confirm the new kernel is running: uname -r should show 7.2.7 or later
FAQ
What is CVE-2026-98118?
This vulnerability is a race condition in the Linux kernel's netfs (network filesystem) layer where the readahead buffer management allows concurrent access issues between application threads and collector threads, potentially causing folios to be unlocked prematurely or accessed in an inconsistent state, leading to data corruption or system instability.
Is CVE-2026-98118 being actively exploited?
No, there are currently no known active exploits or public proof-of-concept code for this vulnerability, though the high CVSS score of 7.1 warrants timely patching.
What versions of Kernel are affected by CVE-2026-98118?
Linux kernel versions from 6.12 through 7.2.6 are vulnerable; version 7.2.7 and later contain the fix.
How do I check if my server is vulnerable to CVE-2026-98118?
Run `uname -r` to display your kernel version and compare it against the vulnerable range (6.12.x to 7.2.6); if your version falls within this range, your system is affected.
Does Defensia detect CVE-2026-98118?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2026-98118 will appear in your dashboard with remediation steps.
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-98118. Free for 1 server.
Get started free