CVE-2026-68163: mm/page_vma_mapped: fix device-private PMD handling

Published Aug 10, 2026
·
Updated

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

mm/pagevmamapped: fix device-private PMD handling

Commit 65edfda6f3f2 ("mm/rmap: extend rmap and migration support device-private entries") introduced the concept of device-private PMD entries, but did not correctly update the rmap walk code to account for them.

As a result, when pagevmamappedwalk() encounters device-private PMD entries, it takes no action other than to acquire the PMD lock and exit.

However this is highly problematic for two reasons - firstly, device private entries possess a PFN so checkpmd() needs to be called to ensure an overlapping PFN range.

Secondly, and more importantly, if PVMWMIGRATION is set the caller assumes the returned entry is a migration entry, resulting in memory corruption when the caller tries to interpret the device private entry as such.

In addition, commit 146287290023 ("mm/hugememory: implement device-private THP splitting") allowed device private PMDs to be split like THP mappings, but again did not update this code path.

As a result, we might race a PMD split prior to acquiring the PMD lock.

This patch addresses all of these issues by invoking checkpmd(), ensuring PMVWMIGRATION is not set and checks whether a split raced us we do for PMD THP and migration entries.

Instead of checking for a subset of the cases after taking the pmdlock(), put device-private along with pmdtranshuge() and pmdismigrationentry(). Also remove thpmigrationsupported() as it is already guarded by pmdismigrationentry().

[akpm@linux-foundation.org: fix Raspberry Pi 1 build, per David]

Affected Software

1 affected component
Linux Kernel

Event History

Aug 10, 2026
CVE Published
via MITRE·11:59 AM
Data Sourced
via MITRE·11:59 AM
Description
Data Sourced
via NVD·01:20 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-68163?

CVE-2026-68163 has a risk rating of 50.

2

How do I fix CVE-2026-68163?

To fix CVE-2026-68163, update your Linux kernel to the latest version that includes the patch for this vulnerability.

3

What is CVE-2026-68163 about?

CVE-2026-68163 addresses an issue in the Linux kernel related to the handling of device-private PMD entries.

4

When was CVE-2026-68163 published?

CVE-2026-68163 was published on August 10, 2026.

5

What impact does CVE-2026-68163 have on the Linux kernel?

CVE-2026-68163 could lead to improper handling of device-private page mappings, potentially affecting system stability and security.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203
CVE-2026-68163 - mm/page_vma_mapped: fix device-private PMD handling - SecAlerts