{"id":"CVE-2026-80892","state":"PUBLISHED","title":"erofs: cap LZMA stream pool size","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nerofs: cap LZMA stream pool size\n\nfs/erofs/decompressor_lzma.c sizes the module-global MicroLZMA stream\npool from num_possible_cpus() when the lzma_streams module parameter is\nunset, then z_erofs_load_lzma_config() preallocates one image-supplied\ndictionary per stream, accepting dictionaries up to 8 MiB.  On high-CPU\nsystems, a small EROFS image can pin hundreds of MiB of vmalloc-backed\ndecoder state until the erofs module is unloaded.\n\nImpact: An EROFS image mounted by the system can pin up to 8 MiB of\nvmalloc memory per LZMA stream, either as intended or unexpectedly.\n\nBound the default stream count by a new\nCONFIG_EROFS_FS_ZIP_LZMA_DEFAULT_MAX_STREAMS option, default 16, so the\nworst-case default preallocation is 128 MiB if the number of CPUs is no\nless than 16 while preserving the existing per-image dictionary limit.\nAn explicit lzma_streams module parameter is still honoured as-is, so\nadministrators who deliberately size the pool are not affected.","publishedAt":"2026-09-04T17:11:08.391Z","updatedAt":"2026-09-04T17:11:08.391Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"622ceaddb7649ca328832f50ba1400af778d75fa","status":"affected","lessThan":"682cb3ece37fc5141e73bc726ccf4adb833e5189","versionType":"git"},{"version":"622ceaddb7649ca328832f50ba1400af778d75fa","status":"affected","lessThan":"e8b3d09aa8889dda9be9cbb3d2f0218c4b9acde4","versionType":"git"},{"version":"622ceaddb7649ca328832f50ba1400af778d75fa","status":"affected","lessThan":"0c676903cb2a61992ded8e7907609cc6b0f11744","versionType":"git"},{"version":"622ceaddb7649ca328832f50ba1400af778d75fa","status":"affected","lessThan":"5aaa06dfc10f8398c8807453dbec738ea9af10e4","versionType":"git"},{"version":"622ceaddb7649ca328832f50ba1400af778d75fa","status":"affected","lessThan":"e52da169b8c0d19bb2d803f2a07fe0e5a00462d6","versionType":"git"},{"version":"622ceaddb7649ca328832f50ba1400af778d75fa","status":"affected","lessThan":"c9b47e6b23114e939b17f818471c7a46e59006e7","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/erofs/Kconfig","fs/erofs/decompressor_lzma.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.16","versionType":"semver"},{"version":"6.1.184","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.151","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.103","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.44","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.8","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/erofs/Kconfig","fs/erofs/decompressor_lzma.c"]}],"references":["https://git.kernel.org/stable/c/682cb3ece37fc5141e73bc726ccf4adb833e5189","https://git.kernel.org/stable/c/e8b3d09aa8889dda9be9cbb3d2f0218c4b9acde4","https://git.kernel.org/stable/c/0c676903cb2a61992ded8e7907609cc6b0f11744","https://git.kernel.org/stable/c/5aaa06dfc10f8398c8807453dbec738ea9af10e4","https://git.kernel.org/stable/c/e52da169b8c0d19bb2d803f2a07fe0e5a00462d6","https://git.kernel.org/stable/c/c9b47e6b23114e939b17f818471c7a46e59006e7"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:07.220Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/80xxx/CVE-2026-80892.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-80892","state":"PUBLISHED","datePublished":"2026-09-04T17:11:08.391Z","dateUpdated":"2026-09-04T17:11:08.391Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-08-26T14:34:25.800Z"},"containers":{"cna":{"title":"erofs: cap LZMA stream pool size","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nerofs: cap LZMA stream pool size\n\nfs/erofs/decompressor_lzma.c sizes the module-global MicroLZMA stream\npool from num_possible_cpus() when the lzma_streams module parameter is\nunset, then z_erofs_load_lzma_config() preallocates one image-supplied\ndictionary per stream, accepting dictionaries up to 8 MiB.  On high-CPU\nsystems, a small EROFS image can pin hundreds of MiB of vmalloc-backed\ndecoder state until the erofs module is unloaded.\n\nImpact: An EROFS image mounted by the system can pin up to 8 MiB of\nvmalloc memory per LZMA stream, either as intended or unexpectedly.\n\nBound the default stream count by a new\nCONFIG_EROFS_FS_ZIP_LZMA_DEFAULT_MAX_STREAMS option, default 16, so the\nworst-case default preallocation is 128 MiB if the number of CPUs is no\nless than 16 while preserving the existing per-image dictionary limit.\nAn explicit lzma_streams module parameter is still honoured as-is, so\nadministrators who deliberately size the pool are not affected."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"622ceaddb7649ca328832f50ba1400af778d75fa","status":"affected","lessThan":"682cb3ece37fc5141e73bc726ccf4adb833e5189","versionType":"git"},{"version":"622ceaddb7649ca328832f50ba1400af778d75fa","status":"affected","lessThan":"e8b3d09aa8889dda9be9cbb3d2f0218c4b9acde4","versionType":"git"},{"version":"622ceaddb7649ca328832f50ba1400af778d75fa","status":"affected","lessThan":"0c676903cb2a61992ded8e7907609cc6b0f11744","versionType":"git"},{"version":"622ceaddb7649ca328832f50ba1400af778d75fa","status":"affected","lessThan":"5aaa06dfc10f8398c8807453dbec738ea9af10e4","versionType":"git"},{"version":"622ceaddb7649ca328832f50ba1400af778d75fa","status":"affected","lessThan":"e52da169b8c0d19bb2d803f2a07fe0e5a00462d6","versionType":"git"},{"version":"622ceaddb7649ca328832f50ba1400af778d75fa","status":"affected","lessThan":"c9b47e6b23114e939b17f818471c7a46e59006e7","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/erofs/Kconfig","fs/erofs/decompressor_lzma.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.16","versionType":"semver"},{"version":"6.1.184","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.151","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.103","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.44","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.8","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/erofs/Kconfig","fs/erofs/decompressor_lzma.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/682cb3ece37fc5141e73bc726ccf4adb833e5189"},{"url":"https://git.kernel.org/stable/c/e8b3d09aa8889dda9be9cbb3d2f0218c4b9acde4"},{"url":"https://git.kernel.org/stable/c/0c676903cb2a61992ded8e7907609cc6b0f11744"},{"url":"https://git.kernel.org/stable/c/5aaa06dfc10f8398c8807453dbec738ea9af10e4"},{"url":"https://git.kernel.org/stable/c/e52da169b8c0d19bb2d803f2a07fe0e5a00462d6"},{"url":"https://git.kernel.org/stable/c/c9b47e6b23114e939b17f818471c7a46e59006e7"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-09-04T17:11:08.391Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.1.184"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.6.151"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.12.103"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.18.44"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"7.1.8"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}