Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2022-49697

5.5 · MEDIUM
Published Feb 26, 2025 linux CWE-401 EPSS 0.27% (19th pctl)

Overview

CVE-2022-49697 is a medium-severity vulnerability affecting linux linux_kernel. It was published on February 26, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

In the Linux kernel, the following vulnerability has been resolved:

bpf: Fix request_sock leak in sk lookup helpers

A customer reported a request_socket leak in a Calico cloud environment. We

found that a BPF program was doing a socket lookup with takes a refcnt on

the socket and that it was finding the request_socket but returning the parent

LISTEN socket via sk_to_full_sk() without decrementing the child request socket

1st, resulting in request_sock slab object leak. This patch retains the

existing behaviour of returning full socks to the caller but it also decrements

the child request_socket if one is present before doing so to prevent the leak.

Thanks to Curtis Taylor for all the help in diagnosing and testing this. And

thanks to Antoine Tenart for the reproducer and patch input.

v2 of this patch contains, refactor as per Daniel Borkmann's suggestions to

validate RCU flags on the listen socket so that it balances with bpf_sk_release()

and update comments as per Martin KaFai Lau

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 5.2, < 5.4.202 Affected

Frequently Asked Questions

What is CVE-2022-49697?

CVE-2022-49697 is a medium-severity vulnerability affecting linux linux_kernel. It was published on February 26, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2022-49697?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2022-49697?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2022-49697?

CyberStrike's AI-powered security agents can automatically detect CVE-2022-49697 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.