CVE-2022-49877
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-49877 affects the Linux kernel's BPF sockmap implementation. The vulnerability was discovered and published to the CVE List on May 1, 2025. The issue specifically relates to a warning that appears in the sk->sk_forward_alloc of sk_stream_kill_queues when running test_sockmap selftests (NVD CVE, Wiz Report).

Technical details

The vulnerability stems from a root cause in commit 84472b436e76 ("bpf, sockmap: Fix more uncharged while msg has more_data"), where msg->sg.size was used to replace the tosend variable, causing breakage in the code logic: if (msg->apply_bytes && msg->apply_bytes < tosend) tosend = psock->apply_bytes;. This implementation error triggers a warning in the kernel's networking subsystem during specific sockmap operations. The vulnerability has been assigned a CVSS v3.1 Base Score of 5.5 with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (Red Hat XML).

Impact

The vulnerability affects the Linux kernel's networking subsystem, specifically impacting the BPF sockmap functionality. When exploited, it can trigger warnings in the sk_stream_kill_queues process, potentially affecting system stability (NVD CVE).

Mitigation and workarounds

Red Hat has marked this vulnerability as 'Fix deferred' for Red Hat Enterprise Linux 9 and kernel-rt packages. Various Linux distributions have implemented or are in the process of implementing patches to address this vulnerability (Red Hat XML).

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
  • bpftool
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • linux-azure-nvidia-6.14
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • linux-oracle-6.14
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-devel
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-debug-devel
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