CVE-2022-49739

gfs2: Always check inode size of inline inodes

7.1 high EPSS 0.20%

Published 27 Mar 2025 Updated 5 Aug 2026 CNA: Linux

Check your servers for CVE-2022-49739

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-49739 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

7.1 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
required: a user has to do something, such as open a link or a file
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 10.0% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from b3b94faa5fe5968827ba0640ee9fba4b3e7f736e, before 45df749f827c286adbc951f2a4865b67f0442ba9
affected from b3b94faa5fe5968827ba0640ee9fba4b3e7f736e, before 4d4cb76636134bf9a0c9c3432dae936f99954586
affected from b3b94faa5fe5968827ba0640ee9fba4b3e7f736e, before 7c414f6f06e9a3934901b6edc3177ae5a1e07094
affected from b3b94faa5fe5968827ba0640ee9fba4b3e7f736e, before 46c9088cabd4d0469fdb61ac2a9c5003057fe94d
affected from b3b94faa5fe5968827ba0640ee9fba4b3e7f736e, before d458a0984429c2d47e60254f5bc4119cbafe83a2
affected from b3b94faa5fe5968827ba0640ee9fba4b3e7f736e, before 70376c7ff31221f1d21db5611d8209e677781d3a
Other versions: unaffected
Linux
affected 2.6.19
unaffected before 2.6.19
unaffected from 4.19.280 up to and including 4.19.*
unaffected from 5.4.240 up to and including 5.4.*
unaffected from 5.10.177 up to and including 5.10.*
unaffected from 5.15.93 up to and including 5.15.*
unaffected from 6.1.11 up to and including 6.1.*
unaffected 6.2 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-49739 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-49739

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2022-49739
trivy image --scanners vuln IMAGE | grep CVE-2022-49739

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2022-49739 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.