CVE-2022-49429

Source
https://nvd.nist.gov/vuln/detail/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-26T07:01:19Z
Modified
2025-08-09T20:01:27Z
Summary
[none]
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.

References

Affected packages