Linux
f2fs: protect extension_list reading with sb_lock in f2fs_sbi_show()
In the Linux kernel, the following vulnerability has been resolved: f2fs: protect extension_list reading with sb_lock in f2fs_sbi_show() In f2fs_sbi_show(), the extension_list, extension_count and hot_ext_count are read without holding sbi->sb_lock. If a concurrent sysfs store modifies the extension list via f2fs_update_extension_list(), the show path may read inconsistent count and array contents, potentially leading to out-of-bounds access or displaying stale data. Fix this by holding sb_lock around the entire extension list read and format operation.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= b6a06cbbb5f7fd03589cff9178314af04c568826, < d3ff0c121bbaef026df6248ab7ef6f0b068b0647
- >= b6a06cbbb5f7fd03589cff9178314af04c568826, < cea15f66b7b68b2c50943a6660e0692c6635e4eb
- >= b6a06cbbb5f7fd03589cff9178314af04c568826, < 4b3a1bf4c2ffd4c9595d900ead78c9035894a025
- >= b6a06cbbb5f7fd03589cff9178314af04c568826, < d0e877810baf613b018fd9747440b9d4d9db1428
- >= b6a06cbbb5f7fd03589cff9178314af04c568826, < ea3ab43a1f3cf2c7cecd75c8be1ee99a5e94a92e
- >= b6a06cbbb5f7fd03589cff9178314af04c568826, < 5909bedbed38c558bee7cb6758ceedf9bc3a9194
Fixed in d3ff0c121bbaef026df6248ab7ef6f0b068b0647, cea15f66b7b68b2c50943a6660e0692c6635e4eb, 4b3a1bf4c2ffd4c9595d900ead78c9035894a025, d0e877810baf613b018fd9747440b9d4d9db1428, ea3ab43a1f3cf2c7cecd75c8be1ee99a5e94a92e, 5909bedbed38c558bee7cb6758ceedf9bc3a9194
- 4.17
Fixed in 0, 6.1.175, 6.6.141, 6.12.91, 6.18.33, 7.0.10, 7.1
Mitigation
Upgrade Linux to d3ff0c121bbaef026df6248ab7ef6f0b068b0647 or cea15f66b7b68b2c50943a6660e0692c6635e4eb or 4b3a1bf4c2ffd4c9595d900ead78c9035894a025 or d0e877810baf613b018fd9747440b9d4d9db1428 or ea3ab43a1f3cf2c7cecd75c8be1ee99a5e94a92e or 5909bedbed38c558bee7cb6758ceedf9bc3a9194 or later.
Upgrade Linux to 0 or 6.1.175 or 6.6.141 or 6.12.91 or 6.18.33 or 7.0.10 or 7.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.