5.5

CVE-2022-49989: xen/privcmd: fix error exit of privcmd_ioctl_dm_op()

Analyzed
AliasesUBUNTU-CVE-2022-49989DEBIAN-CVE-2022-49989
Published 18-06-2025Last modified 11-05-2026

Vulnerability summary

CVE-2022-49989 is a medium (CVSS 5.5) NULL Pointer Dereference vulnerability in linux. EPSS estimates a 0.25% chance of exploitation in the next 30 days, higher than 16.7% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.25%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 6 · Related 6

Timeline

  1. 18-06-2025
    PublishedVulnerability first disclosed.
  2. 11-05-2026
    Last modifiedVulnerability information updated.

Description

In the Linux kernel, the following vulnerability has been resolved: xen/privcmd: fix error exit of privcmd_ioctl_dm_op() The error exit of privcmd_ioctl_dm_op() is calling unlock_pages() potentially with pages being NULL, leading to a NULL dereference. Additionally lock_pages() doesn't check for pin_user_pages_fast() having been completely successful, resulting in potentially not locking all pages into memory. This could result in sporadic failures when using the related memory in user mode. Fix all of that by calling unlock_pages() always with the real number of pinned pages, which will be zero in case pages being NULL, and by checking the number of pages pinned by pin_user_pages_fast() matching the expected number of pages.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.25%

Chance of exploitation in the next 30 days

Percentile

17%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 0.24% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu111 products
  • linuxAll versions (No fix recorded) | < 5.15.0-53.59
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 5.15.0-1023.27
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ ab520be8cd5d56867fc95cfbc34b90880faf1f9d, < 6de50db104af0dc921f593fd95c55db86a52ceef | ≥ ab520be8cd5d56867fc95cfbc34b90880faf1f9d, < c2b7bae7c90051fd6a679d5dee00400d67ebbf4a | ≥ ab520be8cd5d56867fc95cfbc34b90880faf1f9d, < 45d47bd9b96e7874b98dbcc7602fe2826c5d62a6 | ≥ ab520be8cd5d56867fc95cfbc34b90880faf1f9d, < c5deb27895e017a0267de0a20d140ad5fcc55a54 | 4.11
  • linux_kernel≥ 4.11, < 5.10.140 | ≥ 5.11, < 5.15.64 | ≥ 5.16, < 5.19.6 | 6.0:rc1 | 6.0:rc2
Debian1 product
  • linux< 6.0.2-1

3 vendors · 114 products

References

7 links