CVE-2026-139020
publishedgfs2: reject invalid inode sizes
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux7c414f6f06e9a3934901b6edc3177ae5a1e07094 to < 8db6c08e0da0e8f13845128bc975f1f2656060a5 · 46c9088cabd4d0469fdb61ac2a9c5003057fe94d to < 8a76ac82ec1a5bd5f378d4174e0dfc8d35d89340 · d458a0984429c2d47e60254f5bc4119cbafe83a2 to < 435cf27c40b01315e33918c20d529f4ace0c5f57 · 70376c7ff31221f1d21db5611d8209e677781d3a to < 7a81c9cf915cc899db84e0fc02f5c6b545eaed4b · 70376c7ff31221f1d21db5611d8209e677781d3a to < bb88934553eb89573145cb01a413860771aed97f · 70376c7ff31221f1d21db5611d8209e677781d3a to < bd2919d4491068974c6348961d7af6dc0e7b9108 · 70376c7ff31221f1d21db5611d8209e677781d3a to < 3f749d1755c1b82f7c102bd9522ea3b5039d3171 · 70376c7ff31221f1d21db5611d8209e677781d3a to < 33ed0a0567e0abe66ea65e89dad2e35082890fbe · 45df749f827c286adbc951f2a4865b67f0442ba9 · 4d4cb76636134bf9a0c9c3432dae936f99954586 · 5.10.177 to < 5.10.275 · 5.15.93 to < 5.15.226 · 6.1.11 to < 6.1.193 · 4.19.280 to < 4.20 · 5.4.240 to < 5.5 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.2 (affected) · 0 to < 6.2 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.118 through 6.12.* (unaffected · semver) · 6.18.64 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 7c414f6f06e9a3934901b6edc3177ae5a1e07094 to < 8db6c08e0da0e8f13845128bc975f1f2656060a5 (affected · git)46c9088cabd4d0469fdb61ac2a9c5003057fe94d to < 8a76ac82ec1a5bd5f378d4174e0dfc8d35d89340 (affected · git)d458a0984429c2d47e60254f5bc4119cbafe83a2 to < 435cf27c40b01315e33918c20d529f4ace0c5f57 (affected · git)70376c7ff31221f1d21db5611d8209e677781d3a to < 7a81c9cf915cc899db84e0fc02f5c6b545eaed4b (affected · git)70376c7ff31221f1d21db5611d8209e677781d3a to < bb88934553eb89573145cb01a413860771aed97f (affected · git)70376c7ff31221f1d21db5611d8209e677781d3a to < bd2919d4491068974c6348961d7af6dc0e7b9108 (affected · git)70376c7ff31221f1d21db5611d8209e677781d3a to < 3f749d1755c1b82f7c102bd9522ea3b5039d3171 (affected · git)70376c7ff31221f1d21db5611d8209e677781d3a to < 33ed0a0567e0abe66ea65e89dad2e35082890fbe (affected · git)45df749f827c286adbc951f2a4865b67f0442ba9 (affected · git)4d4cb76636134bf9a0c9c3432dae936f99954586 (affected · git)5.10.177 to < 5.10.275 (affected · semver)5.15.93 to < 5.15.226 (affected · semver)6.1.11 to < 6.1.193 (affected · semver)4.19.280 to < 4.20 (affected · semver)5.4.240 to < 5.5 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 6.2 (affected)0 to < 6.2 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.118 through 6.12.* (unaffected · semver)6.18.64 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/33ed0a0567e0abe66ea65e89dad2e35082890fbe
- https://git.kernel.org/stable/c/3f749d1755c1b82f7c102bd9522ea3b5039d3171
- https://git.kernel.org/stable/c/435cf27c40b01315e33918c20d529f4ace0c5f57
- https://git.kernel.org/stable/c/7a81c9cf915cc899db84e0fc02f5c6b545eaed4b
- https://git.kernel.org/stable/c/8a76ac82ec1a5bd5f378d4174e0dfc8d35d89340
- https://git.kernel.org/stable/c/8db6c08e0da0e8f13845128bc975f1f2656060a5
- https://git.kernel.org/stable/c/bb88934553eb89573145cb01a413860771aed97f
- https://git.kernel.org/stable/c/bd2919d4491068974c6348961d7af6dc0e7b9108
Provider assertions
1Linux · cna
gfs2: reject invalid inode sizes
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b5a445fdf7ccb918ec84153f0d339a65e86730d898721aeed54d35d475419785
- Ingested
- 30 Nov 2026, 13:36:40 UTC
- Source record
- Official CVE record