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

CVE-2026-100090

– Gravità non disponibile CVSS n/d

Descrizione

In the Linux kernel, the following vulnerability has been resolved: lib: decompress_bunzip2: fix integer overflow in run-length decoding The RUNA/RUNB decoder in get_next_block() accumulates a run length into the signed int t with no bound. runPos doubles per symbol, so t grows as at least 2^n-1 and reaches INT_MAX after 31 RUNA symbols. The guard that follows, dbufCount+t >= dbufSize, is itself a signed addition, and as the kernel builds with -fno-strict-overflow it wraps negative once dbufCount is nonzero, so the guard is skipped. while (t--) dbuf[dbufCount++] = uc then writes INT_MAX entries into a buffer holding at most 900000. One literal symbol ahead of the run is enough to make dbufCount nonzero. Bound t to the block size as it is accumulated. t only grows within a run, so the value tested never exceeds the final run length; any stream that decodes today satisfies dbufCount+t < dbufSize at the flush, hence t < dbufSize throughout, and no such stream is rejected. Because t grows as at least 2^n-1 the bound trips by the 20th symbol, leaving runPos at most 2^19, so the following runPos <<= 1 cannot overflow either.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
linux linux kernel >= 2.6.30 < 5.15.226 –
linux linux kernel >= 2.6.30 < 6.1.193 –
linux linux kernel >= 2.6.30 < 6.6.163 –
linux linux kernel >= 2.6.30 < 6.12.117 –
linux linux kernel >= 2.6.30 < 6.18.63 –
linux linux kernel >= 2.6.30 < 7.3.4 –
linux linux kernel >= 2.6.30 < 7.4-rc1 –
linux linux kernel >= 2.6.30 < 5.10.275 –
Tutte le 24.148 vulnerabilità di Linux Kernel