CVE-2022-49739 gfs2: Always check inode size of inline inodes
A missing inode size check in the Linux kernel GFS2 filesystem allows on-disk corruption to cause a denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2022-49739?
CVE-2022-49739 is a high-severity denial of service vulnerability in Linux kernel, published on 27 Mar 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official 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.
Which versions are affected by CVE-2022-49739?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2022-49739?
Apply the vendor's patch.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2022-49739 being exploited?
There is no known exploitation of CVE-2022-49739 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2022-49739, GHSA-xhmw-hwm7-v657, UBUNTU-CVE-2022-49739.