CVE-2026-98120·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: netfs: Fix subreq ref leak Fix a subrequest ref leak in netfs_unbuffered_write() in the event that subreq->io_iter ends up zero length during preparation.
- Severity
- medium
- 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.12% — higher than 2% 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.
Affected versions
From: 7.0.1
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 resource leak in the netfs subsystem's unbuffered write operations. This vulnerability can cause kernel memory exhaustion when subrequest iterations are improperly cleaned up. Apply the patch through your distribution's standard kernel update mechanism to restore stable operation.
sudo dnf update kernelDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check installed kernel version with `uname -r` and compare against 7.2.7 (vulnerable if between 7.0.1 and 7.2.6)
- Step 2: Verify netfs is enabled in your kernel config by checking if `/proc/sys/net/netfs` exists or by reviewing active network filesystem mounts with `mount | grep -E '(smb|nfs|cifs)'`
- Step 3: Monitor system memory pressure and kernel logs for repeated 'ref leak' warnings using `dmesg | grep -i 'netfs\|subreq' | tail -20`
- Step 4: After patching, confirm the new kernel is running with `uname -r` and verify it reports version 7.2.7 or later
FAQ
What is CVE-2026-98120?
CVE-2026-98120 is a resource leak in the Linux kernel's netfs subsystem where subrequest reference counts are not properly decremented during unbuffered write operations with zero-length iterators. This can lead to memory exhaustion over time.
Is CVE-2026-98120 being actively exploited?
No, this vulnerability is not listed on the CISA KEV catalog and no public exploits are available. However, it can be triggered unintentionally through legitimate network filesystem workloads.
What versions of Kernel are affected by CVE-2026-98120?
Linux kernel versions 7.0.1 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-98120?
Run `uname -r` to display your kernel version. If it falls between 7.0.1 and 7.2.6 inclusive, your system is vulnerable and requires patching.
Does Defensia detect CVE-2026-98120?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2026-98120 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-98120. Free for 1 server.
Get started free