CVE-2026-139020: gfs2: reject invalid inode sizes

Published Nov 30, 2026
·
Updated

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 isize can represent. gfs2dinodein() reads the on-disk disize as a u64 and writes it directly into inode->isize. If the value is larger than S64MAX, the incore isize becomes negative. That negative value can bypass the existing stuffed inode size check:

inode->isize > gfs2maxstuffedsize(ip)

Later, gfs2quotad may try to sync the quota file and unstuff the quota inode. gfs2unstufferfolio() reads the negative isize 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->smaxbytes before storing the value in inode->isize. Also make the stuffed inode check use the raw on-disk size while it is still unsigned.

Affected Software

1 affected component
Linux Linux kernel

Event History

Nov 30, 2026
CVE Published
via MITRE·01:27 PM
Data Sourced
via MITRE·01:27 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203