CVE-2022-49429

RDMA/hfi1: Prevent panic when SDMA is disabled

published February 26, 2025

CVSS
—
EPSS
0%
Percentile
18.1
In the wild
Unconfirmed
What it is

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

RDMA/hfi1: Prevent panic when SDMA is disabled

If the hfi1 module is loaded with HFI1_CAP_SDMA off, a call to

hfi1_write_iter() will dereference a NULL pointer and panic. A typical

stack frame is:

sdma_select_user_engine [hfi1]

hfi1_user_sdma_process_request [hfi1]

hfi1_write_iter [hfi1]

do_iter_readv_writev

do_iter_write

vfs_writev

do_writev

do_syscall_64

The fix is to test for SDMA in hfi1_write_iter() and fail the I/O with

EINVAL.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00269 · 18.1th percentile
Published
2025-02-26T02:12Z
EPSS history
Timeline
  • 26 FEB 02:12Z
    RDMA/hfi1: Prevent panic when SDMA is disabled
    cvelistv5