CVE-2022-49970
Linux Kernel vulnerability analysis and mitigation

Overview

A vulnerability (CVE-2022-49970) was identified in the Linux kernel's BPF and cgroup subsystems, specifically related to a kernel BUG in the purgeeffectiveprogs function. The issue was discovered through Syzkaller testing and affects the stability of Linux kernel systems (NVD).

Technical details

The vulnerability manifests as a kernel BUG at kernel/bpf/cgroup.c:925 when specific conditions are met in the cgroup BPF functionality. The issue occurs during the detachment of BPF programs from cgroups, specifically in the _cgroupbpf_detach function. The bug is triggered when dealing with multiple BPF programs attached to different cgroup layers with certain attachment types (NVD).

Impact

When triggered, this vulnerability causes a kernel BUG, which results in a system crash. This affects the stability and availability of the system running the vulnerable Linux kernel version (NVD).

Mitigation and workarounds

The vulnerability has been fixed in the Linux kernel through patches that modify the behavior of the purgeeffectiveprogs function to properly handle cases where no matching programs are found (NVD).

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-2025-40343MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-iot
NoYesDec 09, 2025
CVE-2025-40342MEDIUM6.4
  • Linux KernelLinux Kernel
  • kernel-rt-devel-matched
NoYesDec 09, 2025
CVE-2025-40340MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-hwe
NoYesDec 09, 2025
CVE-2025-40341MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-core
NoYesDec 09, 2025
CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • libperf-devel
NoYesDec 09, 2025

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