CVE-2022-48651
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-48651 is a vulnerability in the Linux kernel's ipvlan driver that was discovered and disclosed on April 28, 2024. The vulnerability affects the ipvlan network driver when using AFPACKET sockets with specific configurations. When an AFPACKET socket's default xmit function is changed from devqueuexmit() to packetdirectxmit() via setsockopt() with PACKETQDISCBYPASS option, the skb->mac_header may remain unset with an initial value of 65535, potentially leading to slab-out-of-bounds bugs (Kernel Git).

Technical details

The vulnerability stems from two main issues in the packet handling process: 1) packetsnd() only resets skb->macheader when sock->type is SOCKRAW and skb->protocol is not specified in packetparseheaders(), and 2) packetdirectxmit() doesn't reset skb->macheader like devqueuexmit() does. When ipvlanxmitmodel2() is called with skb->macheader set to 65535, an out-of-bound access occurs when attempting to get the mac header using ethhdr() which uses 'skb->head + skb->macheader' (NVD).

Impact

The vulnerability can lead to slab-out-of-bounds read access in the Linux kernel's ipvlan driver. This could potentially result in information disclosure or system instability. The CVSS v3.1 base score is 7.7 (High), with the vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H, indicating local access required but no privileges or user interaction needed (NVD).

Mitigation and workarounds

The vulnerability has been patched by replacing ethhdr() with skbethhdr() in ipvlanxmitmodel2() and resetting mac header in multicast scenarios. The fix was implemented in the Linux kernel through commit 81225b2ea161af48e093f58e8dfee6d705b16af4 (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-39732N/AN/A
  • Linux KernelLinux Kernel
  • kernel-core
NoYesSep 07, 2025
CVE-2025-39730N/AN/A
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-modules-core
NoYesSep 07, 2025
CVE-2025-39727N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug
NoYesSep 07, 2025
CVE-2025-39726N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-uki-virt
NoYesSep 05, 2025
CVE-2025-39725N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-devel
NoYesSep 05, 2025

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