f2fs: fix listxattr handling of corrupted xattr entries
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 688078e7f36c293dae25b338ddc9e0a2790f6e06 · < ec9f79c8d5b28a928e65b67cd138c841571cf502| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
f2fs: fix listxattr handling of corrupted xattr entries
Validate the xattr entry before reading its fields in f2fs_listxattr(). Return -EFSCORRUPTED when the entry is outside the valid xattr storage area instead of returning a successful partial result.
From the CVE record · Linux
The Linux kernel’s f2fs_listxattr() did not validate corrupted xattr entries before reading their fields. When an entry is outside the valid xattr storage area, it could return a successful partial result instead of a corruption error. The input does not specify an attacker path, authentication requirement, or user interaction.
Engineers running Linux kernels with f2fs should check their exposure; affected versions are not specified.