CVE-2026-99679: Linux kernel XFS shuts down or leaks stale data on a pNFS LAYOUTCOMMIT of a hole

ByLinuxtastic

November 30, 2026 #CVE, #Linux Kernel

Parallel NFS (pNFS) with the block layout lets an NFS client write straight to the storage behind an XFS export and then tell the server, with LAYOUTCOMMIT, which ranges it wrote. Before the fix nfsd did not check those ranges against the layouts it had handed out, so a client could commit a range that was a hole, XFS would dutifully convert it to written blocks, and either the block reservation overran and the file system shut itself down, or, for a small hole, the client could read whatever stale data had been on disk there. The kernel CNA scores it 9.4; Red Hat rates it Important, 7.1, because the client has to be one you let mount a pNFS export. If a server exports XFS with the pnfs option, install the fixed kernel and reboot; until then, drop the pnfs export option so clients fall back to ordinary NFS. Servers without pNFS exports, and all NFS clients, are not exposed.

CVE-2026-99679 at a glance.

ComponentLinux kernel, the XFS pNFS block-layout export path (fs/xfs/xfs_pnfs.c, with changes in xfs_file.c, xfs_ioend.c, xfs_iomap.c and xfs_iomap.h), reached from the nfsd LAYOUTCOMMIT handler
Affected versionsEvery kernel from 4.0 (where XFS gained pNFS block layout export) up to the fixed releases below, when an XFS file system is exported with pnfs; distribution kernels of the same age unless the table says otherwise
Fixed inMainline 7.4-rc2 (commit bcf0b7f18ad1); stable 6.12.120, 6.18.65, 7.3.5 (no backport to 5.10, 5.15, 6.1 or 6.6 is listed in the record as of 30 November); distribution packages below
SeverityCVSS 3.1 9.4 Critical (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H) from the kernel CNA, repeated by NVD and SUSE (rated critical). Red Hat Important, 7.1 (PR:L/C:L/A:H, CWE-1285 improper validation of an index), reading it as an authenticated client’s denial of service plus disclosure of unallocated disk data. NVD has not assigned a CWE
Exploited in the wildNot on CISA’s Known Exploited Vulnerabilities list as of 30 November 2026. EPSS 0.0056 (40th percentile) on 29 November 2026
Who is exposedNFS servers that export an XFS file system with the pnfs export option and the block layout enabled (CONFIG_NFSD_BLOCKLAYOUT or CONFIG_NFSD_SCSILAYOUT), to clients that can obtain a layout. pNFS block layout also needs the client to see the server’s block devices, so this is a storage-network feature rather than a general one; a client in that position can shut the server’s file system down or read stale blocks
PublishedCVE record 20 November 2026 (kernel CNA); this page built 30 November 2026, last updated 30 November 2026

What it is

With the pNFS block layout a client asks the server for a layout, a map of which blocks on the shared storage belong to which byte range of a file, writes to the storage directly, and then sends LAYOUTCOMMIT so the server can mark those ranges as written and update the file size. The XFS side of that is xfs_fs_commit_blocks() in fs/xfs/xfs_pnfs.c, which calls xfs_iomap_write_unwritten() for each committed range to convert the blocks from “unwritten” to “written”.

The commit message is short and exact: a client can commit a hole, because nfsd does not check the committed extents against the layouts it granted. xfs_iomap_write_unwritten() then allocates written blocks there. A large hole overruns the transaction’s block reservation and XFS shuts the file system down, which takes every export on it offline until an unmount and xfs_repair or a remount. A small hole gets real blocks marked written without anyone having written them, so the file now contains whatever was on those disk blocks before: the stale-data exposure in the CNA’s C:H and Red Hat’s “unallocated disk data”.

The fix refuses such a range with -EIO, using a new XFS_BMAPI_CONVERT_ONLY flag so the conversion path will only change existing unwritten extents and never allocate. Five XFS files change to thread the flag through the iomap and ioend code. The record lists backports only to 6.12, 6.18 and 7.3 as of 30 November; Ubuntu marks even its 4.15 kernel as needing the fix, so older series are affected and still waiting. git.kernel.org refuses automated readers, so this page relies on the CNA’s copy of the commit message and has not read the diff.

Who is affected on Linux

Each row is what the distribution’s own security tracker said on 30 November 2026; the link in the row is the tracker page, which will be newer than this one. Only NFS servers exporting XFS with pnfs are affected.

DistributionStatusFixed package
Debian bookworm, trixie, forkyVulnerable on bookworm and trixieno fixed bookworm or trixie kernel listed (trixie security 6.12.118-1 still vulnerable); forky and sid 7.3.6-1 fixed, unstable fix recorded as 7.3.5-1
Ubuntu 22.04, 24.04, 26.04 and newerNeeded on every supported release; pending on stonkingstonking 7.3.0-12.13 pending; no fixed kernel listed for jammy, noble or resolute as of 30 November
RHEL, Rocky, Alma, CentOS StreamAffected on RHEL 6 through 10, rated Important (7.1)no erratum listed yet for kernel or kernel-rt. Red Hat’s statement: confined to hosts that export XFS over NFS with pNFS block layout enabled
SUSE, openSUSE LeapNew, rated critical (9.4)every product row in Analysis on 30 November 2026; no fix shipped
Alpine, Fedora, ArchNot consultedtrackers not read for this page; Fedora and Arch track upstream stable closely, so the upstream row applies
Any self-built or vendor kernelAffected unless it carries the fixstable 6.12.120, 6.18.65, 7.3.5 or mainline 7.4-rc2

