# CVE-2026-99678: xfs: cap the block count of xfs\_iomap\_write\_direct() at one extent

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; 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:** Remote, no login needed
- **EPSS:** 0.72% (percentile 50, 2026-11-28)
- **Published:** 2026-11-20T05:50:25.703Z
- **Modified:** 2026-11-23T08:18:08.603Z

## Who should check

- Anyone running Linux \>= 527851124d10f9c50b1c578e0a56fcd49922422d, \< a5d7ce30a20abcb1149a793879ac645547c9162d; \>= 527851124d10f9c50b1c578e0a56fcd49922422d, \< 7c69fa22f36f44eb4dc367b915bb6b06e1f60c42; \>= 527851124d10f9c50b1c578e0a56fcd49922422d, \< dbee0c8c244bbe00dbf4da145609de82c2758dc5; \>= 527851124d10f9c50b1c578e0a56fcd49922422d, \< ade881e5fd44b8993c1371bbd8e2ea7f207e5251; \>= 527851124d10f9c50b1c578e0a56fcd49922422d, \< 7f4972601b3faa66524e44df9e929fd491e35bfd; \>= 527851124d10f9c50b1c578e0a56fcd49922422d, \< 73b0f3d5201f741125061d8559e9631f1af4cb39; \>= 527851124d10f9c50b1c578e0a56fcd49922422d, \< 83e0edb26d05515083784db26a02a809371ccdb3; \>= 527851124d10f9c50b1c578e0a56fcd49922422d, \< 66d1ce09ebd72709f8d739630c39f440445173fd
- Anyone running Linux 4.0

## Description

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

xfs: cap the block count of xfs\_iomap\_write\_direct() at one extent

xfs\_iomap\_write\_direct() reserves blocks for the whole count in an
unsigned int. For a pNFS layout the client chooses that count, and an
RW LAYOUTGET for 16 TiB wraps the reservation and shuts XFS down.

xfs\_bmapi\_write() maps at most XFS\_MAX\_BMBT\_EXTLEN blocks here, so cap
the count at that. nfsd asks again for the rest. The other callers get
the same mapping as before.

## Affected and fixed versions

- Linux: \>= 527851124d10f9c50b1c578e0a56fcd49922422d, \< a5d7ce30a20abcb1149a793879ac645547c9162d; \>= 527851124d10f9c50b1c578e0a56fcd49922422d, \< 7c69fa22f36f44eb4dc367b915bb6b06e1f60c42; \>= 527851124d10f9c50b1c578e0a56fcd49922422d, \< dbee0c8c244bbe00dbf4da145609de82c2758dc5; \>= 527851124d10f9c50b1c578e0a56fcd49922422d, \< ade881e5fd44b8993c1371bbd8e2ea7f207e5251; \>= 527851124d10f9c50b1c578e0a56fcd49922422d, \< 7f4972601b3faa66524e44df9e929fd491e35bfd; \>= 527851124d10f9c50b1c578e0a56fcd49922422d, \< 73b0f3d5201f741125061d8559e9631f1af4cb39; \>= 527851124d10f9c50b1c578e0a56fcd49922422d, \< 83e0edb26d05515083784db26a02a809371ccdb3; \>= 527851124d10f9c50b1c578e0a56fcd49922422d, \< 66d1ce09ebd72709f8d739630c39f440445173fd (cvelist)
- Linux: 4.0 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 66d1ce09ebd72709f8d739630c39f440445173fd 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-99678. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99678.md
Affected: Linux >= 527851124d10f9c50b1c578e0a56fcd49922422d, < a5d7ce30a20abcb1149a793879ac645547c9162d; >= 527851124d10f9c50b1c578e0a56fcd49922422d, < 7c69fa22f36f44eb4dc367b915bb6b06e1f60c42; >= 527851124d10f9c50b1c578e0a56fcd49922422d, < dbee0c8c244bbe00dbf4da145609de82c2758dc5; >= 527851124d10f9c50b1c578…
Fixed in: Linux 7c69fa22f36f44eb4dc367b915bb6b06e1f60c42, Linux 7f4972601b3faa66524e44df9e929fd491e35bfd, Linux 73b0f3d5201f741125061d8559e9631f1af4cb39, Linux 83e0edb26d05515083784db26a02a809371ccdb3, Linux 66d1ce09ebd72709f8d739630c39f440445173fd

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

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

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

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

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

Linux \>= 527851124d10f9c50b1c578e0a56fcd49922422d, \< a5d7ce30a20abcb1149a793879ac645547c9162d; \>= 527851124d10f9c50b1c578e0a56fcd49922422d, \< 7c69fa22f36f44eb4dc367b915bb6b06e1f60c42; \>= 527851124d10f9c50b1c578e0a56fcd49922422d, \< dbee0c8c244bbe00dbf4da145609de82c2758dc5; \>= 527851124d10f9c50b1c578e0a56fcd49922422d, \< ade881e5fd44b8993c1371bbd8e2ea7f207e5251; \>= 527851124d10f9c50b1c578e0a56fcd49922422d, \< 7f4972601b3faa66524e44df9e929fd491e35bfd; \>= 527851124d10f9c50b1c578e0a56fcd49922422d, \< 73b0f3d5201f741125061d8559e9631f1af4cb39; \>= 527851124d10f9c50b1c578e0a56fcd49922422d, \< 83e0edb26d05515083784db26a02a809371ccdb3; \>= 527851124d10f9c50b1c578e0a56fcd49922422d, \< 66d1ce09ebd72709f8d739630c39f440445173fd; Linux 4.0.

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

Yes. Fixed in Linux 7c69fa22f36f44eb4dc367b915bb6b06e1f60c42, Linux 7f4972601b3faa66524e44df9e929fd491e35bfd, Linux 73b0f3d5201f741125061d8559e9631f1af4cb39, Linux 83e0edb26d05515083784db26a02a809371ccdb3, Linux 66d1ce09ebd72709f8d739630c39f440445173fd. Upgrade Linux to 66d1ce09ebd72709f8d739630c39f440445173fd or later.

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

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/a5d7ce30a20abcb1149a793879ac645547c9162d>
- other: <https://git.kernel.org/stable/c/7c69fa22f36f44eb4dc367b915bb6b06e1f60c42>
- other: <https://git.kernel.org/stable/c/dbee0c8c244bbe00dbf4da145609de82c2758dc5>
- other: <https://git.kernel.org/stable/c/ade881e5fd44b8993c1371bbd8e2ea7f207e5251>
- other: <https://git.kernel.org/stable/c/7f4972601b3faa66524e44df9e929fd491e35bfd>
- other: <https://git.kernel.org/stable/c/73b0f3d5201f741125061d8559e9631f1af4cb39>
- other: <https://git.kernel.org/stable/c/83e0edb26d05515083784db26a02a809371ccdb3>
- other: <https://git.kernel.org/stable/c/66d1ce09ebd72709f8d739630c39f440445173fd>

## 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-99678>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

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