CVE-2022-49931

MEDIUM

Linux Kernel - NULL Pointer Dereference in IB/hfi1 sc_disable()

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: IB/hfi1: Correctly move list in sc_disable() Commit 13bac861952a ("IB/hfi1: Fix abba locking issue with sc_disable()") incorrectly tries to move a list from one list head to another. The result is a kernel crash. The crash is triggered when a link goes down and there are waiters for a send to complete. The following signature is seen: BUG: kernel NULL pointer dereference, address: 0000000000000030 [...] Call Trace: sc_disable+0x1ba/0x240 [hfi1] pio_freeze+0x3d/0x60 [hfi1] handle_freeze+0x27/0x1b0 [hfi1] process_one_work+0x1b0/0x380 ? process_one_work+0x380/0x380 worker_thread+0x30/0x360 ? process_one_work+0x380/0x380 kthread+0xd7/0x100 ? kthread_complete_and_exit+0x20/0x20 ret_from_fork+0x1f/0x30 The fix is to use the correct call to move the list.

Scores

CVSS v3 5.5
EPSS 0.0015
EPSS Percentile 4.4%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-476
Status published
Products (22)
linux/Kernel < 5.4.224linux
linux/Kernel 5.11.0 - 5.15.78linux
linux/Kernel 5.15.0 - 6.0.8linux
linux/Kernel 5.5.0 - 5.10.154linux
Linux/Linux < 5.15
Linux/Linux 13bac861952a78664907a0f927d3e874e9a59034 - 1afac08b39d85437187bb2a92d89a741b1078f55
Linux/Linux 13bac861952a78664907a0f927d3e874e9a59034 - b8bcff99b07cc175a6ee12a52db51cdd2229586c
Linux/Linux 13bac861952a78664907a0f927d3e874e9a59034 - ba95409d6b580501ff6d78efd00064f7df669926
Linux/Linux 5.10.154 - 5.10.*
Linux/Linux 5.10.77 - 5.10.154
... and 12 more
Published May 01, 2025
Tracked Since Feb 18, 2026