xfs: don't hold buffer locks across sync transaction commit in xfs_sync_sb_buf
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| LinuxLinux | — | Not listed |
| LinuxKernel |
≥ 4.18.0, < 5.10.273→ 5.10.273 ≥ 5.11.0, < 5.15.224→ 5.15.224 ≥ 5.16.0, < 6.1.191→ 6.1.191 ≥ 6.2.0, < 6.6.161→ 6.6.161 ≥ 6.7.0, < 6.12.115→ 6.12.115 ≥ 6.13.0, < 6.18.59→ 6.18.59 ≥ 6.19.0, < 7.2.13→ 7.2.13 |
5.10.273 5.15.224 6.1.191 6.6.161 6.12.115 6.18.59 7.2.13 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- BellSoft Alpaquita BELL-CVE-2026-99132 linux-lts Fix available
- Debian DEBIAN-CVE-2026-99132 linux-6.12, linux Fix available
- Ubuntu UBUNTU-CVE-2026-99132 linux-vmware, linux-realtime-6.8, linux-realtime +37 more Fix available
Original description The description as published by the source.
In the Linux kernel, the following vulnerability has been resolved:
xfs: don't hold buffer locks across sync transaction commit in xfs_sync_sb_buf
xfs_sync_sb_buf() holds sb/rtsb buffer locks across a synchronous
xfs_trans_commit(), which flushes the CIL push workqueue internally.
If shutdown occurs during the CIL push, xfs_buf_item_unpin() needs to
lock these buffers to fail them, causing a deadlock:
setlabel: holds buf lock -> flush_workqueue(xfs-cil)
CIL push worker: xfs_buf_item_unpin -> xfs_buf_lock(same buf)
Remove the xfs_trans_bhold() calls so that commit releases the buffer
locks normally. After the sync commit, re-acquire the buffers via
mp->m_sb_bp / mp->m_rtsb_bp for the on-disk writeback.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory nvd.nist.gov
- advisory github.com
- package git.kernel.org
- REDHAT Red Hat
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web github.com
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org