# CVE-2026-139694: f2fs: quota: fix stale lock holder on remount failure

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-11-30T13:37:06.927Z
- Modified: 2026-11-30T14:19:59.033Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 9ec535db9da76dafa05c89f8b58a0b1d7dddba1c before 36495467cf1f1ccf541a3d57a811b366faa7c273; from eb85c2410d6f581e957cd03a644ff6ddbe592af9 before c602d781630a5c55ddc4d414108aa7ff24e4de53; from eb85c2410d6f581e957cd03a644ff6ddbe592af9 before f69b6cbb7f9bdc681d5b11bcd8c5ba133f8ab3d6; from eb85c2410d6f581e957cd03a644ff6ddbe592af9 before 3f140a60c92a5e2e9885adac70cd3686ba4ee19a; d7acf0a6c87aa282c86a36dbaa2f92fda88c5884; from 6.12.114 before 6.12.119; from 6.14.2 before 6.15; 6.15 (not affected: before 6.15; from 6.12.119 up to 6.12.*; from 6.18.65 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/36495467cf1f1ccf541a3d57a811b366faa7c273>
- <https://git.kernel.org/stable/c/c602d781630a5c55ddc4d414108aa7ff24e4de53>
- <https://git.kernel.org/stable/c/f69b6cbb7f9bdc681d5b11bcd8c5ba133f8ab3d6>
- <https://git.kernel.org/stable/c/3f140a60c92a5e2e9885adac70cd3686ba4ee19a>

## Sources

- CVE List: [CVE-2026-139694](https://www.cve.org/CVERecord?id=CVE-2026-139694), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-139694](https://nvd.nist.gov/vuln/detail/CVE-2026-139694), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-139694 · Whole record: https://cve.day/CVE-2026-139694.json · Rebuilt by cve.day 2026-11-30T14:33:31.080Z
