CVE-2026-43348
Last modified
CVE-2026-43348 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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: ... EPSS estimates a 0.10% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 6.19, < 7.0.2 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-43348?
How severe is CVE-2026-43348?
How do I fix CVE-2026-43348?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-43342In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2026-43343In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-43344In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-43345In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2026-43346In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-43347In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2026-43349In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-4335The ShortPixel Image Optimizer plugin for WordPress is vulne…5.4
- CVE-2026-43350In the Linux kernel, the following vulnerability has been re…7.6
- CVE-2026-43351In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-43352In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-43353In the Linux kernel, the following vulnerability has been re…7.8
Are you affected by CVE-2026-43348?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
