{"api_version":"1","generated_at":"2026-09-11T22:32:26+00:00","cve":"CVE-2026-89578","urls":{"html":"https://cve.report/CVE-2026-89578","api":"https://cve.report/api/cve/CVE-2026-89578.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-89578","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-89578"},"summary":{"title":"dm-io: clone the source bio instead of copying its biovec","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndm-io: clone the source bio instead of copying its biovec\n\nFor DM_IO_BIO requests, do_region() built each destination bio by walking\nthe source bio's biovec and re-adding the pages one at a time, tracking\nthe remaining transfer in sectors. The vector lengths are byte granular\nand need not be sector aligned (e.g. a misaligned O_DIRECT buffer split\nacross pages), so the sector-based accounting could lose a sub-sector\nfragment: to_sector() truncated the remainder and the outer loop spun\nforever submitting empty bios, hanging the I/O.\n\nThere is no need to rebuild the biovec at all. The destination reads into\n(or writes from) exactly the same pages as the source bio, so the bio can\nsimply clone the source's biovec with bio_alloc_clone() and remap it to\nthe target device. The clone inherits the source's iterator and alignment,\nand the block layer splits it to the target's limits on submission, so the\nwhole region maps to a single cloned bio with no manual page copying or\nsector accounting.\n\nThis removes the per-page copy path (and its open-coded bvec dpages\nhelpers) for bio-backed I/O and fixes the hang on misaligned direct I/O to\na dm-mirror device. Page-list, vma and kmem sources keep the existing copy\npath.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-09-11 20:19:42","updated_at":"2026-09-11 20:19:42"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/9493ac67623d45b7d4671d2b0b4d0633c2bc2e51","name":"https://git.kernel.org/stable/c/9493ac67623d45b7d4671d2b0b4d0633c2bc2e51","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/62dc37a819a5a5de5cba989ad9e96ee214b9253e","name":"https://git.kernel.org/stable/c/62dc37a819a5a5de5cba989ad9e96ee214b9253e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/8dc48b68d7c3e6ecaae80fc1592befb0e8603d6c","name":"https://git.kernel.org/stable/c/8dc48b68d7c3e6ecaae80fc1592befb0e8603d6c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-89578","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89578","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5ff3f74e145adc79b49668adb8de276446acf6be 9493ac67623d45b7d4671d2b0b4d0633c2bc2e51 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5ff3f74e145adc79b49668adb8de276446acf6be 8dc48b68d7c3e6ecaae80fc1592befb0e8603d6c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5ff3f74e145adc79b49668adb8de276446acf6be 62dc37a819a5a5de5cba989ad9e96ee214b9253e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.18","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.50 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.4 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/md/dm-io.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"9493ac67623d45b7d4671d2b0b4d0633c2bc2e51","status":"affected","version":"5ff3f74e145adc79b49668adb8de276446acf6be","versionType":"git"},{"lessThan":"8dc48b68d7c3e6ecaae80fc1592befb0e8603d6c","status":"affected","version":"5ff3f74e145adc79b49668adb8de276446acf6be","versionType":"git"},{"lessThan":"62dc37a819a5a5de5cba989ad9e96ee214b9253e","status":"affected","version":"5ff3f74e145adc79b49668adb8de276446acf6be","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/md/dm-io.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.18"},{"lessThan":"6.18","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.50","versionType":"semver"},{"lessThanOrEqual":"7.2.*","status":"unaffected","version":"7.2.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.3-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.50","versionStartIncluding":"6.18","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.4","versionStartIncluding":"6.18","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3-rc1","versionStartIncluding":"6.18","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndm-io: clone the source bio instead of copying its biovec\n\nFor DM_IO_BIO requests, do_region() built each destination bio by walking\nthe source bio's biovec and re-adding the pages one at a time, tracking\nthe remaining transfer in sectors. The vector lengths are byte granular\nand need not be sector aligned (e.g. a misaligned O_DIRECT buffer split\nacross pages), so the sector-based accounting could lose a sub-sector\nfragment: to_sector() truncated the remainder and the outer loop spun\nforever submitting empty bios, hanging the I/O.\n\nThere is no need to rebuild the biovec at all. The destination reads into\n(or writes from) exactly the same pages as the source bio, so the bio can\nsimply clone the source's biovec with bio_alloc_clone() and remap it to\nthe target device. The clone inherits the source's iterator and alignment,\nand the block layer splits it to the target's limits on submission, so the\nwhole region maps to a single cloned bio with no manual page copying or\nsector accounting.\n\nThis removes the per-page copy path (and its open-coded bvec dpages\nhelpers) for bio-backed I/O and fixes the hang on misaligned direct I/O to\na dm-mirror device. Page-list, vma and kmem sources keep the existing copy\npath."}],"providerMetadata":{"dateUpdated":"2026-09-11T19:44:45.364Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/9493ac67623d45b7d4671d2b0b4d0633c2bc2e51"},{"url":"https://git.kernel.org/stable/c/8dc48b68d7c3e6ecaae80fc1592befb0e8603d6c"},{"url":"https://git.kernel.org/stable/c/62dc37a819a5a5de5cba989ad9e96ee214b9253e"}],"title":"dm-io: clone the source bio instead of copying its biovec","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-89578","datePublished":"2026-09-11T19:44:45.364Z","dateReserved":"2026-09-11T19:38:34.728Z","dateUpdated":"2026-09-11T19:44:45.364Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-09-11 20:19:42","lastModifiedDate":"2026-09-11 20:19:42","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"89578","Ordinal":"1","Title":"dm-io: clone the source bio instead of copying its biovec","CVE":"CVE-2026-89578","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"89578","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\ndm-io: clone the source bio instead of copying its biovec\n\nFor DM_IO_BIO requests, do_region() built each destination bio by walking\nthe source bio's biovec and re-adding the pages one at a time, tracking\nthe remaining transfer in sectors. The vector lengths are byte granular\nand need not be sector aligned (e.g. a misaligned O_DIRECT buffer split\nacross pages), so the sector-based accounting could lose a sub-sector\nfragment: to_sector() truncated the remainder and the outer loop spun\nforever submitting empty bios, hanging the I/O.\n\nThere is no need to rebuild the biovec at all. The destination reads into\n(or writes from) exactly the same pages as the source bio, so the bio can\nsimply clone the source's biovec with bio_alloc_clone() and remap it to\nthe target device. The clone inherits the source's iterator and alignment,\nand the block layer splits it to the target's limits on submission, so the\nwhole region maps to a single cloned bio with no manual page copying or\nsector accounting.\n\nThis removes the per-page copy path (and its open-coded bvec dpages\nhelpers) for bio-backed I/O and fixes the hang on misaligned direct I/O to\na dm-mirror device. Page-list, vma and kmem sources keep the existing copy\npath.","Type":"Description","Title":"dm-io: clone the source bio instead of copying its biovec"}]}}}