How to check

Three questions, in order: is the running kernel older than the fix, does this server export XFS with the pnfs option, and can the layout code run at all. Most NFS servers never enable pNFS and are done at the second command.

# 1. which kernel is running, and is it one of the fixed stable releases?
uname -r
# fixed: 6.12.120 / 6.18.65 / 7.3.5 / 7.4-rc2 (older series: no backport listed yet)
# Distribution kernels carry their own version strings: compare with the
# distribution table above, or ask the package manager directly
dpkg -l 'linux-image-*' 2>/dev/null | grep '^ii'          # Debian / Ubuntu
rpm -q kernel 2>/dev/null                                  # RHEL family
rpm -q kernel-default 2>/dev/null                          # SUSE

# 2. any export with the pnfs option, and is it XFS?
exportfs -v 2>/dev/null | grep -E 'pnfs'
grep -E 'pnfs' /etc/exports /etc/exports.d/* 2>/dev/null
findmnt -t xfs -o TARGET,SOURCE,FSTYPE                   # which exported paths are XFS

# 3. does the kernel have the block or SCSI layout code at all?
grep -E 'CONFIG_NFSD_(BLOCKLAYOUT|SCSILAYOUT)' /boot/config-$(uname -r) 2>/dev/null
cat /proc/fs/nfsd/versions 2>/dev/null                   # pNFS needs +4.1 or +4.2

If step 1 shows a fixed kernel, or step 2 prints nothing, there is nothing to do. An export that shows pnfs on an XFS path with the layout code built in is exposed to every client allowed to mount it; the client has to be able to mount, which is Red Hat’s PR:L, and it has to reach the block devices to use pNFS at all, which is why this is mostly a SAN or iSCSI-fabric concern rather than an internet one.

A triggered overrun ends with XFS shutting the file system down, which is loud. Look back for shutdown messages on any pNFS server, and for the LAYOUTCOMMIT errors the fix now produces.

journalctl -k --since '2026-11-01' | grep -E 'XFS \(.*\): .*(shutdown|Corruption|Internal error|reservation)' | head
journalctl -k --since '2026-11-01' | grep -iE 'pnfs|layoutcommit|xfs_iomap_write_unwritten' | head

An XFS shutdown on a pNFS server with no hardware cause is this bug until proved otherwise. The stale-data variant leaves no trace in the server log at all; if a client you do not fully trust had a layout on that export, assume it could read deleted data from the file system.

How to fix it

Upgrade the kernel and reboot. No distribution had shipped a fix on 30 November, and the record lists backports only for 6.12, 6.18 and 7.3, so most production kernels have to wait for their vendor; the mitigation below is the practical answer meanwhile.

# Debian
apt update && apt install --only-upgrade linux-image-amd64      # or linux-image-arm64
# Ubuntu (the generic metapackage pulls the fixed kernel once it is released)
apt update && apt full-upgrade
# RHEL, Rocky, Alma, CentOS Stream
dnf update kernel
# SUSE / openSUSE
zypper patch
# then reboot into the new kernel and confirm
reboot
uname -r

Until the fixed kernel is in place, remove the pnfs option from the affected exports and re-export. Clients then use ordinary NFS data paths through the server, which is slower on a storage fabric but closes the LAYOUTCOMMIT path entirely.

# remove 'pnfs' from the export options in /etc/exports (or /etc/exports.d/*), then
exportfs -ra
exportfs -v | grep -c pnfs                                # must be 0
# clients holding a layout keep it until it is recalled or they remount; a restart recalls everything
systemctl restart nfs-server

Do not mitigate by restricting which clients can mount: a pNFS block client is, by construction, one you have already given direct access to the storage, and this bug is what that client can do with it. Do not run xfs_repair as a precaution on a file system that has not shut down; the fix is in the kernel, not on disk.

Sources

  • CVE-2026-99679 at CVE.org — the kernel CNA record with the commit message, the affected ranges, the touched files and the stable-branch fixes
  • NVD entry — status Received; the only score is the CNA’s
  • Mainline fix commit bcf0b7f18ad1 — the commit the record and Debian cite (git.kernel.org refuses automated readers, so this page describes the fix from the CNA’s copy of the commit message, not from the diff)
  • Distribution trackers: Debian · Ubuntu · Red Hat · SUSE
  • EPSS score for this CVE, 29 November 2026

Related reading

This advisory page was assembled from the primary sources listed above on 30 November 2026 and is updated when they change. The facts are theirs; the checks and the ordering are ours. If a row in the distribution table is out of date, the tracker link in that row is the current word.