CVE-2022-49625
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-49625 affects the Linux kernel's sfc driver, specifically when creating Virtual Functions (VFs). The vulnerability was discovered when a kernel panic occurs during the execution of efxef10tryupdatenicstatsvf function. This issue arises when releasing a DMA coherent buffer with Bottom Halves (BH) disabled, which is not allowed in IRQ context (Kernel Commit).

Technical details

The vulnerability occurs in the sfc driver's ef10.c file. When releasing a DMA coherent buffer, under certain circumstances, it needs to unmap memory with vunmap. However, this operation is disallowed in IRQ context or with BH disabled. The issue triggers a BUGON(ininterrupt()) check in vunmap, causing a kernel panic. The bug was introduced by commit d778819609a2 'sfc: DMA the VF stats only when requested' (Kernel Commit).

Impact

When exploited, this vulnerability causes a kernel panic, leading to system instability and potential denial of service. The issue specifically affects systems using the sfc network driver when attempting to create Virtual Functions (Kernel Commit).

Mitigation and workarounds

The fix involves re-enabling BH before releasing the buffer and re-acquiring it afterward. This is implemented by adding spinunlockbh() before calling efxnicfreebuffer() and spinlock_bh() after it. The patch has been merged into the Linux kernel (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-40258HIGH7
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-devel-matched
NoNoDec 04, 2025
CVE-2025-40259MEDIUM6.2
  • Linux KernelLinux Kernel
  • kernel-64k-devel
NoNoDec 04, 2025
CVE-2025-40264MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-kvm
NoNoDec 04, 2025
CVE-2025-40254MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-modules-partner
NoNoDec 04, 2025
CVE-2025-40253MEDIUM5.5
  • Linux KernelLinux Kernel
  • python3-perf
NoNoDec 04, 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