HomeDefectsLIN1025-1808
Acknowledged

LIN1025-1808 : Security Advisory - linux - CVE-2022-49990

Created: Jun 18, 2025    Updated: Sep 4, 2026
Resolved Date: Jun 19, 2025
Found In Version: 10.25.33.1
Severity: Standard
Applicable for: Wind River Linux LTS 25
Component/s: Kernel

Description

In the Linux kernel, the following vulnerability has been resolved:EOL][EOL]s390: fix double free of GS and RI CBs on fork() failure[EOL][EOL]The pointers for guarded storage and runtime instrumentation control[EOL]blocks are stored in the thread_struct of the associated task. These[EOL]pointers are initially copied on fork() via arch_dup_task_struct()[EOL]and then cleared via copy_thread() before fork() returns. If fork()[EOL]happens to fail after the initial task dup and before copy_thread(),[EOL]the newly allocated task and associated thread_struct memory are[EOL]freed via free_task() -> arch_release_task_struct(). This results in[EOL]a double free of the guarded storage and runtime info structs[EOL]because the fields in the failed task still refer to memory[EOL]associated with the source task.[EOL][EOL]This problem can manifest as a BUG_ON() in set_freepointer() (with[EOL]CONFIG_SLAB_FREELIST_HARDENED enabled) or KASAN splat (if enabled)[EOL]when running trinity syscall fuzz tests on s390x. To avoid this[EOL]problem, clear the associated pointer fields in[EOL]arch_dup_task_struct() immediately after the new task is copied.[EOL]Note that the RI flag is still cleared in copy_thread() because it[EOL]resides in thread stack memory and that is where stack info is[EOL]copied.

CREATE(Triage):(User=lchen-cn) [CVE-2022-49990 (https://nvd.nist.gov/vuln/detail/CVE-2022-49990)