CVE-2026-98118Linux Kernel race condition
CVSS score
7.1
High
CVSS 3.1 from NVD
Exploit probability (EPSS)
0.09%
0.09% chance of exploitation in the next 30 days, higher than 0.42% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official description
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.
Source: NVD · CNA: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
How to fix it, step by step
Check whether you're affected
Find every system running Linux Kernel, Linux and compare its version with the affected versions.
Update to a fixed version
- Update Linux Kernel to 7.2.7 or later.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Affected products
| Affected products | Versions |
|---|---|
| Linux Linux Kernel | ≥ 6.12, < 7.2.7 · 7.3 |
| Linux Linux | ≥ ee4cdf7ba857a894ad1650d6ab77669cbbfa329e, < 8c9b33945712074a85d3bdacbca036ba6b3d92c6 · ≥ ee4cdf7ba857a894ad1650d6ab77669cbbfa329e, < fed0b33e6c584986ba70018ec9f9787a98216e64 · 6.12 |
Weakness
- CWE-362 race condition
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-98118 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.1% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-98118?
CVE-2026-98118 has a CVSS 3.1 base score of 7.1 (high).
Which versions are affected?
Linux Linux Kernel (≥ 6.12, < 7.2.7; 7.3), Linux Linux (≥ ee4cdf7ba857a894ad1650d6ab77669cbbfa329e, < 8c9b33945712074a85d3bdacbca036ba6b3d92c6; ≥ ee4cdf7ba857a894ad1650d6ab77669cbbfa329e, < fed0b33e6c584986ba70018ec9f9787a98216e64; 6.12)
Is there a patch for CVE-2026-98118?
The official record links to vendor advisories or patches; see “What to do” above.
References
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.