CVE-2026-98124
Awaiting Analysis Awaiting Analysis - Queue

FS-Cache Invalidation in Linux Kernel SMB Client

Vulnerability report for CVE-2026-98124, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-25

Last updated on: 2026-09-30

Assigner: kernel.org

Description

In the Linux kernel, the following vulnerability has been resolved: smb/client: invalidate fscache for fallocate range operations smb3_zero_range(), smb3_punch_hole(), smb3_insert_range(), and smb3_collapse_range() modify file contents through server-side range operations. These operations discard the affected page cache, but leave the FS-Cache cookie valid, so a later read may return data cached before the range operation. Fix this by invalidating FS-Cache after outstanding I/O has completed and before modifying the file on the server. Run the following as root on a CIFS mount with fsc enabled and an active CacheFiles backend: bash -c ' MNT=/mnt/cifs FILE="$MNT/repro" # Generate four 1 MiB random blocks: [A][B][C][D]. dd if=/dev/urandom of=/tmp/src bs=1M count=4 status=none # Expected contents after zeroing B: [A][zero][C][D]. cp /tmp/src /tmp/expected dd if=/dev/zero of=/tmp/expected bs=1M seek=1 count=1 \ conv=notrunc status=none cp /tmp/src "$FILE" # Populate FS-Cache, then discard the page cache. sync echo 1 > /proc/sys/vm/drop_caches cat "$FILE" > /dev/null sync echo 1 > /proc/sys/vm/drop_caches fallocate --zero-range -o 1M -l 1M "$FILE" if cmp -s /tmp/expected "$FILE"; then echo "readback: OK" else echo "readback: STALE DATA" fi ' Before this change, the readback differs from /tmp/expected: readback: STALE DATA After this change, it matches: readback: OK

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-25
Last Modified
2026-09-30
Generated
2026-10-15
AI Q&A
2026-09-25
EPSS Evaluated
2026-10-14
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in the Linux kernel involves incorrect handling of FS-Cache during SMB client file operations. When using functions like smb3_zero_range or fallocate to modify file contents, the page cache is discarded but the FS-Cache cookie remains valid. This can cause subsequent reads to return stale cached data instead of the modified file content.

Detection Guidance

To detect this vulnerability, check if your Linux kernel is affected by running 'uname -r'. If it is vulnerable, perform a test on a CIFS mount with fsc enabled and an active CacheFiles backend using the provided commands to verify stale data reads after fallocate operations.

Impact Analysis

This vulnerability could lead to data corruption or incorrect file reads. If an application modifies a file via SMB and later reads it, the read might return outdated cached data instead of the actual modified content, causing errors in applications relying on accurate file data.

Compliance Impact

This vulnerability could lead to unauthorized data exposure by returning stale cached data instead of the actual modified file contents. This may violate data integrity and confidentiality requirements in GDPR and HIPAA, as stale data could be served to users or systems without proper updates.

Mitigation Strategies

Apply the kernel patch that resolves this issue by invalidating FS-Cache after range operations. Update your Linux kernel to a patched version to ensure the fix is in place.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-98124. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart