CVE-2026-139694: f2fs: quota: fix stale lock holder on remount failure
f2fs: quota: fix stale lock holder on remount failure
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.119 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.15 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.65 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.6 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.6-1 - Compensating control
In f2fs_remount(), add a restore_holder cleanup path and use it before returning -ENOMEM when duplicating a journalled quota file name fails.
Event History
Frequently Asked Questions
What condition triggers the vulnerable path?
An F2FS remount must fail while duplicating a journalled quota file name because the allocation via kstrdup fails. The affected error path returns -ENOMEM after freeing previously duplicated names without restoring umount_lock_holder.
What is the practical effect after the remount failure?
The filesystem's umount_lock_holder can remain set to the task that attempted the failed remount. A later checkpoint may incorrectly treat a different context as the s_umount lock holder.
How can I determine whether this issue has occurred?
The described condition requires a failed F2FS remount returning -ENOMEM during duplication of a journalled quota file name. The provided information does not specify a log signature, detection command, or configuration-independent indicator.