CVE Database›Document archive›CVE-2022-50661

CVE-2022-50661

kernel: seccomp: Move copy_seccomp() to no failure path

Loading…

Severity

Low

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · December 9, 2025

Updated · June 30, 2026

Description

A memory leak flaw was found in the Linux kernel's seccomp subsystem. When a process using seccomp filters is interrupted by a fatal signal during clone(), the seccomp_filter structure and associated BPF program memory are not properly freed. This occurs because copy_seccomp() is called before the fatal_signal_pending() check, leaving allocated resources unreleased on the error path.

Statement

Triggering this leak requires precise timing between signal delivery and clone() execution. While repeated exploitation could lead to memory exhaustion, practical impact is limited.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CWE-911 · Improper Update of Reference Count