{"id":"CVE-2026-80804","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-09-04T16:18:07.397","lastModified":"2026-10-19T09:17:15.013","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"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."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["fs/xfs/xfs_trans.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"a1ca658d649a4d8972e2e21ac2625b633217e327","lessThan":"b09198cf90ccf296970b774beea1c1ddb260f94c","versionType":"git","status":"affected"},{"version":"a1ca658d649a4d8972e2e21ac2625b633217e327","lessThan":"4d00a39c676274f4071b467e630565ac1e3ae0f2","versionType":"git","status":"affected"},{"version":"a1ca658d649a4d8972e2e21ac2625b633217e327","lessThan":"0241ea5fb0fe86d2a673163b2f5815111aadc7f7","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["fs/xfs/xfs_trans.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"7.0","status":"affected"},{"version":"0","lessThan":"7.0","versionType":"semver","status":"unaffected"},{"version":"7.1.11","lessThanOrEqual":"7.1.*","versionType":"semver","status":"unaffected"},{"version":"7.2.1","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/0241ea5fb0fe86d2a673163b2f5815111aadc7f7","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/4d00a39c676274f4071b467e630565ac1e3ae0f2","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/b09198cf90ccf296970b774beea1c1ddb260f94c","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}