CVE-2022-49739
JSON

7.1high

gfs2: Always check inode size of inline inodes

Severity
7.1high CVSS:3.1 by Linux
Exploit likelihood
0.20% (higher than 10% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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.*
CVE List
linux linux_kernelbefore 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.11NVD

All scores

Linux7.1high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: gfs2: Comprobar siempre el tamaño de los inodos en línea. Se comprueba si el tamaño de los inodos rellenos (en línea) está dentro del rango permitido al leer inodos del disco (gfs2_dinode_in()). Esto evita la corrupción en disco. Las dos comprobaciones en stuffed_readpage() y gfs2_unstuffer_page(), que simplemente truncan los datos en línea al tamaño máximo permitido, no tienen sentido y también se pueden eliminar.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-49739 changed 2026-08-05CVE Terms of Use
NVDCVE-2022-49739 changed 2026-08-04Public domain