CVE-2022-48839
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-48839 is a vulnerability in the Linux kernel's network packet handling system, specifically in the net/packet subsystem. The vulnerability was discovered by syzbot and disclosed on July 16, 2024. It affects the packet_recvmsg() function when an AF_PACKET socket is using PACKET_COPY_THRESH and mmap operations, where tpacket_rcv() queues skbs with uninitialized data in skb->cb[], potentially leading to a slab-out-of-bounds access (Kernel Patch).

Technical details

The vulnerability is classified as an out-of-bounds read (CWE-125) with 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. The issue occurs when tpacket_rcv() queues skbs with garbage data in skb->cb[], which can trigger a too large memory copy operation. The vulnerability stems from a regression related to the commit that allowed for hardware addresses larger than 8 bytes (NVD Database).

Impact

The vulnerability can lead to a stack-out-of-bounds access in the packet_recvmsg() function, potentially causing system instability or denial of service. The issue affects local users who have access to create AF_PACKET sockets and use specific socket operations (NVD Database).

Exploitability

The vulnerability requires local access and can be triggered when using AF_PACKET sockets with specific configurations (PACKET_COPY_THRESH and mmap operations). The attack complexity is low, but it requires local user privileges to exploit (NVD Database).

Mitigation and workarounds

A fix has been implemented that clears 12 bytes that might be copied to user space later in the affected code path. The fix involves adding proper memory initialization in the tpacket_rcv() function and implementing size checks in packet_recvmsg(). The patch has been merged into the Linux kernel (Kernel Patch).

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-93189HIGH8.8
  • Linux Kernel logoLinux Kernel
  • linux-azure-fips
NoYesSep 17, 2026
CVE-2026-93188MEDIUM6.5
  • Linux Kernel logoLinux Kernel
  • linux-nvidia-tegra-5.15
NoYesSep 17, 2026
CVE-2026-93182NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-fips
NoYesSep 17, 2026
CVE-2026-93181NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-4.15
NoNoSep 17, 2026
CVE-2026-93174NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoYesSep 17, 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