# CVE-2026-98124: smb/client: invalidate fscache for fallocate range operations

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.33% (percentile 19, 2026-11-26)
- **CWE:** CWE-672
- **Published:** 2026-09-25T10:36:06.581Z
- **Modified:** 2026-10-22T16:38:53.723Z

## Who should check

- Anyone running Linux \>= 31742c5a331766bc7df6b0d525df00c6cd20d5a6, \< cc7202a51b8777a757bda9dcfbf339f828c6a130; \>= 31742c5a331766bc7df6b0d525df00c6cd20d5a6, \< dd8b1e808f5c19479e6ed47e2f88a1fd46f8b0e5; \>= 31742c5a331766bc7df6b0d525df00c6cd20d5a6, \< 93c6e5a8d7c5071d586c1411596d5db5faad22b2; \>= 31742c5a331766bc7df6b0d525df00c6cd20d5a6, \< 448ba0ae65ca61064183564d2983c9aa59bd6ba7
- Anyone running Linux 3.17

## 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

## Affected and fixed versions

- Linux: \>= 31742c5a331766bc7df6b0d525df00c6cd20d5a6, \< cc7202a51b8777a757bda9dcfbf339f828c6a130; \>= 31742c5a331766bc7df6b0d525df00c6cd20d5a6, \< dd8b1e808f5c19479e6ed47e2f88a1fd46f8b0e5; \>= 31742c5a331766bc7df6b0d525df00c6cd20d5a6, \< 93c6e5a8d7c5071d586c1411596d5db5faad22b2; \>= 31742c5a331766bc7df6b0d525df00c6cd20d5a6, \< 448ba0ae65ca61064183564d2983c9aa59bd6ba7 (cvelist)
- Linux: 3.17 (cvelist)

## Mitigation

- Upgrade Linux to 448ba0ae65ca61064183564d2983c9aa59bd6ba7 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98124. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98124.md
Affected: Linux >= 31742c5a331766bc7df6b0d525df00c6cd20d5a6, < cc7202a51b8777a757bda9dcfbf339f828c6a130; >= 31742c5a331766bc7df6b0d525df00c6cd20d5a6, < dd8b1e808f5c19479e6ed47e2f88a1fd46f8b0e5; >= 31742c5a331766bc7df6b0d525df00c6cd20d5a6, < 93c6e5a8d7c5071d586c1411596d5db5faad22b2; >= 31742c5a331766bc7df6b0d…
Fixed in: Linux 93c6e5a8d7c5071d586c1411596d5db5faad22b2, Linux 448ba0ae65ca61064183564d2983c9aa59bd6ba7

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98124 being exploited?

There is no confirmed exploitation: CVE-2026-98124 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-98124?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-98124?

Linux \>= 31742c5a331766bc7df6b0d525df00c6cd20d5a6, \< cc7202a51b8777a757bda9dcfbf339f828c6a130; \>= 31742c5a331766bc7df6b0d525df00c6cd20d5a6, \< dd8b1e808f5c19479e6ed47e2f88a1fd46f8b0e5; \>= 31742c5a331766bc7df6b0d525df00c6cd20d5a6, \< 93c6e5a8d7c5071d586c1411596d5db5faad22b2; \>= 31742c5a331766bc7df6b0d525df00c6cd20d5a6, \< 448ba0ae65ca61064183564d2983c9aa59bd6ba7; Linux 3.17.

### Is there a fix for CVE-2026-98124?

Yes. Fixed in Linux 93c6e5a8d7c5071d586c1411596d5db5faad22b2, Linux 448ba0ae65ca61064183564d2983c9aa59bd6ba7. Upgrade Linux to 448ba0ae65ca61064183564d2983c9aa59bd6ba7 or later.

### How do I check if I'm affected by CVE-2026-98124?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/cc7202a51b8777a757bda9dcfbf339f828c6a130>
- patch: <https://git.kernel.org/stable/c/dd8b1e808f5c19479e6ed47e2f88a1fd46f8b0e5>
- patch: <https://git.kernel.org/stable/c/93c6e5a8d7c5071d586c1411596d5db5faad22b2>
- patch: <https://git.kernel.org/stable/c/448ba0ae65ca61064183564d2983c9aa59bd6ba7>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98124>

HTML: <https://flawdb.com/CVE-2026-98124> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98124>
