Skip to main content

In the Linux kernel, the following vulnerability has been resolved: netfs: clear post-EOF pagecache when extending a file via write Fix netfs to… (CVE-2026-98844)

0
Medium
Published: 10/18/2026 (10/18/2026, 18:32:05 UTC)
Source: GCVE Database

Description

A vulnerability in the Linux kernel's netfs subsystem related to handling pagecache beyond the end-of-file (EOF) during file extension via write has been resolved. The issue involved stale data remaining in the pagecache after extending a file, which could lead to incorrect data exposure or corruption. The fix ensures that the tail of the folio straddling the EOF is zeroed before an extending write, preventing stale data from persisting. The patch also handles concurrency and writeback synchronization to avoid data loss or corruption during concurrent writes.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/18/2026, 22:16:59 UTC

Technical Analysis

The Linux kernel netfs vulnerability (CVE-2026-98844) involved improper clearing of the post-EOF pagecache when extending a file via write operations. Specifically, stale data could remain in the pagecache if dirty data was previously written through an mmapped region, as neither buffered nor direct I/O write paths cleared this stale cache. The fix zeroes the tail of the folio overlapping the EOF before extending writes, ensuring no stale data is exposed. It also manages concurrent extending writes by re-reading the file size under folio lock and clamps zeroing accordingly, and waits for any ongoing writeback to complete before zeroing. This prevents data races and ensures data integrity during concurrent file extension and writeback operations. The fix includes a helper function to handle cases where exclusive locks are held for file resize operations, used by the CIFS client to address related issues.

Potential Impact

The vulnerability could result in stale or unintended data being exposed or written beyond the EOF during file extension operations, potentially leading to data corruption or leakage of previously written data through memory-mapped files. This affects the integrity and confidentiality of file data handled by netfs in the Linux kernel. No known exploits in the wild have been reported.

Mitigation Recommendations

A fix for this vulnerability has been implemented in the Linux kernel netfs subsystem. Users and administrators should apply the official kernel updates that include this patch to ensure the issue is resolved. Since this is a kernel-level fix, upgrading to a kernel version containing this patch is the recommended remediation. Patch status is not explicitly stated in the provided data; therefore, check the vendor or Linux kernel advisory for the exact fixed version and update accordingly.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-vjf5-4hx8-9557
Osv Schema Version
1.4.0
Aliases
["CVE-2026-98844"]

Threat ID: 6ad520a92cdf04f65699389e

Added to database: 10/18/2026, 19:40:25 UTC

Last enriched: 10/18/2026, 22:16:59 UTC

Last updated: 10/18/2026, 22:16:59 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses