CVE-2026-139020: Linux kernel · gfs2: reject invalid inode sizes
Affects Linux kernelSource CVE Database V5
Not known to be exploited · fixed in bd2919d4491068974c6348961d7af6dc0e7b9108 : update Linux kernel when convenient.
Data as of 30 Nov 2026, 14:00 UTC
Rated by Threat Radar · CVSS not yet scored by NVD
Thin evidence
One scorer or none- Patch
- Available – fixed in bd2919d4491068974c6348961d7af6dc0e7b9108, bb88934553eb89573145cb01a413860771aed97f, 435cf27c40b01315e33918c20d529f4ace0c5f57 +10
Exploitation evidence
Disclosed: evidence found.
CVE published 30 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in– |
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.
References
- git.kernel.org/stable/c/8db6c08e0da0e8f13845128bc975f1f2656060a5 (opens in a new tab)
- git.kernel.org/stable/c/8a76ac82ec1a5bd5f378d4174e0dfc8d35d89340 (opens in a new tab)
- git.kernel.org/stable/c/435cf27c40b01315e33918c20d529f4ace0c5f57 (opens in a new tab)
- git.kernel.org/stable/c/7a81c9cf915cc899db84e0fc02f5c6b545eaed4b (opens in a new tab)
- git.kernel.org/stable/c/bb88934553eb89573145cb01a413860771aed97f (opens in a new tab)
- git.kernel.org/stable/c/bd2919d4491068974c6348961d7af6dc0e7b9108 (opens in a new tab)
- git.kernel.org/stable/c/3f749d1755c1b82f7c102bd9522ea3b5039d3171 (opens in a new tab)
- git.kernel.org/stable/c/33ed0a0567e0abe66ea65e89dad2e35082890fbe (opens in a new tab)