CVE-2026-80804: xfs: restore nofs context unconditionally in xfs_trans_roll

Published Sep 4, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

xfs: restore nofs context unconditionally in xfstransroll

When xfstranscommit() fails in xfstransroll(), the NOFS context is cleared but only restored in the success path. This leaves the error path without nofs protection, causing a circular lock dependency between xfsnondirilockclass and fsreclaim:

CPU0 CPU1 ---- ---- lock(&xfsnondirilockclass); lock(fsreclaim); lock(&xfsnondirilockclass); lock(fsreclaim);

Fix this by moving xfstranssetcontext() before the error check so that nofs context is always restored on the new transaction.

Affected Software

1 affected component
Linux kernel.org Linux kernel

Event History

Sep 4, 2026
CVE Published
via MITRE·03:13 PM
Data Sourced
via MITRE·03:13 PM
Description

Frequently Asked Questions

1

When can the missing NOFS protection occur?

It occurs when __xfs_trans_commit() fails while xfs_trans_roll() is executing. In that error path, the prior behavior cleared the NOFS context without restoring it for the new transaction.

2

What is the operational consequence of reaching the affected error path?

The missing NOFS protection can create a circular lock dependency involving xfs_nondir_ilock_class and fs_reclaim. The fix restores the transaction context before checking for the commit error, so the context is restored on both success and error paths.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203