CVE-2022-50575

Linux Kernel - Denial of Service via Large Memory Allocation in privcmd_ioctl_mmap_resource

Title source: llm
STIX 2.1

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.

Scores

EPSS 0.0021
EPSS Percentile 10.7%

Details

Status published
Products (22)
linux/Kernel 4.18.0 - 4.19.270linux
linux/Kernel 4.20.0 - 5.4.229linux
linux/Kernel 5.11.0 - 5.15.86linux
linux/Kernel 5.16.0 - 6.0.16linux
linux/Kernel 5.5.0 - 5.10.163linux
linux/Kernel 6.1.0 - 6.1.2linux
Linux/Linux < 4.18
Linux/Linux 3ad0876554cafa368f574d4d408468510543e9ff - 0bf874183b32eae2cc20e3c5be38ec3d33e7e564
Linux/Linux 3ad0876554cafa368f574d4d408468510543e9ff - 46026bb057c35f5bb111bf95e00cd8366d2e34d4
Linux/Linux 3ad0876554cafa368f574d4d408468510543e9ff - 4da411086f5ab32f811a89ef804980ec106ebb65
... and 12 more
Published Oct 22, 2025
Tracked Since Feb 18, 2026