CVE-2026-139020 gfs2: reject invalid inode sizes

Published Updated

CVSS score

Not scored

No CVSS score published yet
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
See affected versions
Attack path
Not stated

What is CVE-2026-139020?

CVE-2026-139020 is a vulnerability in Linux, published on 30 Nov 2026.

Official description

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.

Which versions are affected by CVE-2026-139020?

How do I fix CVE-2026-139020?

Upgrade to a fixed version.

Is CVE-2026-139020 being exploited?

There is no known exploitation of CVE-2026-139020 in the wild and no public exploit code.

Sources

Also known as BELL-CVE-2026-139020, DEBIAN-CVE-2026-139020, GHSA-rf74-r3mf-7fv3, UBUNTU-CVE-2026-139020.

Is CVE-2026-139020 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free