# CVE-2026-98684: smb: client: flush and commit data before querying allocated ranges

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-10-18T15:45:52.828Z
- **Modified:** 2026-11-23T08:17:28.010Z

## Who should check

- Anyone running Linux \>= 966a3cb7c7db786452a87afdc3b48858fc4d4d6b, \< 697949f6b226084bf3697a3b699b00b4bcfee100; \>= 966a3cb7c7db786452a87afdc3b48858fc4d4d6b, \< a6891ec0e940380844dd335f87c3bece299470ea; \>= 966a3cb7c7db786452a87afdc3b48858fc4d4d6b, \< 6787575545cd8af1da3778d7c1ae43a4398a6b26; \>= 966a3cb7c7db786452a87afdc3b48858fc4d4d6b, \< f82242fe3109a3ef72f429540b5bdde08fbfb0e4; \>= 966a3cb7c7db786452a87afdc3b48858fc4d4d6b, \< bf84e44ff0ed802778eafd7ecb623635379cb506; \>= 966a3cb7c7db786452a87afdc3b48858fc4d4d6b, \< aa994489bd835547c191827acc460192e147032d; c406bb9ece6ef63721daab106f132ff4b4234e81; 2f9f4a2d0e6fcf0673ed51195e06e47abe966900; 5e397c943424de94879830e72c95f2679e297a76; \>= 5.10.50, \< 5.11; …
- Anyone running Linux 5.14

## Description

In the Linux kernel, the following vulnerability has been resolved:

smb: client: flush and commit data before querying allocated ranges

The mode 0 / FALLOC\_FL\_KEEP\_SIZE fallocate emulation for small interior
ranges in smb3\_simple\_fallocate\_range() issues
FSCTL\_QUERY\_ALLOCATED\_RANGES and zero-fills any sub-range the server
reports as an unallocated hole, to force block allocation without
changing file contents.

This is unsafe against Windows servers.  Per the Win32 documentation,
FSCTL\_QUERY\_ALLOCATED\_RANGES only reports ranges that \*may\* contain
nonzero data and is explicitly not coherent with recently written data:

  "a call to FSCTL\_QUERY\_ALLOCATED\_RANGES \[after writing to a network
   file\] would not necessarily return a correct list of allocated
   regions.  To ensure coherency \[...\] flush the data to the file"

fsx (generic/363) reproduces the resulting corruption against Windows
Server 2022: a range is written, an uncached read returns the data, yet
the next FSCTL\_QUERY\_ALLOCATED\_RANGES on that range reports it as a whole
hole, so the emulation overwrites live data with zeroes.  A network trace
confirmed the WRITE, the READ returning data and the query returning an
empty range list within microseconds.  Samba does not exhibit this; its
query is coherent with the written data.

Write back the dirty pages, drain any outstanding I/O and issue an SMB2
FLUSH to force the server to commit the data before querying the
allocated ranges, so the query reflects the data actually present.

With this, generic/363 passes against both Windows Server 2022 and Samba
over 100000 fsx operations.

## Affected and fixed versions

- Linux: \>= 966a3cb7c7db786452a87afdc3b48858fc4d4d6b, \< 697949f6b226084bf3697a3b699b00b4bcfee100; \>= 966a3cb7c7db786452a87afdc3b48858fc4d4d6b, \< a6891ec0e940380844dd335f87c3bece299470ea; \>= 966a3cb7c7db786452a87afdc3b48858fc4d4d6b, \< 6787575545cd8af1da3778d7c1ae43a4398a6b26; \>= 966a3cb7c7db786452a87afdc3b48858fc4d4d6b, \< f82242fe3109a3ef72f429540b5bdde08fbfb0e4; \>= 966a3cb7c7db786452a87afdc3b48858fc4d4d6b, \< bf84e44ff0ed802778eafd7ecb623635379cb506; \>= 966a3cb7c7db786452a87afdc3b48858fc4d4d6b, \< aa994489bd835547c191827acc460192e147032d; c406bb9ece6ef63721daab106f132ff4b4234e81; 2f9f4a2d0e6fcf0673ed51195e06e47abe966900; 5e397c943424de94879830e72c95f2679e297a76; \>= 5.10.50, \< 5.11; … (cvelist)
- Linux: 5.14 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-98684.md
Affected: Linux >= 966a3cb7c7db786452a87afdc3b48858fc4d4d6b, < 697949f6b226084bf3697a3b699b00b4bcfee100; >= 966a3cb7c7db786452a87afdc3b48858fc4d4d6b, < a6891ec0e940380844dd335f87c3bece299470ea; >= 966a3cb7c7db786452a87afdc3b48858fc4d4d6b, < 6787575545cd8af1da3778d7c1ae43a4398a6b26; >= 966a3cb7c7db786452a87af…
Fixed in: Linux 697949f6b226084bf3697a3b699b00b4bcfee100, Linux 6787575545cd8af1da3778d7c1ae43a4398a6b26, Linux 5.11

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-98684 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 966a3cb7c7db786452a87afdc3b48858fc4d4d6b, \< 697949f6b226084bf3697a3b699b00b4bcfee100; \>= 966a3cb7c7db786452a87afdc3b48858fc4d4d6b, \< a6891ec0e940380844dd335f87c3bece299470ea; \>= 966a3cb7c7db786452a87afdc3b48858fc4d4d6b, \< 6787575545cd8af1da3778d7c1ae43a4398a6b26; \>= 966a3cb7c7db786452a87afdc3b48858fc4d4d6b, \< f82242fe3109a3ef72f429540b5bdde08fbfb0e4; \>= 966a3cb7c7db786452a87afdc3b48858fc4d4d6b, \< bf84e44ff0ed802778eafd7ecb623635379cb506; \>= 966a3cb7c7db786452a87afdc3b48858fc4d4d6b, \< aa994489bd835547c191827acc460192e147032d; c406bb9ece6ef63721daab106f132ff4b4234e81; 2f9f4a2d0e6fcf0673ed51195e06e47abe966900; 5e397c943424de94879830e72c95f2679e297a76; \>= 5.10.50, \< 5.11; …; Linux 5.14.

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

Yes. Fixed in Linux 697949f6b226084bf3697a3b699b00b4bcfee100, Linux 6787575545cd8af1da3778d7c1ae43a4398a6b26, Linux 5.11. No fix listed yet: follow the vendor advisory.

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

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

- other: <https://git.kernel.org/stable/c/697949f6b226084bf3697a3b699b00b4bcfee100>
- other: <https://git.kernel.org/stable/c/a6891ec0e940380844dd335f87c3bece299470ea>
- other: <https://git.kernel.org/stable/c/6787575545cd8af1da3778d7c1ae43a4398a6b26>
- other: <https://git.kernel.org/stable/c/f82242fe3109a3ef72f429540b5bdde08fbfb0e4>
- other: <https://git.kernel.org/stable/c/bf84e44ff0ed802778eafd7ecb623635379cb506>
- other: <https://git.kernel.org/stable/c/aa994489bd835547c191827acc460192e147032d>

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

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