Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Linux | Linux | 2.6.30 | — |
| Linux | Linux | patch: 0 | — |
| Linux | Linux | bc22c17e12c130dc929218a95aa347e0f3fd05dc <b822ad8d702df0be9fe3f24f71caeb0522d72319 | — |
| Linux | Linux | patch: 5.10.275 | — |
| Linux | Linux | bc22c17e12c130dc929218a95aa347e0f3fd05dc <664ef42230020ddb24cf6e4e791de9e70119ca17 | — |
| Linux | Linux | patch: 6.1.193 | — |
| Linux | Linux | patch: 6.18.63 | — |
| Linux | Linux | bc22c17e12c130dc929218a95aa347e0f3fd05dc <527c459eb4c20cfee7062b19f5cb39bc5ff0545d | — |
| Linux | Linux | bc22c17e12c130dc929218a95aa347e0f3fd05dc <66198c387fde00497da3eaadae8468d7c087d709 | — |
| Linux | Linux | patch: 7.3.4 | — |
| Linux | Linux | patch: 7.4-rc1 | — |
| Linux | Linux | bc22c17e12c130dc929218a95aa347e0f3fd05dc <33ed98d877186d6380db6c043e6c4c1faf84443f | — |
| Linux | Linux | bc22c17e12c130dc929218a95aa347e0f3fd05dc <ee4e149f40a3fc34cf48d2d6eea066ee6d8c59bc | — |
| Linux | Linux | bc22c17e12c130dc929218a95aa347e0f3fd05dc <62d46d12a632f354c829da8b1f6718d662597ae0 | — |
| Linux | Linux | patch: 5.15.226 | — |
| Linux | Linux | bc22c17e12c130dc929218a95aa347e0f3fd05dc <f79c63b27cb657f990b29c02b7c0ae67392d1663 | — |
| Linux | Linux | patch: 6.12.117 | — |
| Linux | Linux | patch: 6.6.163 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | linux | 7.3.4-1 | — |
| Debian 13 | linux | 6.12.117-1 | — |
| Debian 12 | linux | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Nvidia-BlueField 24.04 LTS | linux-bluefield | No fix yet | — |
| Ubuntu Nvidia-BlueField 22.04 LTS | linux-bluefield | No fix yet | — |
| Ubuntu 26.10 | linux +8 | No fix yet | — |
| Ubuntu 26.04 LTS | linux +14 | No fix yet | — |
| Ubuntu 24.04 LTS | linux +52 | No fix yet | — |
Show 19 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | linux +59 | No fix yet | — |
| Ubuntu 20.04 LTS | linux-gke +28 | No fix yet | — |
| Ubuntu 18.04 LTS | linux-gcp +14 | No fix yet | — |
| Ubuntu 16.04 LTS | linux-hwe-edge | No fix yet | — |
| Ubuntu Pro Realtime 24.04 LTS | linux-realtime +3 | No fix yet | — |
| Ubuntu Pro Realtime 22.04 LTS | linux-realtime +2 | No fix yet | — |
| Ubuntu Pro FIPS 20.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS 18.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS 16.04 LTS | linux-fips | No fix yet | — |
| Ubuntu Pro FIPS-updates 24.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS-updates 22.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS-updates 20.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS-updates 18.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS-updates 16.04 LTS | linux-fips | No fix yet | — |
| Ubuntu Pro FIPS-preview 22.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro 20.04 LTS | linux +21 | No fix yet | — |
| Ubuntu Pro 18.04 LTS | linux +12 | No fix yet | — |
| Ubuntu Pro 16.04 LTS | linux +7 | No fix yet | — |
| Ubuntu Pro 14.04 LTS | linux +3 | No fix yet | — |
Advisories 1
- WID-SEC-2026-4889 Linux Kernel: Mehrere Schwachstellen ermöglichen nicht spezifizierten Angriff BSI CERT-Bund (WID) · Nov 30, 2026
References
- https://git.kernel.org/stable/c/66198c387fde00497da3eaadae8468d7c087d709
- https://git.kernel.org/stable/c/ee4e149f40a3fc34cf48d2d6eea066ee6d8c59bc
- https://git.kernel.org/stable/c/33ed98d877186d6380db6c043e6c4c1faf84443f
- https://git.kernel.org/stable/c/527c459eb4c20cfee7062b19f5cb39bc5ff0545d
- https://git.kernel.org/stable/c/62d46d12a632f354c829da8b1f6718d662597ae0
- https://git.kernel.org/stable/c/664ef42230020ddb24cf6e4e791de9e70119ca17
- https://git.kernel.org/stable/c/f79c63b27cb657f990b29c02b7c0ae67392d1663
- https://git.kernel.org/stable/c/b822ad8d702df0be9fe3f24f71caeb0522d72319