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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
9a9ee7408a1f8271bd1978baff2dd09457054ef4 to < bdfa382b99b41d4bbcd2601cfe3805319f475cb7affected9a9ee7408a1f8271bd1978baff2dd09457054ef4 to < 56bcda97b38a54b18df380ca928120a05d2a269aaffected
Linux Linux
Default version status: affected
7.3affected0 to < 7.3unaffected7.3.6 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected