{"id":"CVE-2026-139694","summary":"f2fs: quota: fix stale lock holder on remount failure","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nf2fs: quota: fix stale lock holder on remount failure\n\nF2FS remount can fail while duplicating a journalled quota file name.\n\nf2fs_remount()\n- sbi-\u003eumount_lock_holder = current\n- kstrdup(F2FS_OPTION(sbi).s_qf_names[i])\n  : fails\n- free previously duplicated names\n- return -ENOMEM\n\nThe direct return leaves umount_lock_holder pointing at the failed\nremount context.  A later checkpoint may then wrongly treat another\ncontext as the s_umount lock holder.\n\nAdd a restore_holder cleanup path and use it before returning -ENOMEM.","modified":"2026-11-30T15:02:30.189010312Z","published":"2026-11-30T13:37:06.927Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139694.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/36495467cf1f1ccf541a3d57a811b366faa7c273"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3f140a60c92a5e2e9885adac70cd3686ba4ee19a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c602d781630a5c55ddc4d414108aa7ff24e4de53"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f69b6cbb7f9bdc681d5b11bcd8c5ba133f8ab3d6"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139694.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139694"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"9ec535db9da76dafa05c89f8b58a0b1d7dddba1c"},{"fixed":"36495467cf1f1ccf541a3d57a811b366faa7c273"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"eb85c2410d6f581e957cd03a644ff6ddbe592af9"},{"fixed":"c602d781630a5c55ddc4d414108aa7ff24e4de53"},{"fixed":"f69b6cbb7f9bdc681d5b11bcd8c5ba133f8ab3d6"},{"fixed":"3f140a60c92a5e2e9885adac70cd3686ba4ee19a"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"d7acf0a6c87aa282c86a36dbaa2f92fda88c5884"}]}],"versions":["v6.12.118","v6.12.117","v6.12.116","v6.12.115","v6.12.114","v6.14.11","v6.14.10","v6.14.9","v6.14.8","v6.14.7","v6.14.6","v6.14.5","v6.14.4","v6.14.3","v6.14.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139694.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.12.114"},{"fixed":"6.12.119"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.14.2"},{"fixed":"6.15"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.15.0"},{"fixed":"6.18.65"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139694.json"}}],"schema_version":"1.9.2"}