CVE-2026-98119·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: netfs: break unbuffered write when netfs_alloc_subrequest() fails syzbot reported a null-ptr-deref below [1] following a fault injection in netfs_alloc_subrequest(). [0] When netfs_alloc_subrequest() fails, subreq is NULL. Later, netfs_prepare_write() tries to initialize members of subreq(e.g., source), the issue in [1] is triggered. Let's handle the error of netfs_prepare_write() properly. [0] FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 Call Trace: netfs_alloc_subrequest+0x116/0x3f0 netfs_prepare_write+0x76/0x7b0 netfs_unbuffered_write+0x75c/0x2020 netfs_unbuffered_write_iter_locked+0x7d6/0xa80 netfs_unbuffered_write_iter+0x442/0x720 v9fs_file_write_iter+0xbf/0x100 vfs_write+0x6ac/0x1050 [1] KASAN: null-ptr-deref in range [0x00000000000000a8-0x00000000000000af] RIP: 0010:netfs_prepare_write+0xbc/0x7b0 fs/netfs/write_issue.c:173 Call Trace: netfs_unbuffered_write+0x75c/0x2020 fs/netfs/direct_write.c:111 netfs_unbuffered_write_iter_locked+0x7d6/0xa80 fs/netfs/direct_write.c:290 netfs_unbuffered_write_iter+0x442/0x720 fs/netfs/direct_write.c:382 v9fs_file_write_iter+0xbf/0x100 fs/9p/vfs_file.c:409 new_sync_write fs/read_write.c:595 [inline]
- 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.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.
Affected versions
From: 6.19
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 patch a null pointer dereference in the netfs subsystem's unbuffered write handling. This vulnerability can be triggered when memory allocation fails during write operations, causing the kernel to crash. Apply the update immediately, especially if your system runs network filesystem operations or uses 9P filesystem mounts.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check installed kernel version: uname -r | grep -E '^(6\.(19|2[0-9]|[3-9][0-9])|7\.[0-2]\.[0-6]($|[^0-9]))'
- Verify netfs module is loaded: lsmod | grep netfs
- Check if 9P filesystem is mounted: mount | grep -E '(9p|v9fs)'
- Review kernel logs for null pointer dereferences: sudo journalctl -b | grep -i 'null.*deref\|kasan.*null\|netfs_prepare_write'
FAQ
What is CVE-2026-98119?
This vulnerability is a null pointer dereference in the Linux kernel's netfs (network filesystem) layer that occurs when subrequest memory allocation fails during unbuffered write operations. An attacker with local access could trigger this via filesystem operations, causing a kernel panic and denial of service.
Is CVE-2026-98119 being actively exploited?
No, there is no evidence of active exploitation or public exploits for CVE-2026-98119. However, the vulnerability is easily triggered through fault injection, making it a potential DoS vector if weaponized.
What versions of Kernel are affected by CVE-2026-98119?
Linux kernel versions 6.19 through 7.2.6 are vulnerable. The fix is included in kernel 7.2.7 and later stable releases.
How do I check if my server is vulnerable to CVE-2026-98119?
Run `uname -r` and compare the version against 6.19 to 7.2.6 (vulnerable) and 7.2.7+ (patched). If your kernel version falls within the vulnerable range, your system requires an update.
Does Defensia detect CVE-2026-98119?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Linux kernel is installed on a monitored server, CVE-2026-98119 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-98119. Free for 1 server.
Get started free