Local kernel crash via NULL page unlock
Published Jun 18, 2025 · Updated May 11, 2026
NULL pointer dereference in the Xen privcmd driver in Linux allows local users to crash the kernel through a device-model ioctl. The privcmd_ioctl_dm_op error path passes a potentially NULL pages array to unlock_pages, while lock_pages accepts partial pin_user_pages_fast results without verifying that every requested page was pinned. Low-privileged local access and a Xen-enabled kernel are required; successful triggering interrupts the host by crashing its kernel.
Summary
What happened
NULL pointer dereference in the Xen privcmd driver in Linux allows local users to crash the kernel through a device-model ioctl. The privcmd_ioctl_dm_op error path passes a potentially NULL pages array to unlock_pages, while lock_pages accepts partial pin_user_pages_fast results without verifying that every requested page was pinned. Low-privileged local access and a Xen-enabled kernel are required; successful triggering interrupts the host by crashing its kernel.
The record
- CVE
- CVE-2022-49989
- Published
- Jun 18, 2025
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-476, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jun 18, 2025CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=4.11
- Affected versionversion=ab520be8cd5d56867fc95cfbc34b90880faf1f9d <45d47bd9b96e7874b98dbcc7602fe2826c5d62a6
- Affected versionversion=ab520be8cd5d56867fc95cfbc34b90880faf1f9d <6de50db104af0dc921f593fd95c55db86a52ceef
- Affected versionversion=ab520be8cd5d56867fc95cfbc34b90880faf1f9d <c2b7bae7c90051fd6a679d5dee00400d67ebbf4a
- Affected versionversion=ab520be8cd5d56867fc95cfbc34b90880faf1f9d <c5deb27895e017a0267de0a20d140ad5fcc55a54
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo