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

- Severity: High 7.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2025-03-27T16:42:51.609Z
- Modified: 2026-08-05T08:56:11.211Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from b3b94faa5fe5968827ba0640ee9fba4b3e7f736e before 45df749f827c286adbc951f2a4865b67f0442ba9; from b3b94faa5fe5968827ba0640ee9fba4b3e7f736e before 4d4cb76636134bf9a0c9c3432dae936f99954586; from b3b94faa5fe5968827ba0640ee9fba4b3e7f736e before 7c414f6f06e9a3934901b6edc3177ae5a1e07094; from b3b94faa5fe5968827ba0640ee9fba4b3e7f736e before 46c9088cabd4d0469fdb61ac2a9c5003057fe94d; from b3b94faa5fe5968827ba0640ee9fba4b3e7f736e before d458a0984429c2d47e60254f5bc4119cbafe83a2; from b3b94faa5fe5968827ba0640ee9fba4b3e7f736e before 70376c7ff31221f1d21db5611d8209e677781d3a; 2.6.19 (not affected: before 2.6.19; from 4.19.280 up to 4.19.*; from 5.4.240 up to 5.4.*; from 5.10.177 up to 5.10.*; from 5.15.93 up to 5.15.*; from 6.1.11 up to 6.1.*; from 6.2 up to *)
- linux linux_kernel: before 4.19.280; from 4.20 before 5.4.240; from 5.5 before 5.10.177; from 5.11 before 5.15.93; from 5.16 before 6.1.11

## Every score

- Linux: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/45df749f827c286adbc951f2a4865b67f0442ba9> (patch)
- <https://git.kernel.org/stable/c/4d4cb76636134bf9a0c9c3432dae936f99954586> (patch)
- <https://git.kernel.org/stable/c/7c414f6f06e9a3934901b6edc3177ae5a1e07094> (patch)
- <https://git.kernel.org/stable/c/46c9088cabd4d0469fdb61ac2a9c5003057fe94d> (patch)
- <https://git.kernel.org/stable/c/d458a0984429c2d47e60254f5bc4119cbafe83a2> (patch)
- <https://git.kernel.org/stable/c/70376c7ff31221f1d21db5611d8209e677781d3a> (patch)

## Sources

- CVE List: [CVE-2022-49739](https://www.cve.org/CVERecord?id=CVE-2022-49739), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2022-49739](https://nvd.nist.gov/vuln/detail/CVE-2022-49739), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2022-49739 · Whole record: https://cve.day/CVE-2022-49739.json · Rebuilt by cve.day 2026-11-25T22:58:20.839Z
