Menu

Star on GitHub · 3.2k

CVE-2022-50159

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: of: check previous kernel's ima-kexec-buffer against memory bounds Presently ima_get_kexec_buffer() doesn't check if the previo…

Published Jun 18, 2025EPSS 0.19%

Overview

CVE-2022-50159 is a medium-severity vulnerability. It was published on June 18, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

of: check previous kernel's ima-kexec-buffer against memory bounds

Presently ima_get_kexec_buffer() doesn't check if the previous kernel's

ima-kexec-buffer lies outside the addressable memory range. This can result

in a kernel panic if the new kernel is booted with 'mem=X' arg and the

ima-kexec-buffer was allocated beyond that range by the previous kernel.

The panic is usually of the form below:

$ sudo kexec --initrd initrd vmlinux --append='mem=16G'

<snip>

BUG: Unable to handle kernel data access on read at 0xc000c01fff7f0000

Faulting instruction address: 0xc000000000837974

Oops: Kernel access of bad area, sig: 11 [#1]

<snip>

NIP [c000000000837974] ima_restore_measurement_list+0x94/0x6c0

LR [c00000000083b55c] ima_load_kexec_buffer+0xac/0x160

Call Trace:

[c00000000371fa80] [c00000000083b55c] ima_load_kexec_buffer+0xac/0x160

[c00000000371fb00] [c0000000020512c4] ima_init+0x80/0x108

[c00000000371fb70] [c0000

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2022-50159?

CVE-2022-50159 is a medium-severity vulnerability. It was published on June 18, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2022-50159?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2022-50159?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2022-50159?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2022-50159 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2022

View all