CVE Database›CVE-2022-50855

CVE-2022-50855

kernel: bpf: prevent leak of lsm program after failed attach

Loading…

Severity

Low

Red Hat Product Security

3.3

CVSS 3.1

Review impact separately from score.

Published · December 30, 2025

Updated · June 30, 2026

Description

A reference count leak was found in the BPF subsystem. When attaching a BPF LSM program to a cgroup fails validation, the program's reference count is not decremented, causing the BPF program to remain loaded indefinitely.

Statement

This requires CAP_BPF or CAP_SYS_ADMIN to trigger, as loading BPF programs is a privileged operation. The leak accumulates memory over repeated failed attach attempts but does not provide privilege escalation.

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 · 3.3
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

CWE-911 · Improper Update of Reference Count