{"id":"CVE-2026-100090","summary":"lib: decompress_bunzip2: fix integer overflow in run-length decoding","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nlib: decompress_bunzip2: fix integer overflow in run-length decoding\n\nThe RUNA/RUNB decoder in get_next_block() accumulates a run length into\nthe signed int t with no bound.  runPos doubles per symbol, so t grows as\nat least 2^n-1 and reaches INT_MAX after 31 RUNA symbols.  The guard that\nfollows, dbufCount+t \u003e= dbufSize, is itself a signed addition, and as the\nkernel builds with -fno-strict-overflow it wraps negative once dbufCount\nis nonzero, so the guard is skipped.  while (t--) dbuf[dbufCount++] = uc\nthen writes INT_MAX entries into a buffer holding at most 900000.  One\nliteral symbol ahead of the run is enough to make dbufCount nonzero.\n\nBound t to the block size as it is accumulated.  t only grows within a\nrun, so the value tested never exceeds the final run length; any stream\nthat decodes today satisfies dbufCount+t \u003c dbufSize at the flush, hence t\n\u003c dbufSize throughout, and no such stream is rejected.  Because t grows as\nat least 2^n-1 the bound trips by the 20th symbol, leaving runPos at most\n2^19, so the following runPos \u003c\u003c= 1 cannot overflow either.","modified":"2026-12-01T21:00:32.092894735Z","published":"2026-11-30T13:23:41.126Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/100xxx/CVE-2026-100090.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/33ed98d877186d6380db6c043e6c4c1faf84443f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/527c459eb4c20cfee7062b19f5cb39bc5ff0545d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/62d46d12a632f354c829da8b1f6718d662597ae0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/66198c387fde00497da3eaadae8468d7c087d709"},{"type":"WEB","url":"https://git.kernel.org/stable/c/664ef42230020ddb24cf6e4e791de9e70119ca17"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b822ad8d702df0be9fe3f24f71caeb0522d72319"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ee4e149f40a3fc34cf48d2d6eea066ee6d8c59bc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f79c63b27cb657f990b29c02b7c0ae67392d1663"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/100xxx/CVE-2026-100090.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-100090"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"bc22c17e12c130dc929218a95aa347e0f3fd05dc"},{"fixed":"66198c387fde00497da3eaadae8468d7c087d709"},{"fixed":"ee4e149f40a3fc34cf48d2d6eea066ee6d8c59bc"},{"fixed":"33ed98d877186d6380db6c043e6c4c1faf84443f"},{"fixed":"527c459eb4c20cfee7062b19f5cb39bc5ff0545d"},{"fixed":"62d46d12a632f354c829da8b1f6718d662597ae0"},{"fixed":"664ef42230020ddb24cf6e4e791de9e70119ca17"},{"fixed":"f79c63b27cb657f990b29c02b7c0ae67392d1663"},{"fixed":"b822ad8d702df0be9fe3f24f71caeb0522d72319"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-100090.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.30"},{"fixed":"5.10.275"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.117"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.63"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-100090.json"}}],"schema_version":"1.9.2"}