CVE-2022-48825
Linux Kernel vulnerability analysis and mitigation

Overview

In the Linux kernel, a vulnerability (CVE-2022-48825) was discovered affecting the SCSI qedf driver. The issue occurs when creating NPIV ports, where only 32 out of 64 ports show online due to uninitialized stag_work for vports. This vulnerability was disclosed on July 16, 2024 (NVD).

Technical details

The vulnerability manifests as a call trace when creating NPIV ports, specifically in the qedf driver's vport creation functionality. The issue occurs because the stagwork was not properly initialized for vports, leading to a warning at kernel/workqueue.c:1635 in the _queuedelayedwork function. The problem was identified on Dell PowerEdge MX740c hardware running kernel version 4.18.0-348.el8.x86_64 (Kernel Commit).

Impact

The vulnerability affects the functionality of NPIV (N_Port ID Virtualization) ports in the Linux kernel's SCSI subsystem, specifically causing only half of the expected ports (32 out of 64) to show as online. This impacts the system's ability to properly handle virtual Fibre Channel ports (Kernel Commit).

Mitigation and workarounds

The vulnerability has been resolved by initializing stagwork for all vports. The fix involves adding INITDELAYEDWORK(&vportqedf->stagwork, qedfstagchangework) to properly initialize the stag work structure for each vport during creation (Kernel Commit).

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-40344N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-modules-internal
NoYesDec 09, 2025
CVE-2025-40343N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel
NoYesDec 09, 2025
CVE-2025-40342N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel-matched
NoYesDec 09, 2025
CVE-2025-40341N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-modules-extra
NoYesDec 09, 2025
CVE-2025-40340N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-kvm
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