CVE-2022-50862
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-50862 is a vulnerability in the Linux kernel's BPF (Berkeley Packet Filter) subsystem, specifically in the BTF (BPF Type Format) handling code. The flaw allows a decl_tag type to be improperly referenced in a func_proto, triggering a kernel WARNING in btf_type_id_size() at kernel/bpf/btf.c:1946. It was discovered via Syzkaller fuzzing and published on December 30, 2025. The affected component is the Linux kernel's BPF subsystem, and the vulnerability carries a CVSS category estimate of Medium with an EPSS score of 0.000180 (Feedly).

Technical details

The root cause is improper input validation in the Linux kernel's BTF subsystem (CWE-20), where a decl_tag BTF type is not prevented from being used as a reference within a func_proto type definition. When such a malformed BTF blob is submitted (e.g., via the bpf() syscall), the kernel's btf_type_id_size() function encounters an unexpected type and triggers a WARN_ON, potentially causing a kernel warning or instability. The fix involves adding an explicit check to reject decl_tag types when they appear in func_proto parameter or return type positions. Patches are referenced in the Linux stable kernel tree at commits e9dbb4c539d0 and ea68376c8bed (Feedly).

Impact

Exploitation of this vulnerability by a local user with access to the bpf() syscall could trigger a kernel WARNING, potentially leading to system instability or denial of service. The impact is primarily on availability, as the kernel warning in btf_type_id_size() may disrupt BPF operations or cause unexpected kernel behavior. Confidentiality and integrity impacts are considered low, as the vulnerability does not appear to enable direct data exfiltration or privilege escalation based on available information (Feedly).

Mitigation and workarounds

Apply the upstream Linux kernel patches that add validation to prevent decl_tag types from being referenced in func_proto definitions. The fixes are available in the Linux stable kernel tree (commits e9dbb4c539d058852b76937dcd7347d3f38054f2 and ea68376c8bed5cd156900852aada20c3a0874d17). Linux distribution vendors (e.g., Red Hat, Ubuntu, SUSE) should be monitored for backported patches. As a workaround, restricting unprivileged access to the bpf() syscall via kernel.unprivileged_bpf_disabled=1 sysctl setting reduces the attack surface (Feedly).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-64557NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-selftests-internal
NoNoJul 29, 2026
CVE-2026-64556NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-devel
NoNoJul 29, 2026
CVE-2026-64555NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoNoJul 27, 2026
CVE-2026-64554NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.14
NoYesJul 27, 2026
CVE-2026-64553NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-internal
NoYesJul 27, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management