CVE-2022-49429
MEDIUMLinux Kernel - NULL Pointer Dereference in hfi1_write_iter
Title source: llmDescription
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.
References (8)
Core 8
Core References
Scores
CVSS v3
5.5
EPSS
0.0025
EPSS Percentile
16.2%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Details
CWE
CWE-476
Status
published
Products (26)
linux/Kernel
4.15.0 - 4.19.247linux
linux/Kernel
4.20.0 - 5.4.198linux
linux/Kernel
4.9.0 - 4.14.283linux
linux/Kernel
5.11.0 - 5.15.46linux
linux/Kernel
5.16.0 - 5.17.14linux
linux/Kernel
5.18.0 - 5.18.3linux
linux/Kernel
5.5.0 - 5.10.121linux
Linux/Linux
< 4.9
Linux/Linux
0cb2aa690c7ef14ad1f544288349abb5434bb75d - 0e4dda8b3f4c07ee9ea670a10ea3171a5e63a86f
Linux/Linux
0cb2aa690c7ef14ad1f544288349abb5434bb75d - 22e7e400fd1a890db2ea13686324aff50e972f4f
... and 16 more
Published
Feb 26, 2025
Tracked Since
Feb 18, 2026