Integer wrap in XFS direct write reservation crashes Linux kernel
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 7 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.
Summary
The Linux kernel XFS filesystem from 4.0 is affected. The block reservation in xfs_iomap_write_direct() is kept in an unsigned int, so a large block count wraps. A remote, unauthenticated pNFS client can choose such a count through a layout request, which shuts XFS down and causes a denial of service.
Written with Claude Haiku 5.5 from the sources below · 2026-11-23
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 4.0 and later | 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.118, 6.18.64, 7.3.5, 7.4-rc2 | Patch available | CNA |
- Linux VendorLinux Affected 4.0 and later Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.118, 6.18.64, 7.3.5, 7.4-rc2 Patch available CNA
Remediation
Linux kernel fixed versions are 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.118, 6.18.64, 7.3.5 and 7.4-rc2. Red Hat lists no fix available for Red Hat Enterprise Linux 7, 8, 9 and 10 and for Red Hat OpenShift Container Platform 4 and 5, and no fix planned for Red Hat Enterprise Linux 6.
Written with Claude Haiku 5.5 from the sources below · 2026-11-23
- Fix · CNA Linux (Linux) Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.118, 6.18.64, 7.3.5, 7.4-rc2
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 5 | Affected | No fix yet: Fix deferred |
Timeline
- 2026-11-20 Threatist record created from CVE-2026-99678
- 2026-11-20 Alias added: GHSA-4g46-722q-2hr9
- 2026-11-20 Affected versions changed · Red Hat
- 2026-11-20 CVSS score added · Red Hat
- 2026-11-22 CVSS score added · CNA
- 2026-11-23 EPSS moved to the 50th–90th percentile
- 2026-11-23 Fix available: Linux/[email protected], Linux/[email protected], Linux/[email protected] +5 · CNA
- 2026-11-23 4 new references · CNA
- 2026-11-25 EPSS moved to the below the 50th percentile
References
Other 8
- https://git.kernel.org/stable/c/a5d7ce30a20abcb1149a793879ac645547c9162d
- https://git.kernel.org/stable/c/7c69fa22f36f44eb4dc367b915bb6b06e1f60c42
- https://git.kernel.org/stable/c/dbee0c8c244bbe00dbf4da145609de82c2758dc5
- https://git.kernel.org/stable/c/ade881e5fd44b8993c1371bbd8e2ea7f207e5251
- https://git.kernel.org/stable/c/7f4972601b3faa66524e44df9e929fd491e35bfd
- https://git.kernel.org/stable/c/73b0f3d5201f741125061d8559e9631f1af4cb39
- https://git.kernel.org/stable/c/83e0edb26d05515083784db26a02a809371ccdb3
- https://git.kernel.org/stable/c/66d1ce09ebd72709f8d739630c39f440445173fd
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-99678 · CVE Program
- CVE-2026-99678 · NVD
- FIRST EPSS
- GHSA-4g46-722q-2hr9 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-99678 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences