CVE-2022-50575 Details
Description
In the Linux kernel, the following vulnerability has been resolved: xen/privcmd: Fix a possible warning in privcmd_ioctl_mmap_resource() As 'kdata.num' is user-controlled data, if user tries to allocate memory larger than(>=) MAX_ORDER, then kcalloc() will fail, it creates a stack trace and messes up dmesg with a warning. Call trace: -> privcmd_ioctl --> privcmd_ioctl_mmap_resource Add __GFP_NOWARN in order to avoid too large allocation warning. This is detected by static analysis using smatch.
A vulnerability in the Linux kernel's handling of user-controlled data in the Xen privileged command IOCTL can lead to improper memory allocation. If a user attempts to allocate memory larger than or equal to the maximum order, the allocation will fail, generating a warning that disrupts the system log. This issue arises in the 'privcmd_ioctl_mmap_resource' function, where the 'kdata.num' variable is user-controlled. The vulnerability has been addressed by modifying the memory allocation function to include a flag that suppresses warnings about large allocations.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for downloading the latest kernel version can be found on the official Linux kernel website.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 22, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/0bf874183b32eae2cc20e3c5be38ec3d33e7e564 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/46026bb057c35f5bb111bf95e00cd8366d2e34d4 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/4da411086f5ab32f811a89ef804980ec106ebb65 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/4f983ee5e5de924d93a7bbb4e6f68f38c6256cd5 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/5d68ae32d132ea2af73bc223fd64c46f85302a8b | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/8b997b2bb2c53b76a6db6c195930e9ab8e4b0c79 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/e0c5f1058ed96f2b7487560c4c4cbd768d13d065 | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Oct 22, 2025 | New CVE Received | kernel.org |
Volerion