What’s Vulnerable › Vulnerabilities

CVE-2022-49739: gfs2: Always check inode size of inline inodes

Description

In the Linux kernel, the following vulnerability has been resolved: gfs2: Always check inode size of inline inodes Check if the inode size of stuffed (inline) inodes is within the allowed range when reading inodes from disk (gfs2_dinode_in()). This prevents us from on-disk corruption. The two checks in stuffed_readpage() and gfs2_unstuffer_page() that just truncate inline data to the maximum allowed size don't actually make sense, and they can be removed now as well.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 4.19.280, 5.10.177, 5.15.93, 5.4.240. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-49739 or the next vulnerability affects your stack