CVE-2022-49429

RDMA/hfi1: Prevent panic when SDMA is disabled

No CVSS score yet EPSS 0.27%

Published 26 Feb 2025 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2022-49429

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-49429 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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.

Exploitation

EPSS 0.27%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 20.4% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 0cb2aa690c7ef14ad1f544288349abb5434bb75d, before 33794e8e9bcb4affc0ebff9cdec85acc8b8a1762
affected from 0cb2aa690c7ef14ad1f544288349abb5434bb75d, before 0e4dda8b3f4c07ee9ea670a10ea3171a5e63a86f
affected from 0cb2aa690c7ef14ad1f544288349abb5434bb75d, before e60ad83f645ee6fadd5a8057ba267aeec54f08fe
affected from 0cb2aa690c7ef14ad1f544288349abb5434bb75d, before cc80d3c37cec9d6ddb140483647901bc7cc6c31d
affected from 0cb2aa690c7ef14ad1f544288349abb5434bb75d, before 32e6aea33944f364d51cd263e4cd236393a188b6
affected from 0cb2aa690c7ef14ad1f544288349abb5434bb75d, before 29952ab85d6c3fe0b7909d9a737f10c58bf6824d
affected from 0cb2aa690c7ef14ad1f544288349abb5434bb75d, before 22e7e400fd1a890db2ea13686324aff50e972f4f
affected from 0cb2aa690c7ef14ad1f544288349abb5434bb75d, before 629e052d0c98e46dde9f0824f0aa437f678d9b8f
Other versions: unaffected
Linux
affected 4.9
unaffected before 4.9
unaffected from 4.14.283 up to and including 4.14.*
unaffected from 4.19.247 up to and including 4.19.*
unaffected from 5.4.198 up to and including 5.4.*
unaffected from 5.10.121 up to and including 5.10.*
unaffected from 5.15.46 up to and including 5.15.*
unaffected from 5.17.14 up to and including 5.17.*
unaffected from 5.18.3 up to and including 5.18.*
unaffected 5.19 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-49429 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-49429

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2022-49429
trivy image --scanners vuln IMAGE | grep CVE-2022-49429

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2022-49429 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.