# CVE-2026-99132: xfs: don't hold buffer locks across sync transaction commit in xfs_sync_sb_buf

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-10-28T10:34:45.756Z
- Modified: 2026-10-30T13:21:47.390Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from f7664b31975bd893190708e76b2c424328f0c49b before 16468281da17263095bd1906cf2d16a972f10791; from f7664b31975bd893190708e76b2c424328f0c49b before 45f124f3902bfae6a366d124db04f707264176fb; from f7664b31975bd893190708e76b2c424328f0c49b before d900946853c2d183fa0e199bae9ddbcd21795a18; from f7664b31975bd893190708e76b2c424328f0c49b before 83b2e511cf9ba22904b167e00fcbd85169b50b2c; from f7664b31975bd893190708e76b2c424328f0c49b before acd7f2f9b822b6e126f3e3c99c173e62aa315b6f; from f7664b31975bd893190708e76b2c424328f0c49b before e5456dec79c71c8ef8f9f9adb77d320f113b34db; from f7664b31975bd893190708e76b2c424328f0c49b before 6353e5cd8c43d6e805cacbfbfecf4103571a7ff8; from f7664b31975bd893190708e76b2c424328f0c49b before 41a28c865d1d5843f8cb9e0af17a8f4d9e2961ff; 4.18 (not affected: before 4.18; from 5.10.273 up to 5.10.*; from 5.15.224 up to 5.15.*; from 6.1.191 up to 6.1.*; from 6.6.161 up to 6.6.*; from 6.12.115 up to 6.12.*; from 6.18.59 up to 6.18.*; from 7.2.13 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/16468281da17263095bd1906cf2d16a972f10791>
- <https://git.kernel.org/stable/c/45f124f3902bfae6a366d124db04f707264176fb>
- <https://git.kernel.org/stable/c/d900946853c2d183fa0e199bae9ddbcd21795a18>
- <https://git.kernel.org/stable/c/83b2e511cf9ba22904b167e00fcbd85169b50b2c>
- <https://git.kernel.org/stable/c/acd7f2f9b822b6e126f3e3c99c173e62aa315b6f>
- <https://git.kernel.org/stable/c/e5456dec79c71c8ef8f9f9adb77d320f113b34db>
- <https://git.kernel.org/stable/c/6353e5cd8c43d6e805cacbfbfecf4103571a7ff8>
- <https://git.kernel.org/stable/c/41a28c865d1d5843f8cb9e0af17a8f4d9e2961ff>

## Sources

- CVE List: [CVE-2026-99132](https://www.cve.org/CVERecord?id=CVE-2026-99132), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-99132](https://nvd.nist.gov/vuln/detail/CVE-2026-99132), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-99132 · Whole record: https://cve.day/CVE-2026-99132.json · Rebuilt by cve.day 2026-11-25T22:59:47.572Z
