Skip to content
High 7.8

Linux Kernelのiomapで境界チェックの不備により脆弱性、メモリ範囲外書き込みのおそれ

CVE-2026-99845 First seen on SecPulse

Summary

Linux Kernelのiomapで、大きなデータのまとまりがbioの上限チェックをすり抜け、メモリの範囲外に書き込まれるおそれがある脆弱性です。影響を受けるのは7.1.0以上7.3.4未満で、修正版は7.3.4です。公表は2026年11月30日で、CVSSは7.8です。修正版への更新を優先してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Linux Kernelのiomapで、大きなデータのまとまりがbioの上限チェックをすり抜け、メモリの範囲外に書き込まれるおそれがある脆弱性です。影響を受けるのは7.1.0以上7.3.4未満で、修正版は7.3.4です。公表は2026年11月30日で、CVSSは7.8です。修正版への更新を優先してください。

Affected packages

PackageAffected → Fixed
LinuxLinux —
LinuxKernel
≥ 7.1.0, < 7.3.4→ 7.3.4

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

In the Linux kernel, the following vulnerability has been resolved:

iomap: keep large chunks from defeating the bio cap

For integrity I/O a bio must not grow beyond max_integrity_io_size()
because the integrity buffer is a single allocation of at most 2 MiB.
Writeback and buffered reads check that before adding to a bio:

    bio->bi_iter.bi_size > iomap_max_bio_size(iomap) - len

The subtraction is done in size_t and wraps if len alone is above the
limit. The check then never fires and the bio grows until it runs out
of bio_vecs.

That's easy to hit. The limit is also capped by the maximum segment size
which is 64 KiB for SCSI hosts that don't set it, such as lpfc and
qla2xxx, and XFS uses folios of up to 2 MiB. Writeback of a preallocated
300 MiB file then builds a single bio that needs 4.7 MiB of PI with 512
byte sectors and 8 byte tuples. That's more than kmalloc() can do, so
bio_integrity_alloc_buf() falls back to a 2 MiB mempool element and
generating the PI writes 2.7 MiB past its end.

Check the length on its own first. A chunk above the limit still gets a
bio of its own which is never larger than a folio.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details