# CVE-2026-68163: mm/page\_vma\_mapped: fix device-private PMD handling

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 3, 2026-11-28)
- **Published:** 2026-08-10T11:59:30.633Z
- **Modified:** 2026-08-17T05:18:16.830Z

## Who should check

- Anyone running Linux \>= 65edfda6f3f2e58f757485a056e4f1775a1404a8, \< ab6209f4b48a98ef14d6766acdb62aa9bb32e670; \>= 65edfda6f3f2e58f757485a056e4f1775a1404a8, \< f84ca9b1888d8fce7dfefe0e750fa971f8797486
- Anyone running Linux 6.19

## Description

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

mm/page\_vma\_mapped: 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 page\_vma\_mapped\_walk() 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 check\_pmd() needs to be called to ensure
an overlapping PFN range.

Secondly, and more importantly, if PVMW\_MIGRATION 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/huge\_memory: 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 check\_pmd(), ensuring
PMVW\_MIGRATION 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 pmd\_lock(),
put device-private along with pmd\_trans\_huge() and
pmd\_is\_migration\_entry().  Also remove thp\_migration\_supported() as it is
already guarded by pmd\_is\_migration\_entry().

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

## Affected and fixed versions

- Linux: \>= 65edfda6f3f2e58f757485a056e4f1775a1404a8, \< ab6209f4b48a98ef14d6766acdb62aa9bb32e670; \>= 65edfda6f3f2e58f757485a056e4f1775a1404a8, \< f84ca9b1888d8fce7dfefe0e750fa971f8797486 (cvelist)
- Linux: 6.19 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-68163. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-68163.md
Affected: Linux >= 65edfda6f3f2e58f757485a056e4f1775a1404a8, < ab6209f4b48a98ef14d6766acdb62aa9bb32e670; >= 65edfda6f3f2e58f757485a056e4f1775a1404a8, < f84ca9b1888d8fce7dfefe0e750fa971f8797486; Linux 6.19
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-68163 being exploited?

There is no confirmed exploitation: CVE-2026-68163 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-68163?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-68163?

Linux \>= 65edfda6f3f2e58f757485a056e4f1775a1404a8, \< ab6209f4b48a98ef14d6766acdb62aa9bb32e670; \>= 65edfda6f3f2e58f757485a056e4f1775a1404a8, \< f84ca9b1888d8fce7dfefe0e750fa971f8797486; Linux 6.19.

### Is there a fix for CVE-2026-68163?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-68163?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/ab6209f4b48a98ef14d6766acdb62aa9bb32e670>
- other: <https://git.kernel.org/stable/c/f84ca9b1888d8fce7dfefe0e750fa971f8797486>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-68163>

HTML: <https://flawdb.com/CVE-2026-68163> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-68163>
