{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99845","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-09-25T10:25:14.437Z","datePublished":"2026-11-30T13:17:35.546Z","dateUpdated":"2026-11-30T13:17:35.546Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-11-30T13:17:35.546Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\niomap: keep large chunks from defeating the bio cap\n\nFor integrity I/O a bio must not grow beyond max_integrity_io_size()\nbecause the integrity buffer is a single allocation of at most 2 MiB.\nWriteback and buffered reads check that before adding to a bio:\n\n        bio->bi_iter.bi_size > iomap_max_bio_size(iomap) - len\n\nThe subtraction is done in size_t and wraps if len alone is above the\nlimit. The check then never fires and the bio grows until it runs out\nof bio_vecs.\n\nThat's easy to hit. The limit is also capped by the maximum segment size\nwhich is 64 KiB for SCSI hosts that don't set it, such as lpfc and\nqla2xxx, and XFS uses folios of up to 2 MiB. Writeback of a preallocated\n300 MiB file then builds a single bio that needs 4.7 MiB of PI with 512\nbyte sectors and 8 byte tuples. That's more than kmalloc() can do, so\nbio_integrity_alloc_buf() falls back to a 2 MiB mempool element and\ngenerating the PI writes 2.7 MiB past its end.\n\nCheck the length on its own first. A chunk above the limit still gets a\nbio of its own which is never larger than a folio."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/iomap/bio.c","fs/iomap/internal.h","fs/iomap/ioend.c"],"versions":[{"version":"0b10a370529cbd7b918c1eef43d409e43d9e0b78","lessThan":"3ace65e1001ea5fa82a178a1d3178fef1f6da3a2","status":"affected","versionType":"git"},{"version":"0b10a370529cbd7b918c1eef43d409e43d9e0b78","lessThan":"eb8ab8c23e71c6ae77dedc45de2a57a61558e5d5","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/iomap/bio.c","fs/iomap/internal.h","fs/iomap/ioend.c"],"versions":[{"version":"7.1","status":"affected"},{"version":"0","lessThan":"7.1","status":"unaffected","versionType":"semver"},{"version":"7.3.4","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.1","versionEndExcluding":"7.3.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.1","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/3ace65e1001ea5fa82a178a1d3178fef1f6da3a2"},{"url":"https://git.kernel.org/stable/c/eb8ab8c23e71c6ae77dedc45de2a57a61558e5d5"}],"title":"iomap: keep large chunks from defeating the bio cap","x_generator":{"engine":"bippy-1.2.0"}}}}