# CVE-2026-46115: block: add pgmap check to biovec_phys_mergeable

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.49%, higher than 43% of CVEs (2026-12-01)
- Published: 2026-05-28T09:35:26.735Z
- Modified: 2026-10-19T20:18:31.707Z
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: Linux

## Description

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

block: add pgmap check to biovec_phys_mergeable

biovec_phys_mergeable() is used by the request merge, DMA mapping,
and integrity merge paths to decide if two physically contiguous
bvec segments can be coalesced into one. It currently has no check
for whether the segments belong to different dev_pagemaps.

When zone device memory is registered in multiple chunks, each chunk
gets its own dev_pagemap. A single bio can legitimately contain
bvecs from different pgmaps -- iov_iter_extract_bvecs() breaks at
pgmap boundaries but the outer loop in bio_iov_iter_get_pages()
continues filling the same bio. If such bvecs are physically
contiguous, biovec_phys_mergeable() will coalesce them, making it
impossible to recover the correct pgmap for the merged segment
via page_pgmap().

Add a zone_device_pages_have_same_pgmap() check to prevent merging
bvec segments that span different pgmaps.

(As written by CVE List.)

## Affected

- Linux Linux: from 49580e690755d0e51ed7aa2c33225dd884fa738a before 3d2ecbd444b01d6500671d1a582b7393943cf539; from 49580e690755d0e51ed7aa2c33225dd884fa738a before a7f3aa8c9df3905fe820ae36b67ba56b81587574; from 49580e690755d0e51ed7aa2c33225dd884fa738a before f17d521075325b8afc42d1baa1c28a5e9aca111f; from 49580e690755d0e51ed7aa2c33225dd884fa738a before f632dab4b841554cd6416058c61886d7db176581; from 49580e690755d0e51ed7aa2c33225dd884fa738a before 13920e4b7b784b40cf4519ff1f0f3e513476a499; 6.2 (not affected: before 6.2; from 6.6.140 up to 6.6.*; from 6.12.88 up to 6.12.*; from 6.18.30 up to 6.18.*; from 7.0.7 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 6.2 before 6.6.140; from 6.7 before 6.12.88; from 6.13 before 6.18.30; from 6.19 before 7.0.7

## References

- <https://git.kernel.org/stable/c/3d2ecbd444b01d6500671d1a582b7393943cf539> (patch)
- <https://git.kernel.org/stable/c/a7f3aa8c9df3905fe820ae36b67ba56b81587574> (patch)
- <https://git.kernel.org/stable/c/f17d521075325b8afc42d1baa1c28a5e9aca111f> (patch)
- <https://git.kernel.org/stable/c/f632dab4b841554cd6416058c61886d7db176581> (patch)
- <https://git.kernel.org/stable/c/13920e4b7b784b40cf4519ff1f0f3e513476a499> (patch)

## Sources

- CVE List: [CVE-2026-46115](https://www.cve.org/CVERecord?id=CVE-2026-46115), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-46115](https://nvd.nist.gov/vuln/detail/CVE-2026-46115), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-46115 · Whole record: https://cve.day/CVE-2026-46115.json · Rebuilt by cve.day 2026-11-25T22:59:22.779Z
