{"id":"CVE-2026-46115","summary":"block: add pgmap check to biovec_phys_mergeable","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nblock: add pgmap check to biovec_phys_mergeable\n\nbiovec_phys_mergeable() is used by the request merge, DMA mapping,\nand integrity merge paths to decide if two physically contiguous\nbvec segments can be coalesced into one. It currently has no check\nfor whether the segments belong to different dev_pagemaps.\n\nWhen zone device memory is registered in multiple chunks, each chunk\ngets its own dev_pagemap. A single bio can legitimately contain\nbvecs from different pgmaps -- iov_iter_extract_bvecs() breaks at\npgmap boundaries but the outer loop in bio_iov_iter_get_pages()\ncontinues filling the same bio. If such bvecs are physically\ncontiguous, biovec_phys_mergeable() will coalesce them, making it\nimpossible to recover the correct pgmap for the merged segment\nvia page_pgmap().\n\nAdd a zone_device_pages_have_same_pgmap() check to prevent merging\nbvec segments that span different pgmaps.","modified":"2026-06-26T11:56:35.361091179Z","published":"2026-05-28T09:35:26.735Z","related":["openSUSE-SU-2026:10954-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46115.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/13920e4b7b784b40cf4519ff1f0f3e513476a499"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3d2ecbd444b01d6500671d1a582b7393943cf539"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a7f3aa8c9df3905fe820ae36b67ba56b81587574"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f17d521075325b8afc42d1baa1c28a5e9aca111f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f632dab4b841554cd6416058c61886d7db176581"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46115.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46115"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"49580e690755d0e51ed7aa2c33225dd884fa738a"},{"fixed":"3d2ecbd444b01d6500671d1a582b7393943cf539"},{"fixed":"a7f3aa8c9df3905fe820ae36b67ba56b81587574"},{"fixed":"f17d521075325b8afc42d1baa1c28a5e9aca111f"},{"fixed":"f632dab4b841554cd6416058c61886d7db176581"},{"fixed":"13920e4b7b784b40cf4519ff1f0f3e513476a499"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-46115.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.140"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.88"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.30"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.0.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-46115.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}