CVE-2022-49739

gfs2: Always check inode size of inline inodes

State
Published
Severity
7.1 High
Published
Mar 27, 2025
Updated
Aug 5, 2026
Reserved
Mar 27, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.1 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • b3b94faa5fe5968827ba0640ee9fba4b3e7f736e to before 45df749f827c286adbc951f2a4865b67f0442ba9Affected
  • b3b94faa5fe5968827ba0640ee9fba4b3e7f736e to before 4d4cb76636134bf9a0c9c3432dae936f99954586Affected
  • b3b94faa5fe5968827ba0640ee9fba4b3e7f736e to before 7c414f6f06e9a3934901b6edc3177ae5a1e07094Affected
  • b3b94faa5fe5968827ba0640ee9fba4b3e7f736e to before 46c9088cabd4d0469fdb61ac2a9c5003057fe94dAffected
  • b3b94faa5fe5968827ba0640ee9fba4b3e7f736e to before d458a0984429c2d47e60254f5bc4119cbafe83a2Affected
  • b3b94faa5fe5968827ba0640ee9fba4b3e7f736e to before 70376c7ff31221f1d21db5611d8209e677781d3aAffected
LinuxLinux
  • 2.6.19Affected
  • before 2.6.19Not affected
  • 4.19.280 through 4.19.*Not affected
  • 5.4.240 through 5.4.*Not affected
  • 5.10.177 through 5.10.*Not affected
  • 5.15.93 through 5.15.*Not affected
  • 6.1.11 through 6.1.*Not affected
  • 6.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.