# CVE-2026-43348: linux: In the Linux kernel, the following vulnerability has been resolved:  mshv_vtl: Fix vmemmap_shift exceeding MAX_FOLIO_...

CVE-2026-43348 is fixed in linux on 1 platform by DEBIAN-CVE-2026-43348 (version 7.0.3-1), released May 15, 2026. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2026-43348
- Priority: Routine
- CVSS: 5.5 (medium)
- EPSS: 0.0010
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: May 8, 2026

## Description

In the Linux kernel, the following vulnerability has been resolved:  mshv_vtl: Fix vmemmap_shift exceeding MAX_FOLIO_ORDER  When registering VTL0 memory via MSHV_ADD_VTL0_MEMORY, the kernel computes pgmap->vmemmap_shift as the number of trailing zeros in the OR of start_pfn and last_pfn, intending to use the largest compound page order both endpoints are aligned to.  However, this value is not clamped to MAX_FOLIO_ORDER, so a sufficiently aligned range (e.g. physical range [0x800000000000, 0x800080000000), corresponding to start_pfn=0x800000000 with 35 trailing zeros) can produce a shift larger than what memremap_pages() accepts, triggering a WARN and returning -EINVAL:    WARNING: ... memremap_pages+0x512/0x650   requested folio size unsupported  The MAX_FOLIO_ORDER check was added by commit 646b67d57589 ("mm/memremap: reject unreasonable folio/compound page sizes in memremap_pages()").  Fix this by clamping vmemmap_shift to MAX_FOLIO_ORDER so we always request the largest order the kernel supports, in those cases, rather than an out-of-range value.  Also fix the error path to propagate the actual error code from devm_memremap_pages() instead of hard-coding -EFAULT, which was masking the real -EINVAL return.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | linux Debian 14 | 7.0.3-1 | [DEBIAN-CVE-2026-43348](https://patchblox.com/security/data/fix/linux/debian-cve-2026-43348.md) | May 15, 2026 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
