{"id":"CVE-2026-80804","published":"2026-09-04T15:13:18Z","modified":"2026-10-19T08:43:57Z","title":"xfs: restore nofs context unconditionally in xfs_trans_roll","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: restore nofs context unconditionally in xfs_trans_roll\n\nWhen __xfs_trans_commit() fails in xfs_trans_roll(), the NOFS context\nis cleared but only restored in the success path.  This leaves the\nerror path without nofs protection, causing a circular lock dependency\nbetween xfs_nondir_ilock_class and fs_reclaim:\n\n       CPU0                    CPU1\n       ----                    ----\n  lock(&xfs_nondir_ilock_class);\n                               lock(fs_reclaim);\n                               lock(&xfs_nondir_ilock_class);\n  lock(fs_reclaim);\n\nFix this by moving xfs_trans_set_context() before the error check so\nthat nofs context is always restored on the new transaction.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00206,"percentile":0.10599,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/b09198cf90ccf296970b774beea1c1ddb260f94c","tags":[]},{"url":"https://git.kernel.org/stable/c/4d00a39c676274f4071b467e630565ac1e3ae0f2","tags":[]},{"url":"https://git.kernel.org/stable/c/0241ea5fb0fe86d2a673163b2f5815111aadc7f7","tags":[]}],"priority":{"score":2.1,"factors":[{"name":"EPSS percentile","points":2.12}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= a1ca658d649a4d8972e2e21ac2625b633217e327, < b09198cf90ccf296970b774beea1c1ddb260f94c",">= a1ca658d649a4d8972e2e21ac2625b633217e327, < 4d00a39c676274f4071b467e630565ac1e3ae0f2",">= a1ca658d649a4d8972e2e21ac2625b633217e327, < 0241ea5fb0fe86d2a673163b2f5815111aadc7f7"]},{"vendor":"Linux","product":"Linux","versions":["7.0"]}],"euvd":{"id":"EUVD-2026-71239","exploited":false,"provenance":"source"}}