CVE-2022-49697
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-49697 addresses a request_socket leak vulnerability in the Linux kernel's BPF (Berkeley Packet Filter) socket lookup helpers. The issue was discovered in a Calico cloud environment where a BPF program performing socket lookup operations would take a reference count on the socket but fail to properly decrement the child request socket before returning the parent LISTEN socket via sk_to_full_sk(), resulting in a request_sock slab object leak (Kernel Git).

Technical details

The vulnerability occurs in the socket lookup process where the BPF program takes a reference count (refcnt) on the socket. When finding a request_socket, it returns the parent LISTEN socket through sk_to_full_sk() without first decrementing the child request socket's reference count. The fix involves modifying the behavior to retain returning full socks to the caller while ensuring proper decrementing of the child request_socket when present. The patch also includes validation of RCU flags on the listen socket to balance with bpf_sk_release() (Red Hat). The CVSS v3.1 base score for this vulnerability is 5.5, indicating moderate severity (Red Hat).

Impact

The vulnerability results in a memory leak of request_sock slab objects in the Linux kernel. This can lead to resource exhaustion over time as socket resources are not properly freed, potentially affecting system stability and performance in cloud environments using Calico (Kernel Git).

Mitigation and workarounds

The fix has been implemented in the Linux kernel through a patch that properly decrements the child request_socket reference count before returning the parent LISTEN socket. The patch also includes additional safety checks for RCU flags on the listen socket. System administrators should update to a patched version of the Linux kernel to prevent the memory leak (Kernel Git).

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-71142N/AN/A
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-modules-core
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel-matched
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • kernel-doc
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-abi-stablelists
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-modules
NoYesJan 14, 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