← Back to CVE Explorer

CVE-2026-99132

Full vulnerability record from the local CVENow database.

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.

Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-10-28 11:17:33.033000
Last modified
2026-10-28 11:17:33.033000
View original CVE JSON
{
  "id": "CVE-2026-99132",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2026-10-28T11:17:33.033",
  "lastModified": "2026-10-28T11:17:33.033",
  "vulnStatus": "Received",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: don't hold buffer locks across sync transaction commit in xfs_sync_sb_buf\n\nxfs_sync_sb_buf() holds sb/rtsb buffer locks across a synchronous\nxfs_trans_commit(), which flushes the CIL push workqueue internally.\nIf shutdown occurs during the CIL push, xfs_buf_item_unpin() needs to\nlock these buffers to fail them, causing a deadlock:\n\n  setlabel:          holds buf lock -> flush_workqueue(xfs-cil)\n  CIL push worker:   xfs_buf_item_unpin -> xfs_buf_lock(same buf)\n\nRemove the xfs_trans_bhold() calls so that commit releases the buffer\nlocks normally.  After the sync commit, re-acquire the buffers via\nmp->m_sb_bp / mp->m_rtsb_bp for the on-disk writeback."
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "fs/xfs/libxfs/xfs_rtgroup.h",
            "fs/xfs/libxfs/xfs_sb.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "f7664b31975bd893190708e76b2c424328f0c49b",
              "lessThan": "e5456dec79c71c8ef8f9f9adb77d320f113b34db",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "f7664b31975bd893190708e76b2c424328f0c49b",
              "lessThan": "6353e5cd8c43d6e805cacbfbfecf4103571a7ff8",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "f7664b31975bd893190708e76b2c424328f0c49b",
              "lessThan": "41a28c865d1d5843f8cb9e0af17a8f4d9e2961ff",
              "versionType": "git",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "fs/xfs/libxfs/xfs_rtgroup.h",
            "fs/xfs/libxfs/xfs_sb.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "4.18",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "4.18",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.18.59",
              "lessThanOrEqual": "6.18.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.2.13",
              "lessThanOrEqual": "7.2.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.3",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {},
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/41a28c865d1d5843f8cb9e0af17a8f4d9e2961ff",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/6353e5cd8c43d6e805cacbfbfecf4103571a7ff8",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/e5456dec79c71c8ef8f9f9adb77d320f113b34db",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}