CVE-2026-68145
published high CVSS 3.1 · 7.8iomap: fix out-of-bounds bitmap_set() with zero-length range
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux4ce02c67972211be488408c275c8fbf19faf29b3 to < 48829622212f6b8f49155889aecc818ba28ba680 · 4ce02c67972211be488408c275c8fbf19faf29b3 to < fb4fad9105c88b1d82f1b3c39e3b6abea8249af6 · 4ce02c67972211be488408c275c8fbf19faf29b3 to < 7037e7bdcd26f46c080b8ce307dee5cb471c4b7c · 4ce02c67972211be488408c275c8fbf19faf29b3 to < c5b6a48a8a716a7730e39af1cad083dc4ec955ce · 4ce02c67972211be488408c275c8fbf19faf29b3 to < 9c7d8f7c8994c790fca501dc45ce66e7356cbe05 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.6 (affected) · 0 to < 6.6 (unaffected · semver) · 6.6.153 through 6.6.* (unaffected · semver) · 6.12.101 through 6.12.* (unaffected · semver) · 6.18.42 through 6.18.* (unaffected · semver) · 7.1.6 through 7.1.* (unaffected · semver) · 7.2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-2106 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-2110 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 10 | kernel-abi-stablelists | Advisory build | 6.12.0-211.51.1.el10_2 | ALSA-2026:63128 |
| Debian | bookworm | linux-6.12 | Advisory build | 6.12.101-1~deb12u1 | DLA-4745-1 |
Show 98 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 10 | kernelx86_64 | Advisory build | 0:6.12.0-211.51.1.el10_2 | ELSA-2026-63128-0 |
| AlmaLinux | 10 | kernel-doc | Advisory build | 6.12.0-211.51.1.el10_2 | ALSA-2026:63128 |
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-debug-uki-virt | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-devel | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-devel-matched | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-doc | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-headers | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-modules | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-modules-core | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-modules-extra | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-64k | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-64k-core | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-64k-debug | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-64k-debug-core | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-64k-debug-devel | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-core | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-extra | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-64k-devel | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-64k-modules | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-64k-modules-core | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-64k-modules-extra | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-core | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-debug | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-debug-core | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-debug-devel | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-debug-modules | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-debug-modules-core | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-debug-modules-extra | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-devel | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-modules | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-modules-core | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-modules-extra | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-tools | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-tools-libs | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-tools-libs-devel | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-uki-virt | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-uki-virt-addons | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-zfcpdump | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-zfcpdump-core | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-zfcpdump-devel | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-zfcpdump-devel-matched | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-zfcpdump-modules | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-core | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-extra | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | libperf | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | perf | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | python3-perf | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | rtla | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | rv | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| Oracle Linux | 10 | kernel-abi-stablelistsx86_64 | Advisory build | 0:6.12.0-211.51.1.el10_2 | ELSA-2026-63128-0 |
| Oracle Linux | 10 | kernel-corex86_64 | Advisory build | 0:6.12.0-211.51.1.el10_2 | ELSA-2026-63128-0 |
| Oracle Linux | 10 | kernel-cross-headersaarch64 | Advisory build | 0:6.12.0-211.51.1.el10_2 | ELSA-2026-63128-0 |
| Oracle Linux | 10 | kernel-cross-headersx86_64 | Advisory build | 0:6.12.0-211.51.1.el10_2 | ELSA-2026-63128-0 |
| Oracle Linux | 10 | kernel-debugx86_64 | Advisory build | 0:6.12.0-211.51.1.el10_2 | ELSA-2026-63128-0 |
| Oracle Linux | 10 | kernel-debug-corex86_64 | Advisory build | 0:6.12.0-211.51.1.el10_2 | ELSA-2026-63128-0 |
| Oracle Linux | 10 | kernel-debug-develx86_64 | Advisory build | 0:6.12.0-211.51.1.el10_2 | ELSA-2026-63128-0 |
| Oracle Linux | 10 | kernel-debug-devel-matchedx86_64 | Advisory build | 0:6.12.0-211.51.1.el10_2 | ELSA-2026-63128-0 |
| Oracle Linux | 10 | kernel-debug-modulesx86_64 | Advisory build | 0:6.12.0-211.51.1.el10_2 | ELSA-2026-63128-0 |
| Oracle Linux | 10 | kernel-debug-modules-corex86_64 | Advisory build | 0:6.12.0-211.51.1.el10_2 | ELSA-2026-63128-0 |
| Oracle Linux | 10 | kernel-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-211.51.1.el10_2 | ELSA-2026-63128-0 |
| Oracle Linux | 10 | kernel-debug-uki-virtx86_64 | Advisory build | 0:6.12.0-211.51.1.el10_2 | ELSA-2026-63128-0 |
| Oracle Linux | 10 | kernel-develx86_64 | Advisory build | 0:6.12.0-211.51.1.el10_2 | ELSA-2026-63128-0 |
| Oracle Linux | 10 | kernel-devel-matchedx86_64 | Advisory build | 0:6.12.0-211.51.1.el10_2 | ELSA-2026-63128-0 |
| Oracle Linux | 10 | kernel-docx86_64 | Advisory build | 0:6.12.0-211.51.1.el10_2 | ELSA-2026-63128-0 |
| Oracle Linux | 10 | kernel-headersaarch64 | Advisory build | 0:6.12.0-211.51.1.el10_2 | ELSA-2026-63128-0 |
| Oracle Linux | 10 | kernel-headersx86_64 | Advisory build | 0:6.12.0-211.51.1.el10_2 | ELSA-2026-63128-0 |
| Oracle Linux | 10 | kernel-modulesx86_64 | Advisory build | 0:6.12.0-211.51.1.el10_2 | ELSA-2026-63128-0 |
| Oracle Linux | 10 | kernel-modules-corex86_64 | Advisory build | 0:6.12.0-211.51.1.el10_2 | ELSA-2026-63128-0 |
| Oracle Linux | 10 | kernel-modules-extrax86_64 | Advisory build | 0:6.12.0-211.51.1.el10_2 | ELSA-2026-63128-0 |
| Oracle Linux | 10 | kernel-modules-extra-matchedx86_64 | Advisory build | 0:6.12.0-211.51.1.el10_2 | ELSA-2026-63128-0 |
| Oracle Linux | 10 | kernel-toolsaarch64 | Advisory build | 0:6.12.0-211.51.1.el10_2 | ELSA-2026-63128-0 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The bug is reached via the buffered write() path through iomap_file_buffered_write() when copy_folio_from_iter_atomic() returns 0; NFS/ksmbd server writes use kernel bvec iterators and do not hit this user-buffer fault path. AC:L - An attacker can reliably trigger copied==0 by racing munmap/remap against write() on an already-uptodate folio (TOCTOU after fault_in_iov_iter_readable), controlling both sides of the race on systems where folio size exceeds filesystem block size. PR:L - Only standard local write permission to a file on an iomap-backed filesystem (XFS, GFS2, FUSE writeback-cache, zonefs, NTFS) is required; no CAP_SYS_ADMIN or other elevated capability is needed beyond creating/triggering writes to attacker-writable files. UI:N - Exploitation requires only the attacker's own write operations to a writable file; no action by another user or administrator (such as mounting a filesystem or opening a file on the victim's behalf) is needed. S:U - Successful exploitation corrupts host kernel heap memory and enables local privilege escalation within the same kernel security domain; it does not inherently cross VM, container, or IOMMU boundaries. C:H - ifs_set_range_dirty() with len==0 underflows to SIZE_MAX and bitmap_set() writes far beyond the small kzalloc_flex(ifs->state) allocation, corrupting adjacent kmalloc objects in ways that can be leveraged for arbitrary kernel memory disclosure. I:H - The out-of-bounds bitmap_set() is a large heap overwrite primitive adjacent to the iomap_folio_state allocation, enabling control of kernel data structures and arbitrary code execution via standard heap exploitation techniques. A:H - The massive out-of-bounds write can immediately corrupt critical kernel heap metadata or adjacent objects, causing kernel oops/panic or unrecoverable memory corruption even before full exploitation is attempted.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 4ce02c67972211be488408c275c8fbf19faf29b3 to < 48829622212f6b8f49155889aecc818ba28ba680 (affected · git)4ce02c67972211be488408c275c8fbf19faf29b3 to < fb4fad9105c88b1d82f1b3c39e3b6abea8249af6 (affected · git)4ce02c67972211be488408c275c8fbf19faf29b3 to < 7037e7bdcd26f46c080b8ce307dee5cb471c4b7c (affected · git)4ce02c67972211be488408c275c8fbf19faf29b3 to < c5b6a48a8a716a7730e39af1cad083dc4ec955ce (affected · git)4ce02c67972211be488408c275c8fbf19faf29b3 to < 9c7d8f7c8994c790fca501dc45ce66e7356cbe05 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.6 (affected)0 to < 6.6 (unaffected · semver)6.6.153 through 6.6.* (unaffected · semver)6.12.101 through 6.12.* (unaffected · semver)6.18.42 through 6.18.* (unaffected · semver)7.1.6 through 7.1.* (unaffected · semver)7.2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-190 CWE-190 Integer Overflow or Wraparound
References
5- https://git.kernel.org/stable/c/48829622212f6b8f49155889aecc818ba28ba680
- https://git.kernel.org/stable/c/7037e7bdcd26f46c080b8ce307dee5cb471c4b7c
- https://git.kernel.org/stable/c/9c7d8f7c8994c790fca501dc45ce66e7356cbe05
- https://git.kernel.org/stable/c/c5b6a48a8a716a7730e39af1cad083dc4ec955ce
- https://git.kernel.org/stable/c/fb4fad9105c88b1d82f1b3c39e3b6abea8249af6
Provider assertions
2Linux · cna
iomap: fix out-of-bounds bitmap_set() with zero-length range
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f4e5c46de336a2668404d69e1f4fa4fccb4cd27b887e9062aaad1fdb52ffdeb2
- Ingested
- 19 Oct 2026, 21:04:33 UTC
- Source record
- Official CVE record