CVE-2022-50575
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.
How to fix
- Linux Linux5d68ae32d132ea2af73bc223fd64c46f85302a8b, 4f983ee5e5de924d93a7bbb4e6f68f38c6256cd5, 46026bb057c35f5bb111bf95e00cd8366d2e34d4, 0bf874183b32eae2cc20e3c5be38ec3d33e7e564, e0c5f1058ed96f2b7487560c4c4cbd768d13d065, 4da411086f5ab32f811a89ef804980ec106ebb65, 8b997b2bb2c53b76a6db6c195930e9ab8e4b0c79 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Linux Linux | 3ad0876554cafa368f574d4d408468510543e9ff ≤ v < 5d68ae32d132ea2af73bc223fd64c46f85302a8b, 3ad0876554cafa368f574d4d408468510543e9ff ≤ v < 4f983ee5e5de924d93a7bbb4e6f68f38c6256cd5, 3ad0876554cafa368f574d4d408468510543e9ff ≤ v < 46026bb057c35f5bb111bf95e00cd8366d2e34d4, 3ad0876554cafa368f574d4d408468510543e9ff ≤ v < 0bf874183b32eae2cc20e3c5be38ec3d33e7e564, 3ad0876554cafa368f574d4d408468510543e9ff ≤ v < e0c5f1058ed96f2b7487560c4c4cbd768d13d065, 3ad0876554cafa368f574d4d408468510543e9ff ≤ v < 4da411086f5ab32f811a89ef804980ec106ebb65, 3ad0876554cafa368f574d4d408468510543e9ff ≤ v < 8b997b2bb2c53b76a6db6c195930e9ab8e4b0c79, 4.18 | 5d68ae32d132ea2af73bc223fd64c46f85302a8b, 4f983ee5e5de924d93a7bbb4e6f68f38c6256cd5, 46026bb057c35f5bb111bf95e00cd8366d2e34d4, 0bf874183b32eae2cc20e3c5be38ec3d33e7e564, e0c5f1058ed96f2b7487560c4c4cbd768d13d065, 4da411086f5ab32f811a89ef804980ec106ebb65, 8b997b2bb2c53b76a6db6c195930e9ab8e4b0c79 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.