CVE-2022-49429

Source
https://cve.org/CVERecord?id=CVE-2022-49429
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49429.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49429
Downstream
Related
Published
2025-02-26T02:12:48.646Z
Modified
2026-03-20T12:22:26.165824Z
Summary
RDMA/hfi1: Prevent panic when SDMA is disabled
Details

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 HFI1CAPSDMA off, a call to hfi1writeiter() will dereference a NULL pointer and panic. A typical stack frame is:

sdmaselectuserengine [hfi1] hfi1usersdmaprocessrequest [hfi1] hfi1writeiter [hfi1] doiterreadvwritev doiterwrite vfswritev dowritev dosyscall64

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

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49429.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0cb2aa690c7ef14ad1f544288349abb5434bb75d
Fixed
33794e8e9bcb4affc0ebff9cdec85acc8b8a1762
Fixed
0e4dda8b3f4c07ee9ea670a10ea3171a5e63a86f
Fixed
e60ad83f645ee6fadd5a8057ba267aeec54f08fe
Fixed
cc80d3c37cec9d6ddb140483647901bc7cc6c31d
Fixed
32e6aea33944f364d51cd263e4cd236393a188b6
Fixed
29952ab85d6c3fe0b7909d9a737f10c58bf6824d
Fixed
22e7e400fd1a890db2ea13686324aff50e972f4f
Fixed
629e052d0c98e46dde9f0824f0aa437f678d9b8f

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49429.json"