1. Archivio CVE
  2. 2026
  3. CVE-2026-139020

CVE-2026-139020

– Gravità non disponibile CVSS n/d

Descrizione

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.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
linux linux kernel >= 5.10.177 < 5.10.275 –
linux linux kernel >= 5.15.93 < 5.15.226 –
linux linux kernel >= 6.1.11 < 6.1.193 –
linux linux kernel >= 6.2 < 6.6.163 –
linux linux kernel >= 6.2 < 6.12.118 –
linux linux kernel >= 6.2 < 6.18.64 –
linux linux kernel >= 6.2 < 7.3.4 –
linux linux kernel >= 6.2 < 7.4-rc1 –
linux linux kernel >= 4.19.280 –
linux linux kernel >= 5.4.240 –
Tutte le 24.148 vulnerabilità di Linux Kernel