CVE-2026-68145
iomap: fix out-of-bounds bitmap_set() with zero-length range
Reported by linux · Published August 10, 2026
In the Linux kernel, the following vulnerability has been resolved: iomap: fix out-of-bounds bitmap_set() with zero-length range ifs_set_range_dirty() and ifs_set_range_uptodate() compute last_blk as (off + len - 1) >> i_blkbits. When off is 0 and len is 0, the unsigned subtraction underflows to SIZE_MAX, producing a huge last_blk and nr_blks value that causes bitmap_set() to write far beyond the ifs->state allocation. Regarding ifs_set_range_uptodate(), it is temporarily safe because len cannot be passed in as 0. However, for ifs_set_range_dirty() this is reachable from __iomap_write_end(): when copy_folio_from_iter_atomic() returns 0 (e.g. user buffer fault) and the folio is already uptodate, the guard at the top of __iomap_write_end() does not trigger because !folio_test_uptodate() is false, and iomap_set_range_dirty() is called with copied == 0. Add a !len guard to both functions before the computation, so that a zero-length range is a no-op.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-64k-devel-matched | errata.rockylinux.org | 5.14.0-687.44.1.el9 |
| kernel-uki-virt | errata.rockylinux.org | 6.12.0-211.51.1.el10 |
| kernel-rt-64k | errata.rockylinux.org | 6.12.0-211.51.1.el10, 5.14.0-687.44.1.el9 |
| kernel-rt-modules-extra | errata.rockylinux.org | 5.14.0-687.44.1.el9 |
| kernel-64k-debug-modules | errata.rockylinux.org | 6.12.0-211.51.1.el10 |
| kernel-rt-debug-debuginfo | errata.rockylinux.org | 5.14.0-687.44.1.el9 |
| kernel-rt-core | errata.rockylinux.org | 5.14.0-687.44.1.el9 |
| kernel-debug-devel | errata.rockylinux.org | 5.14.0-687.44.1.el9 |
| kernel-modules-core | errata.rockylinux.org | 5.14.0-687.44.1.el9 |
| kernel-debug-modules-extra | errata.rockylinux.org | 6.12.0-211.51.1.el10, 5.14.0-687.44.1.el9 |
| kernel-zfcpdump-devel | errata.rockylinux.org | 6.12.0-211.51.1.el10, 5.14.0-687.44.1.el9 |
| kernel-devel-matched | errata.rockylinux.org | 5.14.0-687.44.1.el9 |
51 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 4ce02c67972211be488408c275c8fbf19faf29b3, 4ce02c67972211be488408c275c8fbf19faf29b3, 4ce02c67972211be488408c275c8fbf19faf29b3 |
| Linux | Linux | 6.6, 0, 6.6.153 |
| amazon:2023 | kernel-livepatch-6.18.44-99.149 | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel6.12 | 0 |
| linux | linux_kernel | 6.6, 6.6, 6.6 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| amazon:2023 | kernel-livepatch-6.12.103-127.188 | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
…and 7 more
Timeline
- Aug 10, 2026 CVE Published
- Aug 11, 2026 Coalition ESS Score
- Aug 16, 2026 Security Advisory (3 in total, the first dated here)
- Aug 24, 2026 EPSS Score (9 in total, the first dated here)
- Sep 4, 2026 Distribution Patch (4 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-68145
vulnetix vdb fixes CVE-2026-68145
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-68145/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart