Linux f2fs inode eviction workqueue race causing XArray memory leak
CVE-2026-139764 Published on November 30, 2026
f2fs: wait for inode record work before clearing ino bitmaps
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.
Products Associated with CVE-2026-139764
Want to know whenever a new CVE is published for Linux Kernel? stack.watch will email you.
Affected Versions
Linux:- Version 9a9ee7408a1f8271bd1978baff2dd09457054ef4 and below bdfa382b99b41d4bbcd2601cfe3805319f475cb7 is affected.
- Version 9a9ee7408a1f8271bd1978baff2dd09457054ef4 and below 56bcda97b38a54b18df380ca928120a05d2a269a is affected.
- Version 7.3 is affected.
- Before 7.3 is unaffected.
- Version 7.3.6, <= 7.3.* is unaffected.
- Version 7.4-rc1, <= * is unaffected.