Description
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.
Published: 2026-10-28
Score: n/a
EPSS: n/a
KEV: No
Impact: Denial of Service
Action: Apply Patch
AI Analysis

Impact

The defect in the Linux kernel prevents the XFS filesystem from releasing buffer locks correctly during a synchronous transaction commit. When a shutdown occurs while the CIL push workqueue is flushing, the buffer locks are held during the commit, leading to a deadlock when the worker thread attempts to pin the same buffers. This can freeze the system, interrupt I/O operations, and prevent proper shutdown or data integrity checks, effectively causing a denial of service.

Affected Systems

Afflicted systems are Linux kernel installations that use the XFS filesystem. Any kernel version that has not yet incorporated the patch removing the xfs_trans_bhold() calls is vulnerable. The vulnerability applies to all distributions running the affected kernel regardless of distribution vendor.

Risk and Exploitability

The CVSS score is not specified, and the EPSS score is unavailable, so an explicit severity rating is absent. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires kernel-level execution, meaning it is only achievable by users with root privileges or by triggering the condition via system shutdown or crash routines. The likelihood of accidental exploitation is low, but a routine reboot during XFS sync could trigger the deadlock, leading to a temporary denial of service. Overall, the risk is considered moderate due to the potential impact on availability and the need for privileged intervention.

Generated by OpenCVE AI on October 28, 2026 at 11:41 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a release that contains the described fix to remove the buffer lock hold across sync commits
  • If immediate kernel upgrade is unavailable, schedule system shutdowns or restarts only after confirming that no XFS flush or writeback operations are pending; avoid abrupt shutdowns during file system maintenance
  • Regularly review kernel change logs for XFS-related patches and monitor system logs for unexpected freezes or deadlock indications

Generated by OpenCVE AI on October 28, 2026 at 11:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 28 Oct 2026 13:00:00 +0000

Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux

Wed, 28 Oct 2026 12:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-727

Wed, 28 Oct 2026 10:45:00 +0000

Type Values Removed Values Added
Description 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.
Title xfs: don't hold buffer locks across sync transaction commit in xfs_sync_sb_buf
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-28T10:34:45.756Z

Reserved: 2026-09-25T10:25:14.394Z

Link: CVE-2026-99132

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-28T11:17:33.033

Modified: 2026-10-28T11:17:33.033

Link: CVE-2026-99132

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-28T12:45:15Z

Weaknesses