nilfs2: prevent out-of-bounds read in super root block parsing
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 8a9d2191e9f43bbcd256a9a6871bd73434c83f2f · < 842397fdfd2e61d6470166c796f3125b6c27a162| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
nilfs2: prevent out-of-bounds read in super root block parsing
super-root inode metadata size is trusted before nilfs_read_inode_common().
Reject super-root inode sizes whose computed on-disk footprint exceeds the filesystem block size. This prevents malformed filesystem images from making nilfs_read_inode_common() read past the end of the super-root block.
[ryusuke: clarify the commit title]
From the CVE record · Linux
The Linux kernel's nilfs2 code trusts super-root inode metadata sizes before reading them. A malformed filesystem image can cause an out-of-bounds read past the super-root block; the input does not specify authentication or user-interaction requirements.
Engineers running Linux systems that process nilfs2 filesystem images should check their kernel versions; affected versions are not specified.