Menu

Star on GitHub · 3.2k

CVE-2022-49606

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: RDMA/irdma: Fix sleep from invalid context BUG Taking the qos_mutex to process RoCEv2 QP's on netdev events causes a kernel splat.

Published Feb 26, 2025CWE-667EPSS 0.20%

Overview

CVE-2022-49606 is a medium-severity vulnerability. It was published on February 26, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

RDMA/irdma: Fix sleep from invalid context BUG

Taking the qos_mutex to process RoCEv2 QP's on netdev events causes a

kernel splat.

Fix this by removing the handling for RoCEv2 in

irdma_cm_teardown_connections that uses the mutex. This handling is only

needed for iWARP to avoid having connections established while the link is

down or having connections remain functional after the IP address is

removed.

BUG: sleeping function called from invalid context at kernel/locking/mutex.

Call Trace:

kernel: dump_stack+0x66/0x90

kernel: ___might_sleep.cold.92+0x8d/0x9a

kernel: mutex_lock+0x1c/0x40

kernel: irdma_cm_teardown_connections+0x28e/0x4d0 [irdma]

kernel: ? check_preempt_curr+0x7a/0x90

kernel: ? select_idle_sibling+0x22/0x3c0

kernel: ? select_task_rq_fair+0x94c/0xc90

kernel: ? irdma_exec_cqp_cmd+0xc27/0x17c0 [irdma]

kernel: ? __wake_up_common+0x7a/0x190

kernel: irdma_if_notify+0x3cc/0x450 [irdma]

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2022-49606?

CVE-2022-49606 is a medium-severity vulnerability. It was published on February 26, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2022-49606?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2022-49606?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2022-49606?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2022-49606 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2022

View all