Read the docs

Invalid inode sizes in Linux kernel GFS2 cause out-of-bounds copy

Priority LOW 38Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
—
Confidentiality · integrity · availability
—
Fix status
Partial Red Hat: 3 without a fix

No CVSS vector from any source. Fix status from CNA and Red Hat.

Summary

The Linux kernel GFS2 filesystem is affected from 4.19.280 before 4.20, from 5.4.240 before 5.5, from 5.10.177 before 5.10.275, from 5.15.93 before 5.15.226, from 6.1.11 before 6.1.193, and from 6.2. The gfs2_dinode_in() function stores an on-disk inode size larger than the VFS can represent, which makes the in-memory size negative. A corrupted GFS2 image can then trigger an out-of-bounds memory copy during quota file unstuffing.

Written with Claude Haiku 5.5 from the sources below · 2026-12-01

Description from the CNA

In the Linux kernel, the following vulnerability has been resolved: gfs2: reject invalid inode sizes A corrupted GFS2 image can store a dinode size that is larger than what VFS i_size can represent. gfs2_dinode_in() reads the on-disk di_size as a u64 and writes it directly into inode->i_size. If the value is larger than S64_MAX, the incore i_size becomes negative. That negative value can bypass the existing stuffed inode size check: inode->i_size > gfs2_max_stuffed_size(ip) Later, gfs2_quotad may try to sync the quota file and unstuff the quota inode. gfs2_unstuffer_folio() reads the negative i_size into an unsigned length and passes it to memcpy(), turning it into a huge copy size and triggering a out-of-bound issue. Reject dinodes whose size exceeds sb->s_maxbytes before storing the value in inode->i_size. Also make the stuffed inode check use the raw on-disk size while it is still unsigned.

Why it matters now

Fix Partial Linux (Linux): 5.10.275, 5.15.226, 6.1.193 +7Red Hat: 3 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
LinuxLinux5.10.177 to before 5.10.275; 5.15.93 to before 5.15.226; 6.1.11 to before 6.1.193; 4.19.280 to before 4.20; 5.4.240 to before 5.55.10.275, 5.15.226, 6.1.193, 4.20, 5.5Patch availableCNA
LinuxLinux6.2 and later5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.118, 6.18.64, 7.3.4, 7.4-rc1Patch availableCNA
  • Linux VendorLinux Affected 5.10.177 to before 5.10.275; 5.15.93 to before 5.15.226; 6.1.11 to before 6.1.193; 4.19.280 to before 4.20; 5.4.240 to before 5.5 Fixed in 5.10.275, 5.15.226, 6.1.193, 4.20, 5.5 Patch available CNA
  • Linux VendorLinux Affected 6.2 and later Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.118, 6.18.64, 7.3.4, 7.4-rc1 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*——Linux
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions — — ·Linux

Remediation

Update the Linux kernel to 4.20, 5.5, 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.118, 6.18.64, 7.3.4, or 7.4-rc1, depending on the branch in use. The sources list no fixed version for Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4, or Red Hat OpenShift Container Platform 5.

Written with Claude Haiku 5.5 from the sources below · 2026-12-01

  • Fix · CNA Linux (Linux) Fixed in 5.10.275, 5.15.226, 6.1.193, 4.20, 5.5
  • Fix · CNA Linux (Linux) Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.118, 6.18.64, 7.3.4, 7.4-rc1

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 9AffectedNo fix yet: Fix deferred
Red Hat OpenShift Container Platform 4AffectedNo fix yet: Fix deferred
Red Hat OpenShift Container Platform 5AffectedNo fix yet: Fix deferred
Not affected: 6 products
  • Red Hat Enterprise Linux 10
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat OpenShift Container Platform 4
  • Red Hat OpenShift Container Platform 5

Timeline

  1. 2026-11-30 Threatist record created from CVE-2026-139020
  2. 2026-11-30 Alias added: GHSA-rf74-r3mf-7fv3
  3. 2026-12-01 Affected versions changed · Red Hat
  4. 2026-12-01 CVSS score added · Red Hat

References

  • TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
  • TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
  • TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
  • TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
  • TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
See all 23530 →

Sources