CVE-2022-49837
Linux Kernel vulnerability analysis and mitigation

Overview

A memory leak vulnerability (CVE-2022-49837) was identified in the Linux kernel's BPF subsystem, specifically in the _checkfunc_call function. The vulnerability was discovered when kmemleak reported an unreferenced object of size 2048 bytes. This issue affects Linux kernel versions from 4.2 up to 6.0.10, as well as versions 6.1-rc1 through 6.1-rc5 (NVD).

Technical details

The vulnerability stems from a memory management issue in the BPF subsystem where the callee is not properly released in abnormal scenarios. The issue occurs in two functions: preparefuncexit() where the callee is not released after state->curframe--, and _checkfunccall() where the callee should be released by freefunc_state() in abnormal scenarios before state->curframe++. The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (MEDIUM) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD, Wiz).

Impact

The vulnerability results in memory leaks in the Linux kernel's BPF subsystem, which could potentially lead to resource exhaustion over time (Wiz).

Mitigation and workarounds

The vulnerability has been fixed in various Linux distributions. Debian has addressed this in version 6.1.129-1 for bookworm and 6.12.22-1 for trixie releases. Ubuntu 20.04 and 22.04 have received fixes, while Red Hat has deferred fixes for Red Hat Enterprise Linux 9 (Wiz, Debian).

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-40205HIGH7.8
  • Linux KernelLinux Kernel
  • linux-gcp-5.4
NoYesNov 12, 2025
CVE-2025-40211HIGH7.1
  • Linux KernelLinux Kernel
  • linux-gcp-6.8
NoYesNov 21, 2025
CVE-2025-40206MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-modules-extra
NoYesNov 12, 2025
CVE-2025-40210MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-rt-64k-modules
NoYesNov 21, 2025
CVE-2025-40212N/AN/A
  • Linux KernelLinux Kernel
  • linux-azure-6.14
NoYesNov 24, 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