CVE-2022-42328
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-42328 is a vulnerability discovered in the Linux kernel's Xen network backend driver (xen-netback). The issue was introduced by a patch for XSA-392, which could result in a deadlock when trying to free the SKB (socket buffer) of a packet dropped due to the XSA-392 handling. The vulnerability was reported by Yang Yingliang and was disclosed in December 2022 (XEN Advisory).

Technical details

The vulnerability stems from the improper use of the kfreeskb() function within the Linux netback driver. The issue occurs because kfreeskb() was called from hardware interrupt context or with interrupts being disabled, which is not allowed. The fix involved removing kfreeskb() from the spinlockirqsave() section and using the existing "drop" label in xenvifstartxmit() for dropping the SKB. Additionally, devkfreeskb() was replaced with devkfreeskbany() since xenvifstartxmit() can be called with disabled interrupts (OSS Security).

Impact

A malicious guest could exploit this vulnerability to cause a Denial of Service (DoS) condition on the host system via the paravirtualized network interface. The issue affects all systems using the Linux kernel-based network backend xen-netback (XEN Advisory).

Mitigation and workarounds

Several mitigation options are available: 1) Using another PV network backend (e.g., the qemu based "qnic" backend), 2) Using a dedicated network driver domain per guest, 3) Applying the security patches released for affected systems. Multiple Linux distributions have released fixes, including Ubuntu and Debian. For Ubuntu, fixes were released for various versions including 22.10, 22.04 LTS, 20.04 LTS, and 18.04 LTS (Ubuntu Security, Debian LTS).

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-40343MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-iot
NoYesDec 09, 2025
CVE-2025-40342MEDIUM6.4
  • Linux KernelLinux Kernel
  • kernel-rt-devel-matched
NoYesDec 09, 2025
CVE-2025-40340MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-hwe
NoYesDec 09, 2025
CVE-2025-40341MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-core
NoYesDec 09, 2025
CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • libperf-devel
NoYesDec 09, 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