# CVE-2026-139764: f2fs: wait for inode record work before clearing ino bitmaps

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

> **AI summary (AI-generated, claude-haiku-5-5):** A flaw in the Linux kernel's f2fs filesystem lets unmount leak XArray memory because inode record work can repopulate bitmaps after they are destroyed.

## Who should check

- Anyone running Linux \>= 9a9ee7408a1f8271bd1978baff2dd09457054ef4, \< bdfa382b99b41d4bbcd2601cfe3805319f475cb7; \>= 9a9ee7408a1f8271bd1978baff2dd09457054ef4, \< 56bcda97b38a54b18df380ca928120a05d2a269a
- Anyone running Linux 7.3

## Description

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

f2fs: wait for inode record work before clearing ino bitmaps

APPEND/UPDATE inode state recording was moved to the inode eviction
workqueue. These entries were later converted to bitmap values stored in
XArrays, but the workqueue drain was left behind in the list cleanup loop
where it is now a no-op.

During unmount, inode eviction work can therefore remain queued when
f2fs\_release\_ino\_entry() destroys the bitmap XArrays. A delayed worker can
repopulate them before the workqueue is finally destroyed, leaking newly
allocated XArray nodes when the F2FS superblock is freed.

Wait for APPEND/UPDATE inode record work before destroying each bitmap
XArray, restoring the required ordering.

## Affected and fixed versions

- Linux: \>= 9a9ee7408a1f8271bd1978baff2dd09457054ef4, \< bdfa382b99b41d4bbcd2601cfe3805319f475cb7; \>= 9a9ee7408a1f8271bd1978baff2dd09457054ef4, \< 56bcda97b38a54b18df380ca928120a05d2a269a (cvelist)
- Linux: 7.3 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 56bcda97b38a54b18df380ca928120a05d2a269a 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-139764. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-139764.md
Affected: Linux >= 9a9ee7408a1f8271bd1978baff2dd09457054ef4, < bdfa382b99b41d4bbcd2601cfe3805319f475cb7; >= 9a9ee7408a1f8271bd1978baff2dd09457054ef4, < 56bcda97b38a54b18df380ca928120a05d2a269a; Linux 7.3
Fixed in: Linux 56bcda97b38a54b18df380ca928120a05d2a269a

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-139764 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 9a9ee7408a1f8271bd1978baff2dd09457054ef4, \< bdfa382b99b41d4bbcd2601cfe3805319f475cb7; \>= 9a9ee7408a1f8271bd1978baff2dd09457054ef4, \< 56bcda97b38a54b18df380ca928120a05d2a269a; Linux 7.3.

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

Yes. Fixed in Linux 56bcda97b38a54b18df380ca928120a05d2a269a. Upgrade Linux to 56bcda97b38a54b18df380ca928120a05d2a269a or later.

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

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/bdfa382b99b41d4bbcd2601cfe3805319f475cb7>
- other: <https://git.kernel.org/stable/c/56bcda97b38a54b18df380ca928120a05d2a269a>

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

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