xfs: don't hold buffer locks across sync transaction commit in xfs_sync_sb_buf (Linux Linux)

CVE-2026-99132
Not available

At a glance

Source
NVD
EPSS
EPSS 0.21 % · percentile 12 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Received

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.

References

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ f7664b31975bd893190708e76b2c424328f0c49b < 16468281da17263095bd1906cf2d16a972f10791
affected : ≥ f7664b31975bd893190708e76b2c424328f0c49b < 45f124f3902bfae6a366d124db04f707264176fb
affected : ≥ f7664b31975bd893190708e76b2c424328f0c49b < d900946853c2d183fa0e199bae9ddbcd21795a18
affected : ≥ f7664b31975bd893190708e76b2c424328f0c49b < 83b2e511cf9ba22904b167e00fcbd85169b50b2c
affected : ≥ f7664b31975bd893190708e76b2c424328f0c49b < acd7f2f9b822b6e126f3e3c99c173e62aa315b6f
affected : ≥ f7664b31975bd893190708e76b2c424328f0c49b < e5456dec79c71c8ef8f9f9adb77d320f113b34db
affected : ≥ f7664b31975bd893190708e76b2c424328f0c49b < 6353e5cd8c43d6e805cacbfbfecf4103571a7ff8
affected : ≥ f7664b31975bd893190708e76b2c424328f0c49b < 41a28c865d1d5843f8cb9e0af17a8f4d9e2961ff
Other versions : unaffected
Linux · Linux
affected : 4.18
unaffected : ≥ 0 < 4.18
unaffected : ≥ 5.10.273 ≤ 5.10.*
unaffected : ≥ 5.15.224 ≤ 5.15.*
unaffected : ≥ 6.1.191 ≤ 6.1.*
unaffected : ≥ 6.6.161 ≤ 6.6.*
unaffected : ≥ 6.12.115 ≤ 6.12.*
unaffected : ≥ 6.18.59 ≤ 6.18.*
unaffected : ≥ 7.2.13 ≤ 7.2.*
unaffected : ≥ 7.3 ≤ *
Other versions : affected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD