Linux
f2fs: validate inline dentry name lengths before conversion
In the Linux kernel, the following vulnerability has been resolved: f2fs: validate inline dentry name lengths before conversion Inline dentry conversion copies names out of the inline dentry area before checking that each recorded name length fits in the available filename slots. A corrupted image can therefore make the conversion path read past the inline filename storage while building the regular dentry block. Validate each inline dentry name length against the inline filename area before copying it.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 675f10bde6cc3874632a8f684df2a8a2a8ace76e, < 6b5552449fc5acb8e6ecf045b46702b29b71165a
- >= 675f10bde6cc3874632a8f684df2a8a2a8ace76e, < 6343208fd73f3f2b8044c0922185cd13ff807693
- >= 675f10bde6cc3874632a8f684df2a8a2a8ace76e, < 4dd81faa63fd54b9ba1a83c304e6d0bd03f1898d
- >= 675f10bde6cc3874632a8f684df2a8a2a8ace76e, < aee4e6de71ca77626c006166ff00f1d01ff990c9
- >= 675f10bde6cc3874632a8f684df2a8a2a8ace76e, < 2ce0bc5853bec7cdc724477a87ea579fde664243
- >= 675f10bde6cc3874632a8f684df2a8a2a8ace76e, < 7caa8a0ae94b132576c2e46e9b4fd4e0f356f373
- >= 675f10bde6cc3874632a8f684df2a8a2a8ace76e, < cfcd0e49a178b3dac2c0ece656079081dbf5da74
Fixed in 6b5552449fc5acb8e6ecf045b46702b29b71165a, 6343208fd73f3f2b8044c0922185cd13ff807693, 4dd81faa63fd54b9ba1a83c304e6d0bd03f1898d, aee4e6de71ca77626c006166ff00f1d01ff990c9, 2ce0bc5853bec7cdc724477a87ea579fde664243, 7caa8a0ae94b132576c2e46e9b4fd4e0f356f373, cfcd0e49a178b3dac2c0ece656079081dbf5da74
- 4.7
Fixed in 0, 5.10.271, 5.15.222, 6.1.189, 6.6.158, 6.12.111, 6.18.53, 7.2
Mitigation
Upgrade Linux to 6b5552449fc5acb8e6ecf045b46702b29b71165a or 6343208fd73f3f2b8044c0922185cd13ff807693 or 4dd81faa63fd54b9ba1a83c304e6d0bd03f1898d or aee4e6de71ca77626c006166ff00f1d01ff990c9 or 2ce0bc5853bec7cdc724477a87ea579fde664243 or 7caa8a0ae94b132576c2e46e9b4fd4e0f356f373 or cfcd0e49a178b3dac2c0ece656079081dbf5da74 or later.
Upgrade Linux to 0 or 5.10.271 or 5.15.222 or 6.1.189 or 6.6.158 or 6.12.111 or 6.18.53 or 7.2 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.