{"api_version":"1","generated_at":"2026-11-22T20:39:57+00:00","cve":"CVE-2026-99679","urls":{"html":"https://cve.report/CVE-2026-99679","api":"https://cve.report/api/cve/CVE-2026-99679.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-99679","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99679"},"summary":{"title":"xfs: refuse a pNFS LAYOUTCOMMIT of a range without blocks","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: refuse a pNFS LAYOUTCOMMIT of a range without blocks\n\nA client can commit a hole in a LAYOUTCOMMIT, because nfsd does not\ncheck the extents against its layouts. xfs_iomap_write_unwritten() then\nallocates written blocks there. A large hole overruns the block\nreservation and shuts XFS down. A small one exposes stale data.\n\nRefuse such a range with -EIO, using XFS_BMAPI_CONVERT_ONLY.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-20 06:18:02","updated_at":"2026-11-22 11:17:06"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"9.4","severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H","baseScore":9.4,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"LOW","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"9.4","severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H","data":{"baseScore":9.4,"baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/bcf0b7f18ad11e1d410e82ffef678705eff0a317","name":"https://git.kernel.org/stable/c/bcf0b7f18ad11e1d410e82ffef678705eff0a317","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/d13039937a44e935ed57d661f3f4adcde8375785","name":"https://git.kernel.org/stable/c/d13039937a44e935ed57d661f3f4adcde8375785","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-99679","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99679","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 527851124d10f9c50b1c578e0a56fcd49922422d d13039937a44e935ed57d661f3f4adcde8375785 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 527851124d10f9c50b1c578e0a56fcd49922422d bcf0b7f18ad11e1d410e82ffef678705eff0a317 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.0","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.0 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.5 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc2 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"99679","cve":"CVE-2026-99679","epss":"0.001560000","percentile":"0.047270000","score_date":"2026-11-21","updated_at":"2026-11-22 00:14:17"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["fs/xfs/xfs_file.c","fs/xfs/xfs_ioend.c","fs/xfs/xfs_iomap.c","fs/xfs/xfs_iomap.h","fs/xfs/xfs_pnfs.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"d13039937a44e935ed57d661f3f4adcde8375785","status":"affected","version":"527851124d10f9c50b1c578e0a56fcd49922422d","versionType":"git"},{"lessThan":"bcf0b7f18ad11e1d410e82ffef678705eff0a317","status":"affected","version":"527851124d10f9c50b1c578e0a56fcd49922422d","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["fs/xfs/xfs_file.c","fs/xfs/xfs_ioend.c","fs/xfs/xfs_iomap.c","fs/xfs/xfs_iomap.h","fs/xfs/xfs_pnfs.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.0"},{"lessThan":"4.0","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.5","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc2","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.5","versionStartIncluding":"4.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc2","versionStartIncluding":"4.0","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: refuse a pNFS LAYOUTCOMMIT of a range without blocks\n\nA client can commit a hole in a LAYOUTCOMMIT, because nfsd does not\ncheck the extents against its layouts. xfs_iomap_write_unwritten() then\nallocates written blocks there. A large hole overruns the block\nreservation and shuts XFS down. A small one exposes stale data.\n\nRefuse such a range with -EIO, using XFS_BMAPI_CONVERT_ONLY."}],"metrics":[{"cvssV3_1":{"baseScore":9.4,"baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H","version":"3.1"},"scenarios":[{"lang":"en","value":"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.\nAC: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.\nPR: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.\nUI: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.\nS: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.\nC: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.\nI: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.\nA: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."}]}],"providerMetadata":{"dateUpdated":"2026-11-22T11:09:40.513Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/d13039937a44e935ed57d661f3f4adcde8375785"},{"url":"https://git.kernel.org/stable/c/bcf0b7f18ad11e1d410e82ffef678705eff0a317"}],"title":"xfs: refuse a pNFS LAYOUTCOMMIT of a range without blocks","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-99679","datePublished":"2026-11-20T05:50:26.518Z","dateReserved":"2026-09-25T10:25:14.428Z","dateUpdated":"2026-11-22T11:09:40.513Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-20 06:18:02","lastModifiedDate":"2026-11-22 11:17:06","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H","baseScore":9.4,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"LOW","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":5.5}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"99679","Ordinal":"1","Title":"xfs: refuse a pNFS LAYOUTCOMMIT of a range without blocks","CVE":"CVE-2026-99679","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"99679","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: refuse a pNFS LAYOUTCOMMIT of a range without blocks\n\nA client can commit a hole in a LAYOUTCOMMIT, because nfsd does not\ncheck the extents against its layouts. xfs_iomap_write_unwritten() then\nallocates written blocks there. A large hole overruns the block\nreservation and shuts XFS down. A small one exposes stale data.\n\nRefuse such a range with -EIO, using XFS_BMAPI_CONVERT_ONLY.","Type":"Description","Title":"xfs: refuse a pNFS LAYOUTCOMMIT of a range without blocks"}]}}}