f2fs: quota: fix stale lock holder on remount failure

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Nov 30, 2026

Read the record on cve.org

Description

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

f2fs: quota: fix stale lock holder on remount failure

F2FS remount can fail while duplicating a journalled quota file name.

f2fs_remount() - sbi->umount_lock_holder = current - kstrdup(F2FS_OPTION(sbi).s_qf_names[i]) : fails - free previously duplicated names - return -ENOMEM

The direct return leaves umount_lock_holder pointing at the failed remount context. A later checkpoint may then wrongly treat another context as the s_umount lock holder.

Add a restore_holder cleanup path and use it before returning -ENOMEM.

ProductVersions
Linux Linux9ec535db9da76dafa05c89f8b58a0b1d7dddba1c to before 36495467cf1f1ccf541a3d57a811b366faa7c273 Affectedeb85c2410d6f581e957cd03a644ff6ddbe592af9 to before c602d781630a5c55ddc4d414108aa7ff24e4de53 Affectedeb85c2410d6f581e957cd03a644ff6ddbe592af9 to before f69b6cbb7f9bdc681d5b11bcd8c5ba133f8ab3d6 Affectedeb85c2410d6f581e957cd03a644ff6ddbe592af9 to before 3f140a60c92a5e2e9885adac70cd3686ba4ee19a Affectedd7acf0a6c87aa282c86a36dbaa2f92fda88c5884 Affected6.12.114 to before 6.12.119 Affected6.14.2 to before 6.15 Affected
Linux Linux6.15 Affectedbefore 6.15 Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.