Skip to main content

In the Linux kernel, the following vulnerability has been resolved: smb: client: flush dirty data before zeroing a range smb3_zero_range() emulates… (CVE-2026-98683)

0
Medium
Published: 10/18/2026 (10/18/2026, 18:31:59 UTC)
Source: GCVE Database

Description

A vulnerability in the Linux kernel's SMB client implementation was resolved involving improper flushing of dirty data before zeroing a file range. The smb3_zero_range() function failed to flush dirty data for zero ranges that did not reach the end of the file, potentially causing stale data to be written back after zeroing. This could lead to reading stale data where zeroed data is expected. The issue was fixed by ensuring unconditional flushing of dirty data before zeroing, aligning with similar fixes in related code paths.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/18/2026, 22:28:33 UTC

Technical Analysis

The Linux kernel SMB client function smb3_zero_range() emulates the FALLOC_FL_ZERO_RANGE operation by invalidating the page cache over a target range and issuing FSCTL_SET_ZERO_DATA to the server. Previously, dirty data flushing was conditional and only occurred if the zero range reached or extended the end of the file (EOF). For zero ranges entirely within the file (interior ranges), no flush occurred, allowing dirty folios overlapping the range to be written back after zeroing, resulting in stale data overwriting the zeroed range. The fix enforces unconditional flushing and waiting for dirty data in the range before invalidating the page cache and issuing FSCTL_SET_ZERO_DATA, consistent with the approach used in smb3_punch_hole(). This resolves the issue of stale data being read where zeroed data is expected, as observed against Windows Server.

Potential Impact

The vulnerability could cause clients to read stale data from SMB shares when zeroing file ranges that do not extend to EOF. This undermines data integrity by allowing previously cached dirty data to overwrite zeroed regions, potentially leading to incorrect application behavior or data corruption when zeroed data is expected. There is no indication of remote code execution or privilege escalation. No known exploits in the wild have been reported.

Mitigation Recommendations

A fix has been implemented in the Linux kernel to unconditionally flush dirty data before zeroing a range in the SMB client code. Users should apply the official kernel update containing this fix once available. Since this is a kernel-level vulnerability, upgrading to the patched kernel version is the recommended remediation. No alternative mitigations are indicated.

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-f8wg-49h3-2qvh
Osv Schema Version
1.4.0
Aliases
["CVE-2026-98683"]

Threat ID: 6ad520ac2cdf04f656993a34

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

Last enriched: 10/18/2026, 22:28:33 UTC

Last updated: 10/19/2026, 01:08:26 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