f2fs: validate inline dentry name lengths before conversion
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 675f10bde6cc3874632a8f684df2a8a2a8ace76e · < 7caa8a0ae94b132576c2e46e9b4fd4e0f356f373| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The f2fs inline dentry conversion path copies filenames before verifying that their recorded lengths fit in the available storage. A corrupted filesystem image can cause an out-of-bounds read during conversion. The input does not specify access, authentication, or user-interaction requirements.
Engineers running Linux kernels with f2fs support should check their kernel versions against the vendor advisory; affected versions are not specified.