CVE-2022-49989
Last modified
CVE-2022-49989 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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.. EPSS estimates a 0.20% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 4.11, < 5.10.140 | — |
| Linux | Linux Kernel | >= 5.11, < 5.15.64 | — |
| Linux | Linux Kernel | >= 5.16, < 5.19.6 | — |
| Linux | Linux Kernel | 6.0 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2022-49989?
How severe is CVE-2022-49989?
How do I fix CVE-2022-49989?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-49983In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49984In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49985In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2022-49986In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49987In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49988Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2022-49990In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-49991In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49992In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49993In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49994In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49995In the Linux kernel, the following vulnerability has been re…7.8
Are you affected by CVE-2022-49989?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
