{"id":"CVE-2026-99132","state":"PUBLISHED","title":"xfs: don't hold buffer locks across sync transaction commit in xfs_sync_sb_buf","description":"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.","publishedAt":"2026-10-28T10:34:45.756Z","updatedAt":"2026-10-30T12:42:05.352Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f7664b31975bd893190708e76b2c424328f0c49b","status":"affected","lessThan":"16468281da17263095bd1906cf2d16a972f10791","versionType":"git"},{"version":"f7664b31975bd893190708e76b2c424328f0c49b","status":"affected","lessThan":"45f124f3902bfae6a366d124db04f707264176fb","versionType":"git"},{"version":"f7664b31975bd893190708e76b2c424328f0c49b","status":"affected","lessThan":"d900946853c2d183fa0e199bae9ddbcd21795a18","versionType":"git"},{"version":"f7664b31975bd893190708e76b2c424328f0c49b","status":"affected","lessThan":"83b2e511cf9ba22904b167e00fcbd85169b50b2c","versionType":"git"},{"version":"f7664b31975bd893190708e76b2c424328f0c49b","status":"affected","lessThan":"acd7f2f9b822b6e126f3e3c99c173e62aa315b6f","versionType":"git"},{"version":"f7664b31975bd893190708e76b2c424328f0c49b","status":"affected","lessThan":"e5456dec79c71c8ef8f9f9adb77d320f113b34db","versionType":"git"},{"version":"f7664b31975bd893190708e76b2c424328f0c49b","status":"affected","lessThan":"6353e5cd8c43d6e805cacbfbfecf4103571a7ff8","versionType":"git"},{"version":"f7664b31975bd893190708e76b2c424328f0c49b","status":"affected","lessThan":"41a28c865d1d5843f8cb9e0af17a8f4d9e2961ff","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/xfs/libxfs/xfs_rtgroup.h","fs/xfs/libxfs/xfs_sb.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.18","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.18","versionType":"semver"},{"version":"5.10.273","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.224","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.191","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.161","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.115","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.59","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.13","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/xfs/libxfs/xfs_rtgroup.h","fs/xfs/libxfs/xfs_sb.c"]}],"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"],"weaknesses":[],"ingestedAt":"2026-10-30T13:02:04.640Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/99xxx/CVE-2026-99132.json","commit":"cb14bf1b43b0c9f05f7f40eae2246263fd430780","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99132","state":"PUBLISHED","datePublished":"2026-10-28T10:34:45.756Z","dateUpdated":"2026-10-30T12:42:05.352Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.394Z"},"containers":{"cna":{"title":"xfs: don't hold buffer locks across sync transaction commit in xfs_sync_sb_buf","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":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f7664b31975bd893190708e76b2c424328f0c49b","status":"affected","lessThan":"16468281da17263095bd1906cf2d16a972f10791","versionType":"git"},{"version":"f7664b31975bd893190708e76b2c424328f0c49b","status":"affected","lessThan":"45f124f3902bfae6a366d124db04f707264176fb","versionType":"git"},{"version":"f7664b31975bd893190708e76b2c424328f0c49b","status":"affected","lessThan":"d900946853c2d183fa0e199bae9ddbcd21795a18","versionType":"git"},{"version":"f7664b31975bd893190708e76b2c424328f0c49b","status":"affected","lessThan":"83b2e511cf9ba22904b167e00fcbd85169b50b2c","versionType":"git"},{"version":"f7664b31975bd893190708e76b2c424328f0c49b","status":"affected","lessThan":"acd7f2f9b822b6e126f3e3c99c173e62aa315b6f","versionType":"git"},{"version":"f7664b31975bd893190708e76b2c424328f0c49b","status":"affected","lessThan":"e5456dec79c71c8ef8f9f9adb77d320f113b34db","versionType":"git"},{"version":"f7664b31975bd893190708e76b2c424328f0c49b","status":"affected","lessThan":"6353e5cd8c43d6e805cacbfbfecf4103571a7ff8","versionType":"git"},{"version":"f7664b31975bd893190708e76b2c424328f0c49b","status":"affected","lessThan":"41a28c865d1d5843f8cb9e0af17a8f4d9e2961ff","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/xfs/libxfs/xfs_rtgroup.h","fs/xfs/libxfs/xfs_sb.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.18","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.18","versionType":"semver"},{"version":"5.10.273","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.224","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.191","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.161","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.115","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.59","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.13","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/xfs/libxfs/xfs_rtgroup.h","fs/xfs/libxfs/xfs_sb.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/16468281da17263095bd1906cf2d16a972f10791"},{"url":"https://git.kernel.org/stable/c/45f124f3902bfae6a366d124db04f707264176fb"},{"url":"https://git.kernel.org/stable/c/d900946853c2d183fa0e199bae9ddbcd21795a18"},{"url":"https://git.kernel.org/stable/c/83b2e511cf9ba22904b167e00fcbd85169b50b2c"},{"url":"https://git.kernel.org/stable/c/acd7f2f9b822b6e126f3e3c99c173e62aa315b6f"},{"url":"https://git.kernel.org/stable/c/e5456dec79c71c8ef8f9f9adb77d320f113b34db"},{"url":"https://git.kernel.org/stable/c/6353e5cd8c43d6e805cacbfbfecf4103571a7ff8"},{"url":"https://git.kernel.org/stable/c/41a28c865d1d5843f8cb9e0af17a8f4d9e2961ff"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-30T12:42:05.352Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.18","versionEndExcluding":"5.10.273"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.18","versionEndExcluding":"5.15.224"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.18","versionEndExcluding":"6.1.191"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.18","versionEndExcluding":"6.6.161"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.18","versionEndExcluding":"6.12.115"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.18","versionEndExcluding":"6.18.59"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.18","versionEndExcluding":"7.2.13"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.18","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}