CVE-2026-68145
iomap: fix out-of-bounds bitmap_set() with zero-length range
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.
INFO
Published Date :
Aug. 10, 2026, 1:20 p.m.
Last Modified :
Nov. 30, 2026, 11:44 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | HIGH | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
Solution
- Update the Linux kernel to the patched version.
- Ensure kernel updates include the iomap fix.
- Verify that zero-length ranges are handled as no-ops.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-68145.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-68145 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-68145
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-68145 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-68145 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Nov. 30, 2026
Action Type Old Value New Value Added CWE CWE-125 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:7.2:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.2:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.2:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.101 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.6 up to (excluding) 6.6.153 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 7.1.6 *cpe:2.3:o:linux:linux_kernel:7.2:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.42 Added Reference Type kernel.org: https://git.kernel.org/stable/c/48829622212f6b8f49155889aecc818ba28ba680 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/7037e7bdcd26f46c080b8ce307dee5cb471c4b7c Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/9c7d8f7c8994c790fca501dc45ce66e7356cbe05 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/c5b6a48a8a716a7730e39af1cad083dc4ec955ce Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/fb4fad9105c88b1d82f1b3c39e3b6abea8249af6 Types: Patch -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Oct. 19, 2026
Action Type Old Value New Value Added CWE CWE-190 -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 16, 2026
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/48829622212f6b8f49155889aecc818ba28ba680 Added Reference https://git.kernel.org/stable/c/7037e7bdcd26f46c080b8ce307dee5cb471c4b7c Added Reference https://git.kernel.org/stable/c/9c7d8f7c8994c790fca501dc45ce66e7356cbe05 Added Reference https://git.kernel.org/stable/c/c5b6a48a8a716a7730e39af1cad083dc4ec955ce Added Reference https://git.kernel.org/stable/c/fb4fad9105c88b1d82f1b3c39e3b6abea8249af6 Removed Reference https://git.kernel.org/stable/c/48829622212f6b8f49155889aecc818ba28ba680 Removed Reference https://git.kernel.org/stable/c/7037e7bdcd26f46c080b8ce307dee5cb471c4b7c Removed Reference https://git.kernel.org/stable/c/9c7d8f7c8994c790fca501dc45ce66e7356cbe05 Removed Reference https://git.kernel.org/stable/c/c5b6a48a8a716a7730e39af1cad083dc4ec955ce Removed Reference https://git.kernel.org/stable/c/fb4fad9105c88b1d82f1b3c39e3b6abea8249af6 -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Oct. 16, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-68145', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-10-16T15:44:49.261769Z'} -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 23, 2026
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/48829622212f6b8f49155889aecc818ba28ba680 Changed Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4ce02c67972211be488408c275c8fbf19faf29b3', 'lessThan': 'fb4fad9105c88b1d82f1b3c39e3b6abea8249af6', 'versionType': 'git'}, {'status': 'affected', 'version': '4ce02c67972211be488408c275c8fbf19faf29b3', 'lessThan': '7037e7bdcd26f46c080b8ce307dee5cb471c4b7c', 'versionType': 'git'}, {'status': 'affected', 'version': '4ce02c67972211be488408c275c8fbf19faf29b3', 'lessThan': 'c5b6a48a8a716a7730e39af1cad083dc4ec955ce', 'versionType': 'git'}, {'status': 'affected', 'version': '4ce02c67972211be488408c275c8fbf19faf29b3', 'lessThan': '9c7d8f7c8994c790fca501dc45ce66e7356cbe05', 'versionType': 'git'}], 'programFiles': ['fs/iomap/buffered-io.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.6'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.6', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.12.101', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.42', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.6', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['fs/iomap/buffered-io.c'], 'defaultStatus': 'affected'}] [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4ce02c67972211be488408c275c8fbf19faf29b3', 'lessThan': '48829622212f6b8f49155889aecc818ba28ba680', 'versionType': 'git'}, {'status': 'affected', 'version': '4ce02c67972211be488408c275c8fbf19faf29b3', 'lessThan': 'fb4fad9105c88b1d82f1b3c39e3b6abea8249af6', 'versionType': 'git'}, {'status': 'affected', 'version': '4ce02c67972211be488408c275c8fbf19faf29b3', 'lessThan': '7037e7bdcd26f46c080b8ce307dee5cb471c4b7c', 'versionType': 'git'}, {'status': 'affected', 'version': '4ce02c67972211be488408c275c8fbf19faf29b3', 'lessThan': 'c5b6a48a8a716a7730e39af1cad083dc4ec955ce', 'versionType': 'git'}, {'status': 'affected', 'version': '4ce02c67972211be488408c275c8fbf19faf29b3', 'lessThan': '9c7d8f7c8994c790fca501dc45ce66e7356cbe05', 'versionType': 'git'}], 'programFiles': ['fs/iomap/buffered-io.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.6'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.6', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.6.153', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.101', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.42', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.6', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['fs/iomap/buffered-io.c'], 'defaultStatus': 'affected'}] -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 17, 2026
Action Type Old Value New Value Changed Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4ce02c67972211be488408c275c8fbf19faf29b3', 'lessThan': 'fb4fad9105c88b1d82f1b3c39e3b6abea8249af6', 'versionType': 'git'}, {'status': 'affected', 'version': '4ce02c67972211be488408c275c8fbf19faf29b3', 'lessThan': '7037e7bdcd26f46c080b8ce307dee5cb471c4b7c', 'versionType': 'git'}, {'status': 'affected', 'version': '4ce02c67972211be488408c275c8fbf19faf29b3', 'lessThan': 'c5b6a48a8a716a7730e39af1cad083dc4ec955ce', 'versionType': 'git'}, {'status': 'affected', 'version': '4ce02c67972211be488408c275c8fbf19faf29b3', 'lessThan': '9c7d8f7c8994c790fca501dc45ce66e7356cbe05', 'versionType': 'git'}], 'programFiles': ['fs/iomap/buffered-io.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.6'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.6', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.12.101', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.42', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.6', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc5', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['fs/iomap/buffered-io.c'], 'defaultStatus': 'affected'}] [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4ce02c67972211be488408c275c8fbf19faf29b3', 'lessThan': 'fb4fad9105c88b1d82f1b3c39e3b6abea8249af6', 'versionType': 'git'}, {'status': 'affected', 'version': '4ce02c67972211be488408c275c8fbf19faf29b3', 'lessThan': '7037e7bdcd26f46c080b8ce307dee5cb471c4b7c', 'versionType': 'git'}, {'status': 'affected', 'version': '4ce02c67972211be488408c275c8fbf19faf29b3', 'lessThan': 'c5b6a48a8a716a7730e39af1cad083dc4ec955ce', 'versionType': 'git'}, {'status': 'affected', 'version': '4ce02c67972211be488408c275c8fbf19faf29b3', 'lessThan': '9c7d8f7c8994c790fca501dc45ce66e7356cbe05', 'versionType': 'git'}], 'programFiles': ['fs/iomap/buffered-io.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.6'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.6', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.12.101', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.42', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.6', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['fs/iomap/buffered-io.c'], 'defaultStatus': 'affected'}] -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 13, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 10, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4ce02c67972211be488408c275c8fbf19faf29b3', 'lessThan': 'fb4fad9105c88b1d82f1b3c39e3b6abea8249af6', 'versionType': 'git'}, {'status': 'affected', 'version': '4ce02c67972211be488408c275c8fbf19faf29b3', 'lessThan': '7037e7bdcd26f46c080b8ce307dee5cb471c4b7c', 'versionType': 'git'}, {'status': 'affected', 'version': '4ce02c67972211be488408c275c8fbf19faf29b3', 'lessThan': 'c5b6a48a8a716a7730e39af1cad083dc4ec955ce', 'versionType': 'git'}, {'status': 'affected', 'version': '4ce02c67972211be488408c275c8fbf19faf29b3', 'lessThan': '9c7d8f7c8994c790fca501dc45ce66e7356cbe05', 'versionType': 'git'}], 'programFiles': ['fs/iomap/buffered-io.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.6'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.6', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.12.101', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.42', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.6', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc5', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['fs/iomap/buffered-io.c'], 'defaultStatus': 'affected'}] Added 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. Added Reference https://git.kernel.org/stable/c/7037e7bdcd26f46c080b8ce307dee5cb471c4b7c Added Reference https://git.kernel.org/stable/c/9c7d8f7c8994c790fca501dc45ce66e7356cbe05 Added Reference https://git.kernel.org/stable/c/c5b6a48a8a716a7730e39af1cad083dc4ec955ce Added Reference https://git.kernel.org/stable/c/fb4fad9105c88b1d82f1b3c39e3b6abea8249af6