CVE-2026-139020

gfs2: reject invalid inode sizes

No CVSS score yet EPSS 0.22%

Published 30 Nov 2026 Updated 30 Nov 2026 CNA: Linux

Check your servers for CVE-2026-139020

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-139020 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.6% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 7c414f6f06e9a3934901b6edc3177ae5a1e07094, before 8db6c08e0da0e8f13845128bc975f1f2656060a5
affected from 46c9088cabd4d0469fdb61ac2a9c5003057fe94d, before 8a76ac82ec1a5bd5f378d4174e0dfc8d35d89340
affected from d458a0984429c2d47e60254f5bc4119cbafe83a2, before 435cf27c40b01315e33918c20d529f4ace0c5f57
affected from 70376c7ff31221f1d21db5611d8209e677781d3a, before 7a81c9cf915cc899db84e0fc02f5c6b545eaed4b
affected from 70376c7ff31221f1d21db5611d8209e677781d3a, before bb88934553eb89573145cb01a413860771aed97f
affected from 70376c7ff31221f1d21db5611d8209e677781d3a, before bd2919d4491068974c6348961d7af6dc0e7b9108
affected from 70376c7ff31221f1d21db5611d8209e677781d3a, before 3f749d1755c1b82f7c102bd9522ea3b5039d3171
affected from 70376c7ff31221f1d21db5611d8209e677781d3a, before 33ed0a0567e0abe66ea65e89dad2e35082890fbe
affected 45df749f827c286adbc951f2a4865b67f0442ba9
affected 4d4cb76636134bf9a0c9c3432dae936f99954586
affected from 5.10.177, before 5.10.275
affected from 5.15.93, before 5.15.226
affected from 6.1.11, before 6.1.193
affected from 4.19.280, before 4.20
affected from 5.4.240, before 5.5
Other versions: unaffected
Linux
affected 6.2
unaffected before 6.2
unaffected from 5.10.275 up to and including 5.10.*
unaffected from 5.15.226 up to and including 5.15.*
unaffected from 6.1.193 up to and including 6.1.*
unaffected from 6.6.163 up to and including 6.6.*
unaffected from 6.12.118 up to and including 6.12.*
unaffected from 6.18.64 up to and including 6.18.*
unaffected from 7.3.4 up to and including 7.3.*
unaffected 7.4-rc1 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-139020 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139020

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-139020
trivy image --scanners vuln IMAGE | grep CVE-2026-139020

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-139020 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.