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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **Published:** 2026-11-30T13:37:06.927Z
- **Modified:** 2026-11-30T14:19:59.033Z

> **AI summary (AI-generated, claude-haiku-5-5):** An attacker can trigger a stale lock holder in the Linux kernel's F2FS filesystem during a failed remount, which may cause a later checkpoint to misidentify the s\_umount lock holder.

## Who should check

- Anyone running Linux \>= 9ec535db9da76dafa05c89f8b58a0b1d7dddba1c, \< 36495467cf1f1ccf541a3d57a811b366faa7c273; \>= eb85c2410d6f581e957cd03a644ff6ddbe592af9, \< c602d781630a5c55ddc4d414108aa7ff24e4de53; \>= eb85c2410d6f581e957cd03a644ff6ddbe592af9, \< f69b6cbb7f9bdc681d5b11bcd8c5ba133f8ab3d6; \>= eb85c2410d6f581e957cd03a644ff6ddbe592af9, \< 3f140a60c92a5e2e9885adac70cd3686ba4ee19a; d7acf0a6c87aa282c86a36dbaa2f92fda88c5884; \>= 6.12.114, \< 6.12.119; \>= 6.14.2, \< 6.15
- Anyone running Linux 6.15

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

## Affected and fixed versions

- Linux: \>= 9ec535db9da76dafa05c89f8b58a0b1d7dddba1c, \< 36495467cf1f1ccf541a3d57a811b366faa7c273; \>= eb85c2410d6f581e957cd03a644ff6ddbe592af9, \< c602d781630a5c55ddc4d414108aa7ff24e4de53; \>= eb85c2410d6f581e957cd03a644ff6ddbe592af9, \< f69b6cbb7f9bdc681d5b11bcd8c5ba133f8ab3d6; \>= eb85c2410d6f581e957cd03a644ff6ddbe592af9, \< 3f140a60c92a5e2e9885adac70cd3686ba4ee19a; d7acf0a6c87aa282c86a36dbaa2f92fda88c5884; \>= 6.12.114, \< 6.12.119; \>= 6.14.2, \< 6.15 (cvelist)
- Linux: 6.15 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 6.15 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-139694. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-139694.md
Affected: Linux >= 9ec535db9da76dafa05c89f8b58a0b1d7dddba1c, < 36495467cf1f1ccf541a3d57a811b366faa7c273; >= eb85c2410d6f581e957cd03a644ff6ddbe592af9, < c602d781630a5c55ddc4d414108aa7ff24e4de53; >= eb85c2410d6f581e957cd03a644ff6ddbe592af9, < f69b6cbb7f9bdc681d5b11bcd8c5ba133f8ab3d6; >= eb85c2410d6f581e957cd03…
Fixed in: Linux 36495467cf1f1ccf541a3d57a811b366faa7c273, Linux 3f140a60c92a5e2e9885adac70cd3686ba4ee19a, Linux 6.12.119, Linux 6.15

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-139694 being exploited?

There is no confirmed exploitation: CVE-2026-139694 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-139694?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-139694?

Linux \>= 9ec535db9da76dafa05c89f8b58a0b1d7dddba1c, \< 36495467cf1f1ccf541a3d57a811b366faa7c273; \>= eb85c2410d6f581e957cd03a644ff6ddbe592af9, \< c602d781630a5c55ddc4d414108aa7ff24e4de53; \>= eb85c2410d6f581e957cd03a644ff6ddbe592af9, \< f69b6cbb7f9bdc681d5b11bcd8c5ba133f8ab3d6; \>= eb85c2410d6f581e957cd03a644ff6ddbe592af9, \< 3f140a60c92a5e2e9885adac70cd3686ba4ee19a; d7acf0a6c87aa282c86a36dbaa2f92fda88c5884; \>= 6.12.114, \< 6.12.119; \>= 6.14.2, \< 6.15; Linux 6.15.

### Is there a fix for CVE-2026-139694?

Yes. Fixed in Linux 36495467cf1f1ccf541a3d57a811b366faa7c273, Linux 3f140a60c92a5e2e9885adac70cd3686ba4ee19a, Linux 6.12.119, Linux 6.15. Upgrade Linux to 6.15 or later.

### How do I check if I'm affected by CVE-2026-139694?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-139694>

HTML: <https://flawdb.com/CVE-2026-139694> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-139694>
