Linux Kernel up to 6.12.45/6.16.5 userfaultfd move_pages_pte privilege escalation

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
5.4$0-$5k0.00

Summaryinfo

A vulnerability described as critical has been identified in Linux Kernel up to 6.12.45/6.16.5. The affected element is the function move_pages_pte of the component userfaultfd. Executing a manipulation can lead to an unknown weakness. The identification of this vulnerability is CVE-2025-39899. There is no exploit available. Upgrading the affected component is recommended.

Detailsinfo

A vulnerability was found in Linux Kernel up to 6.12.45/6.16.5. It has been declared as critical. This vulnerability affects the function move_pages_pte of the component userfaultfd. The impact remains unknown. CVE summarizes:

In the Linux kernel, the following vulnerability has been resolved: mm/userfaultfd: fix kmap_local LIFO ordering for CONFIG_HIGHPTE With CONFIG_HIGHPTE on 32-bit ARM, move_pages_pte() maps PTE pages using kmap_local_page(), which requires unmapping in Last-In-First-Out order. The current code maps dst_pte first, then src_pte, but unmaps them in the same order (dst_pte, src_pte), violating the LIFO requirement. This causes the warning in kunmap_local_indexed(): WARNING: CPU: 0 PID: 604 at mm/highmem.c:622 kunmap_local_indexed+0x178/0x17c addr \!= __fix_to_virt(FIX_KMAP_BEGIN + idx) Fix this by reversing the unmap order to respect LIFO ordering. This issue follows the same pattern as similar fixes: - commit eca6828403b8 ("crypto: skcipher - fix mismatch between mapping and unmapping order") - commit 8cf57c6df818 ("nilfs2: eliminate staggered calls to kunmap in nilfs_rename") Both of which addressed the same fundamental requirement that kmap_local operations must follow LIFO ordering.

The advisory is shared for download at git.kernel.org. This vulnerability was named CVE-2025-39899 since 04/16/2025. The exploitation appears to be easy. There are known technical details, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 269684 (Linux Distros Unpatched Vulnerability : CVE-2025-39899), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 6.12.46 or 6.16.6 eliminates this vulnerability. Applying the patch b051f707018967ea8f697d790a1ed8c443f63812/bd1ee62759d0bd4d6b909731c076c230ac89d61e/9614d8bee66387501f48718fa306e17f2aa3f2f3 is able to eliminate this problem. The bugfix is ready for download at git.kernel.org. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the databases at Tenable (269684) and CERT Bund (WID-SEC-2025-2170). VulDB is the best source for vulnerability data and more expert information about this specific topic.

Affected

  • Debian Linux
  • Amazon Linux 2
  • Red Hat Enterprise Linux
  • Ubuntu Linux
  • SUSE Linux
  • Oracle Linux
  • SUSE openSUSE
  • RESF Rocky Linux
  • Open Source Linux Kernel
  • Dell Secure Connect Gateway

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.5
VulDB Meta Temp Score: 5.4

VulDB Base Score: 5.5
VulDB Temp Score: 5.3
VulDB Vector: 🔒
VulDB Reliability: 🔍

NVD Base Score: 5.5
NVD Vector: 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Privilege escalation
CWE: Unknown
CAPEC: 🔒
ATT&CK: 🔒

Physical: Partially
Local: Yes
Remote: Partially

Availability: 🔒
Status: Not defined

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 269684
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2025-39899

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: Kernel 6.12.46/6.16.6
Patch: b051f707018967ea8f697d790a1ed8c443f63812/bd1ee62759d0bd4d6b909731c076c230ac89d61e/9614d8bee66387501f48718fa306e17f2aa3f2f3

Timelineinfo

04/16/2025 CVE reserved
10/01/2025 +168 days Advisory disclosed
10/01/2025 +0 days VulDB entry created
01/07/2026 +98 days VulDB entry last update

Sourcesinfo

Vendor: kernel.org

Advisory: git.kernel.org
Status: Confirmed

CVE: CVE-2025-39899 (🔒)
GCVE (CVE): GCVE-0-2025-39899
GCVE (VulDB): GCVE-100-326464
CERT Bund: WID-SEC-2025-2170 - Linux Kernel: Mehrere Schwachstellen

Entryinfo

Created: 10/01/2025 09:52
Updated: 01/07/2026 08:50
Changes: 10/01/2025 09:52 (58), 10/01/2025 14:04 (7), 10/09/2025 12:39 (2), 11/17/2025 11:41 (1), 12/01/2025 16:40 (1), 12/12/2025 19:52 (10), 01/07/2026 08:50 (1)
Complete: 🔍
Cache ID: 216::103

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!