CVE-2022-50650
kernel: bpf: Fix reference state management for synchronous callbacks
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · December 9, 2025
Updated · August 5, 2026
Description
A flaw was found in the Linux kernel's BPF verifier. The verifier incorrectly handles reference state management for synchronous callbacks that execute multiple times (for_each style helpers). This can lead to reference leaks when callbacks acquire references, or double-free conditions when callbacks release caller-owned references multiple times, potentially causing memory corruption or denial of service.
Statement
This flaw requires the ability to load BPF programs, which is typically restricted to privileged users or those with CAP_BPF capability. The impact is limited to denial of service through resource exhaustion.
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.5CVSS: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