PT-2025-25916 · Linux+3 · Linux Kernel+3

Published

2022-08-25

·

Updated

2025-07-28

·

CVE-2022-49990

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description A double free vulnerability in the Linux kernel on s390 architecture occurs when the fork() system call fails after the initial task duplication and before the copy thread() function is called. This results in the freeing of the guarded storage and runtime instrumentation control blocks twice, leading to potential issues such as a BUG ON() in set freepointer() or a KASAN splat when running trinity syscall fuzz tests on s390x. The problem arises because the pointers for these blocks are stored in the thread struct of the associated task and are not properly cleared in case of a fork() failure.
Recommendations To resolve this issue, clear the associated pointer fields in arch dup task struct() immediately after the new task is copied. Note that the RI flag is still cleared in copy thread() because it resides in thread stack memory. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Buffer Overflow

Double Free

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2026-03133
CVE-2022-49990
RHSA-2023:2458
RHSA-2023_2458
SUSE-SU-2025:02264-1
SUSE-SU-2025:02308-1
SUSE-SU-2025:02320-1
SUSE-SU-2025:02321-1
SUSE-SU-2025:02322-1
SUSE-SU-2025:02334-1
SUSE-SU-2025:02537-1
SUSE-SU-2025:2264-1
SUSE-SU-2025_02264-1
SUSE-SU-2025_02308-1
SUSE-SU-2025_02334-1
SUSE-SU-2025_02537-1

Affected Products

Astra Linux
Linux Kernel
Red Hat
Suse