CVE-2022-49973
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-49973 is a NULL pointer dereference vulnerability in the Linux kernel's skmsg (socket message) handling subsystem, specifically in the sk_msg_recvmsg() function. The flaw stems from an incorrect last scatter-gather (sg) list check introduced by a prior fix (commit 9974d37ea75f), which broke the sockmap redirection path that does not use stream_parser/stream_verdict/skb_verdict. Affected kernel versions include 5.15.61–5.15.66, 5.18.18–5.19, 5.19.2–5.19.8, and 6.0-rc1 through 6.0-rc3. It carries a CVSS v3.1 base score of 5.5 (Medium) (Feedly).

Technical details

The root cause is a NULL pointer dereference (CWE-476) in sk_msg_recvmsg() within the Linux kernel's BPF sockmap path. A prior commit changed the end-of-scatterlist check to use sg_is_last(), but functions such as sk_msg_alloc(), sk_msg_page_add(), and bpf_msg_push_data() do not mark the end of the scatterlist in the conventional way — they rely on sg.end for boundary judgment. In the sockmap redirection case (without stream_parser/stream_verdict/skb_verdict), this causes a kernel NULL pointer dereference during __tcp_bpf_recvmsg() when processing received socket messages. The fix restores the (i != msg_rx->sg.end) boundary check. Exploitation requires local access with low privileges to trigger the faulty code path (Feedly, Kernel Patch).

Impact

Successful exploitation allows a local, low-privileged attacker to trigger a kernel NULL pointer dereference, potentially causing a kernel panic or system crash, resulting in a denial of service. There is no confidentiality or integrity impact — the vulnerability is limited to availability. Systems using BPF sockmap redirection without stream_parser/stream_verdict/skb_verdict are specifically at risk (Feedly).

Exploitability

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation as of the time of publication. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.017%, reflecting very low likelihood of exploitation in the near term. Exploitation requires local access with low privileges, further limiting the practical attack surface (Feedly).

Mitigation and workarounds

Kernel patches are available via the official Linux stable tree. Users should update to kernel versions 5.15.66 or later (for the 5.15.x branch), 5.19.8 or later (for the 5.19.x branch), or a stable release beyond 6.0-rc3. Patches are available at the official kernel git repository. Distribution-specific updates (e.g., from Red Hat, Ubuntu, Debian) should be applied as they become available. As a workaround, limiting local user access and avoiding BPF sockmap configurations without stream_parser/stream_verdict/skb_verdict can reduce exposure (Kernel Patch, Feedly).

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-2026-68480NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug-devel-matched
NoYesAug 06, 2026
CVE-2026-64582NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-zfcpdump-modules-extra
NoYesAug 05, 2026
CVE-2026-64579NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-modules-internal
NoYesAug 05, 2026
CVE-2026-64576NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt
NoYesAug 05, 2026
CVE-2026-64575NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.17
NoYesAug 05, 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