Linux
f2fs: fix to detect potential corrupted nid in free_nid_list
In the Linux kernel, the following vulnerability has been resolved: f2fs: fix to detect potential corrupted nid in free_nid_list As reported, on-disk footer.ino and footer.nid is the same and out-of-range, let's add sanity check on f2fs_alloc_nid() to detect any potential corruption in free_nid_list.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 98e4da8ca301e062d79ae168c67e56f3c3de3ce4, < 88b2ddb0c4f1dc874d4598e78cc830c64315ed86
- >= 98e4da8ca301e062d79ae168c67e56f3c3de3ce4, < 9337ed5e777e1c19854928cba7a8131dd00e611b
- >= 98e4da8ca301e062d79ae168c67e56f3c3de3ce4, < 6b9525596a83cd5b7bbc2c7bd5f9ad9cf5ad60fa
- >= 98e4da8ca301e062d79ae168c67e56f3c3de3ce4, < adbcb34f03abb89e681a5907c4c3ce4bf224991d
- >= 98e4da8ca301e062d79ae168c67e56f3c3de3ce4, < 8fc6056dcf79937c46c97fa4996cda65956437a9
Fixed in 88b2ddb0c4f1dc874d4598e78cc830c64315ed86, 9337ed5e777e1c19854928cba7a8131dd00e611b, 6b9525596a83cd5b7bbc2c7bd5f9ad9cf5ad60fa, adbcb34f03abb89e681a5907c4c3ce4bf224991d, 8fc6056dcf79937c46c97fa4996cda65956437a9
- 3.8
Fixed in 0, 6.1.175, 6.6.140, 6.12.58, 6.17.8, 6.18
Mitigation
Upgrade Linux to 88b2ddb0c4f1dc874d4598e78cc830c64315ed86 or 9337ed5e777e1c19854928cba7a8131dd00e611b or 6b9525596a83cd5b7bbc2c7bd5f9ad9cf5ad60fa or adbcb34f03abb89e681a5907c4c3ce4bf224991d or 8fc6056dcf79937c46c97fa4996cda65956437a9 or later.
Upgrade Linux to 0 or 6.1.175 or 6.6.140 or 6.12.58 or 6.17.8 or 6.18 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.