CVE-2026-98125
smb/client: fix stale page cache in insert/collapse range
Mitigation
- Upgrade Linux to 5.20 or later.
Who should check
- Anyone running Linux >= fa30a81f255a56cccd89552cd6ce7ea6e8d8acc4, < 52dd721b3de57e41261e08485b2bc62b22b80ebe; >= fa30a81f255a56cccd89552cd6ce7ea6e8d8acc4, < 76222e76d08fbae4092ee9da84ded2b4c24ee598; >= fa30a81f255a56cccd89552cd6ce7ea6e8d8acc4, < 01261a6fa48b62f5ead8e88aaca1e27cb9ab9032; 49523a4732204bdacbf3941a016503ddb4ddb3b9; 0cdde8460c304283d4ebe3f767a70215d1ab9d4e; >= 5.19.12, < 5.20
- Anyone running Linux 6.0
Vulnerability facts
- Affected
- Linux >= fa30a81f255a56cccd89552cd6ce7ea6e8d8acc4, < 52dd721b3de57e41261e08485b2bc62b22b80ebe; >= fa30a81f255a56cccd89552cd6ce7ea6e8d8acc4, < 76222e76d08fbae4092ee9da84ded2b4c24ee598; >= fa30a81f255a56cccd89552cd6ce7ea6e8d8acc4, < 01261a6fa48b62f5ead8e88aaca1e27cb9ab9032; 49523a4732204bdacbf3941a016503ddb4ddb3b9; 0cdde8460c304283d4ebe3f767a70215d1ab9d4e; >= 5.19.12, < 5.20; Linux 6.0
- Fixed in
- Linux 52dd721b3de57e41261e08485b2bc62b22b80ebe, Linux 76222e76d08fbae4092ee9da84ded2b4c24ee598, Linux 01261a6fa48b62f5ead8e88aaca1e27cb9ab9032, Linux 5.20
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 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
- EPSS
- 0.16% chance of exploitation in 30 days (percentile 3, 2026-11-26)
- CWE
- CWE-669
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: smb/client: fix stale page cache in insert/collapse range smb3_insert_range() and smb3_collapse_range() use truncate_pagecache_range() to invalidate the affected page cache. However, if off or old_eof is not page-aligned, the boundary pages are only partially zeroed and remain uptodate. As a result, the client may return stale data after a successful insert/collapse range operation. For example, with 4K pages: page 0 page 1 page 2 0------4K 4K------8K 8K------12K ^ ^ off=2K old_eof=10K Page 1 is removed from the page cache, while the boundary pages are only partially zeroed. After COPYCHUNK moves the data on the server, these cached pages may still return stale data. This can be reproduced on a CIFS mount: bash -c ' FILE=/mnt/scratch/repro # Use a 6 KiB file so EOF is not page-aligned. dd if=/dev/urandom of=/tmp/src bs=1K count=6 status=none # Expected: a 4 KiB hole followed by the original data. rm -f /tmp/expected truncate -s 4K /tmp/expected cat /tmp/src >> /tmp/expected cp /tmp/src "$FILE" # Prime the page cache before moving data on the server. cat "$FILE" > /dev/null fallocate --insert-range -o 0 -l 4K "$FILE" if cmp -s /tmp/expected "$FILE"; then echo "readback: OK" else echo "readback: STALE DATA" fi ' Fix this by writing back dirty data and discarding the page cache from the start of the page containing off to EOF before moving data on the server.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= fa30a81f255a56cccd89552cd6ce7ea6e8d8acc4, < 52dd721b3de57e41261e08485b2bc62b22b80ebe; >= fa30a81f255a56cccd89552cd6ce7ea6e8d8acc4, < 76222e76d08fbae4092ee9da84ded2b4c24ee598; >= fa30a81f255a56cccd89552cd6ce7ea6e8d8acc4, < 01261a6fa48b62f5ead8e88aaca1e27cb9ab9032; 49523a4732204bdacbf3941a016503ddb4ddb3b9; 0cdde8460c304283d4ebe3f767a70215d1ab9d4e; >= 5.19.12, < 5.20 | — | cvelist |
| Linux | 6.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-98125. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-98125.md Affected: Linux >= fa30a81f255a56cccd89552cd6ce7ea6e8d8acc4, < 52dd721b3de57e41261e08485b2bc62b22b80ebe; >= fa30a81f255a56cccd89552cd6ce7ea6e8d8acc4, < 76222e76d08fbae4092ee9da84ded2b4c24ee598; >= fa30a81f255a56cccd89552cd6ce7ea6e8d8acc4, < 01261a6fa48b62f5ead8e88aaca1e27cb9ab9032; 49523a4732204bdacbf3941a01… Fixed in: Linux 52dd721b3de57e41261e08485b2bc62b22b80ebe, Linux 76222e76d08fbae4092ee9da84ded2b4c24ee598, Linux 01261a6fa48b62f5ead8e88aaca1e27cb9ab9032, Linux 5.20 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.
References
FAQ
Is CVE-2026-98125 being exploited?
There is no confirmed exploitation: CVE-2026-98125 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-98125?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-98125?
Linux >= fa30a81f255a56cccd89552cd6ce7ea6e8d8acc4, < 52dd721b3de57e41261e08485b2bc62b22b80ebe; >= fa30a81f255a56cccd89552cd6ce7ea6e8d8acc4, < 76222e76d08fbae4092ee9da84ded2b4c24ee598; >= fa30a81f255a56cccd89552cd6ce7ea6e8d8acc4, < 01261a6fa48b62f5ead8e88aaca1e27cb9ab9032; 49523a4732204bdacbf3941a016503ddb4ddb3b9; 0cdde8460c304283d4ebe3f767a70215d1ab9d4e; >= 5.19.12, < 5.20; Linux 6.0.
Is there a fix for CVE-2026-98125?
Yes. Fixed in Linux 52dd721b3de57e41261e08485b2bc62b22b80ebe, Linux 76222e76d08fbae4092ee9da84ded2b4c24ee598, Linux 01261a6fa48b62f5ead8e88aaca1e27cb9ab9032, Linux 5.20. Upgrade Linux to 5.20 or later.
How do I check if I'm affected by CVE-2026-98125?
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.