CVE-2026-99679
published critical CVSS 3.1 · 9.4xfs: refuse a pNFS LAYOUTCOMMIT of a range without blocks
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux527851124d10f9c50b1c578e0a56fcd49922422d to < d34294ee7977b8c62ba12c2993174ba77ba99a45 · 527851124d10f9c50b1c578e0a56fcd49922422d to < 097608700b06804fe81a695417004896507edaeb · 527851124d10f9c50b1c578e0a56fcd49922422d to < d13039937a44e935ed57d661f3f4adcde8375785 · 527851124d10f9c50b1c578e0a56fcd49922422d to < bcf0b7f18ad11e1d410e82ffef678705eff0a317 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.0 (affected) · 0 to < 4.0 (unaffected · semver) · 6.12.120 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.5 through 7.3.* (unaffected · semver) · 7.4-rc2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix; Not Affected | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devels390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develx86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
Show 12 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macross390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosx86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sources390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourcex86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillaaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillappc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillas390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillax86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
Description
In the Linux kernel, the following vulnerability has been resolved: xfs: refuse a pNFS LAYOUTCOMMIT of a range without blocks A client can commit a hole in a LAYOUTCOMMIT, because nfsd does not check the extents against its layouts. xfs_iomap_write_unwritten() then allocates written blocks there. A large hole overruns the block reservation and shuts XFS down. A small one exposes stale data. Refuse such a range with -EIO, using XFS_BMAPI_CONVERT_ONLY.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.4 / 10
- Severity
- critical
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H
- Scenarios
- en: AV:N - NFSv4.1 OP_LAYOUTCOMMIT carries the range: nfsd4_decode_layoutcommit reads the segment, and nfsd4_block_decode_layoutupdate or nfsd4_scsi_decode_layoutupdate copies each layoutupdate extent's file offset and length into iomaps. nfsd4_block_commit_blocks passes those iomaps to xfs_fs_commit_blocks, which calls xfs_iomap_write_unwritten on that client-supplied hole. AC:L - The client writes past EOF so the gap stays a hole, LAYOUTGETs it with IOMODE_READ (xfs_fs_map_blocks does not allocate when write is false), then LAYOUTCOMMITs that range. nfsd4_preprocess_layout_stateid does not require the layoutupdate to match the granted range. A length within the XFS_DIOSTRAT_SPACE_RES(mp, 0)<<1 reservation commits; a longer one makes xfs_trans_mod_sb shut XFS down. PR:N - nfsd4_layoutcommit gates the operation solely with fh_verify(NFSD_MAY_WRITE|NFSD_MAY_OWNER_OVERRIDE) before nfsd4_block_proc_layoutcommit or nfsd4_scsi_proc_layoutcommit. On an AUTH_SYS export the client asserts the uid in the RPC credential and nfsd does not verify that identity. UI:N - The attacking client creates the sparse file, issues LAYOUTGET to obtain the stateid, and sends the LAYOUTCOMMIT layoutupdate for the hole. No other user has to mount an image, open the file, or take any action. S:U - xfs_force_shutdown and the newly written extents both land in the same host XFS mount that served the LAYOUTCOMMIT. The effect stays inside that kernel filesystem authority. C:H - For a hole that fits the reservation, xfs_bmapi_allocate inserts the blocks as XFS_EXT_NORM and the commit path never passes XFS_BMAPI_ZERO, so a following NFS READ returns the previous contents of those free blocks. Further LAYOUTCOMMITs of reservation-sized holes repeat the disclosure. I:L - The same successful commit replaces the hole, or a delalloc extent after invalidate_inode_pages2_range, with those written blocks in the file, and a loca_last_write_offset past EOF grows i_size in xfs_fs_commit_blocks. The modification is limited to that file's extent map. A:H - xfs_iomap_write_unwritten reserves only XFS_DIOSTRAT_SPACE_RES(mp, 0)<<1 blocks. A longer hole is charged in xfs_ag_resv_alloc_extent via xfs_trans_mod_sb, which calls xfs_force_shutdown(mp, SHUTDOWN_CORRUPT_INCORE) when t_blk_res_used exceeds t_blk_res, after which the filesystem fails I/O.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 527851124d10f9c50b1c578e0a56fcd49922422d to < d34294ee7977b8c62ba12c2993174ba77ba99a45 (affected · git)527851124d10f9c50b1c578e0a56fcd49922422d to < 097608700b06804fe81a695417004896507edaeb (affected · git)527851124d10f9c50b1c578e0a56fcd49922422d to < d13039937a44e935ed57d661f3f4adcde8375785 (affected · git)527851124d10f9c50b1c578e0a56fcd49922422d to < bcf0b7f18ad11e1d410e82ffef678705eff0a317 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.0 (affected)0 to < 4.0 (unaffected · semver)6.12.120 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.5 through 7.3.* (unaffected · semver)7.4-rc2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
1Linux · cna
xfs: refuse a pNFS LAYOUTCOMMIT of a range without blocks
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8c4d604912747059f6cd144c65e53767554e5ed414ed324ff762c9ca035d396d
- Ingested
- 30 Nov 2026, 12:13:03 UTC
- Source record
- Official CVE record