# CVE-2026-89578: dm-io: clone the source bio instead of copying its biovec

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-09-11T19:44:45.364Z
- **Modified:** 2026-10-19T09:17:53.830Z

## Who should check

- Anyone running Linux \>= 5ff3f74e145adc79b49668adb8de276446acf6be, \< 9493ac67623d45b7d4671d2b0b4d0633c2bc2e51; \>= 5ff3f74e145adc79b49668adb8de276446acf6be, \< 8dc48b68d7c3e6ecaae80fc1592befb0e8603d6c; \>= 5ff3f74e145adc79b49668adb8de276446acf6be, \< 62dc37a819a5a5de5cba989ad9e96ee214b9253e
- Anyone running Linux 6.18

## Description

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

dm-io: clone the source bio instead of copying its biovec

For DM\_IO\_BIO requests, do\_region() built each destination bio by walking
the source bio's biovec and re-adding the pages one at a time, tracking
the remaining transfer in sectors. The vector lengths are byte granular
and need not be sector aligned (e.g. a misaligned O\_DIRECT buffer split
across pages), so the sector-based accounting could lose a sub-sector
fragment: to\_sector() truncated the remainder and the outer loop spun
forever submitting empty bios, hanging the I/O.

There is no need to rebuild the biovec at all. The destination reads into
(or writes from) exactly the same pages as the source bio, so the bio can
simply clone the source's biovec with bio\_alloc\_clone() and remap it to
the target device. The clone inherits the source's iterator and alignment,
and the block layer splits it to the target's limits on submission, so the
whole region maps to a single cloned bio with no manual page copying or
sector accounting.

This removes the per-page copy path (and its open-coded bvec dpages
helpers) for bio-backed I/O and fixes the hang on misaligned direct I/O to
a dm-mirror device. Page-list, vma and kmem sources keep the existing copy
path.

## Affected and fixed versions

- Linux: \>= 5ff3f74e145adc79b49668adb8de276446acf6be, \< 9493ac67623d45b7d4671d2b0b4d0633c2bc2e51; \>= 5ff3f74e145adc79b49668adb8de276446acf6be, \< 8dc48b68d7c3e6ecaae80fc1592befb0e8603d6c; \>= 5ff3f74e145adc79b49668adb8de276446acf6be, \< 62dc37a819a5a5de5cba989ad9e96ee214b9253e (cvelist)
- Linux: 6.18 (cvelist)

## Mitigation

- Upgrade Linux to 62dc37a819a5a5de5cba989ad9e96ee214b9253e or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-89578. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89578.md
Affected: Linux >= 5ff3f74e145adc79b49668adb8de276446acf6be, < 9493ac67623d45b7d4671d2b0b4d0633c2bc2e51; >= 5ff3f74e145adc79b49668adb8de276446acf6be, < 8dc48b68d7c3e6ecaae80fc1592befb0e8603d6c; >= 5ff3f74e145adc79b49668adb8de276446acf6be, < 62dc37a819a5a5de5cba989ad9e96ee214b9253e; Linux 6.18
Fixed in: Linux 9493ac67623d45b7d4671d2b0b4d0633c2bc2e51, Linux 8dc48b68d7c3e6ecaae80fc1592befb0e8603d6c, Linux 62dc37a819a5a5de5cba989ad9e96ee214b9253e

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-89578 being exploited?

There is no confirmed exploitation: CVE-2026-89578 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-89578?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-89578?

Linux \>= 5ff3f74e145adc79b49668adb8de276446acf6be, \< 9493ac67623d45b7d4671d2b0b4d0633c2bc2e51; \>= 5ff3f74e145adc79b49668adb8de276446acf6be, \< 8dc48b68d7c3e6ecaae80fc1592befb0e8603d6c; \>= 5ff3f74e145adc79b49668adb8de276446acf6be, \< 62dc37a819a5a5de5cba989ad9e96ee214b9253e; Linux 6.18.

### Is there a fix for CVE-2026-89578?

Yes. Fixed in Linux 9493ac67623d45b7d4671d2b0b4d0633c2bc2e51, Linux 8dc48b68d7c3e6ecaae80fc1592befb0e8603d6c, Linux 62dc37a819a5a5de5cba989ad9e96ee214b9253e. Upgrade Linux to 62dc37a819a5a5de5cba989ad9e96ee214b9253e or later.

### How do I check if I'm affected by CVE-2026-89578?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/9493ac67623d45b7d4671d2b0b4d0633c2bc2e51>
- other: <https://git.kernel.org/stable/c/8dc48b68d7c3e6ecaae80fc1592befb0e8603d6c>
- other: <https://git.kernel.org/stable/c/62dc37a819a5a5de5cba989ad9e96ee214b9253e>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-89578>

HTML: <https://flawdb.com/CVE-2026-89578> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-89578>
