CVE-2022-49925
Linux Kernel vulnerability analysis and mitigation

Overview

A null pointer dereference vulnerability (CVE-2022-49925) was discovered in the Linux kernel's RDMA/core subsystem, specifically in the ibcorecleanup() function. The vulnerability was publicly disclosed in May 2025 and affects Linux kernel versions from 5.5 up to versions before 5.10.154, from 5.11 up to versions before 5.15.78, and from 5.16 onwards (NVD).

Technical details

The vulnerability occurs when the rocegidmgmtinit() function fails to allocate the workqueue (gidcachewq), but this failure is ignored in the initialization process. Subsequently, when ibcore_cleanup() attempts to destroy the unallocated workqueue, it results in a null pointer dereference. This was confirmed through KASAN (Kernel Address Sanitizer) which reported the null-ptr-deref error in the range [0x0000000000000118-0x000000000000011f]. The vulnerability has been assigned 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 (NVD, Debian Tracker).

Impact

The vulnerability affects the Linux kernel's RDMA (Remote Direct Memory Access) core functionality. When triggered, it can cause a kernel crash, potentially leading to denial of service conditions on affected systems (Wiz).

Mitigation and workarounds

The vulnerability has been fixed by implementing proper error handling to catch the failure of rocegidmgmtinit() in ibcore_init(). Multiple Linux distributions have released patched versions, including Debian which has fixed versions available in bullseye (5.10.234-1), bookworm (6.1.135-1), trixie (6.12.25-1), and sid (6.12.27-1) (Debian Tracker).

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