Menu

Star on GitHub · 3.2k

CVE-2022-49990

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: s390: fix double free of GS and RI CBs on fork() failure The pointers for guarded storage and runtime instrumentation control b…

Published Jun 18, 2025CWE-415EPSS 0.26%

Overview

CVE-2022-49990 is a high-severity vulnerability. It was published on June 18, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. 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:

s390: fix double free of GS and RI CBs on fork() failure

The pointers for guarded storage and runtime instrumentation control

blocks are stored in the thread_struct of the associated task. These

pointers are initially copied on fork() via arch_dup_task_struct()

and then cleared via copy_thread() before fork() returns. If fork()

happens to fail after the initial task dup and before copy_thread(),

the newly allocated task and associated thread_struct memory are

freed via free_task() -> arch_release_task_struct(). This results in

a double free of the guarded storage and runtime info structs

because the fields in the failed task still refer to memory

associated with the source task.

This problem can manifest as a BUG_ON() in set_freepointer() (with

CONFIG_SLAB_FREELIST_HARDENED enabled) or KASAN splat (if enabled)

when running trinity syscall fuzz tests on s390x. To avoid this

problem, clear the associated pointer field

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-49990?

CVE-2022-49990 is a high-severity vulnerability. It was published on June 18, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2022-49990?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. 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-49990?

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-49990?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2022-49990 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 HIGH CVEs from 2022

View all