CVE-2022-49429

MediumCVSS 5.5/10Last modified Jun 17, 2026

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.

Metrics

CVSS 3.1 5.5/10CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Weakness enumeration

Affected software

VendorProductVersions
LinuxLinux>= 0cb2aa690c7ef14ad1f544288349abb5434bb75d, < 33794e8e9bcb4affc0ebff9cdec85acc8b8a1762; >= 0cb2aa690c7ef14ad1f544288349abb5434bb75d, < 0e4dda8b3f4c07ee9ea670a10ea3171a5e63a86f; >= 0cb2aa690c7ef14ad1f544288349abb5434bb75d, < e60ad83f645ee6fadd5a8057ba267aeec54f08fe; >= 0cb2aa690c7ef14ad1f544288349abb5434bb75d, < cc80d3c37cec9d6ddb140483647901bc7cc6c31d; >= 0cb2aa690c7ef14ad1f544288349abb5434bb75d, < 32e6aea33944f364d51cd263e4cd236393a188b6; >= 0cb2aa690c7ef14ad1f544288349abb5434bb75d, < 29952ab85d6c3fe0b7909d9a737f10c58bf6824d; >= 0cb2aa690c7ef14ad1f544288349abb5434bb75d, < 22e7e400fd1a890db2ea13686324aff50e972f4f; >= 0cb2aa690c7ef14ad1f544288349abb5434bb75d, < 629e052d0c98e46dde9f0824f0aa437f678d9b8f
LinuxLinux4.9

References

Timeline

Published
Feb 26, 2025
Last modified
Jun 17, 2026
NVD status
Analyzed

Related CVEs from 2022

CVE-2022-49435.3The miniOrange's Google Authenticator plugin for WordPress is vulnerable to authorization bypass due to a missing capability check when chanCVE-2022-494305.5In the Linux kernel, the following vulnerability has been resolved: Input: gpio-keys - cancel delayed work only in case of GPIO gpio_keys CVE-2022-494315.5In the Linux kernel, the following vulnerability has been resolved: powerpc/iommu: Add missing of_node_put in iommu_init_early_dart The deCVE-2022-494325.5In the Linux kernel, the following vulnerability has been resolved: powerpc/xics: fix refcount leak in icp_opal_init() The of_find_compatiCVE-2022-494335.5In the Linux kernel, the following vulnerability has been resolved: RDMA/hfi1: Prevent use of lock before it is initialized If there is a CVE-2022-494345.5In the Linux kernel, the following vulnerability has been resolved: PCI: Avoid pci_dev_lock() AB/BA deadlock with sriov_numvfs_store() TheCVE-2022-494355.5In the Linux kernel, the following vulnerability has been resolved: mfd: davinci_voicecodec: Fix possible null-ptr-deref davinci_vc_probe()CVE-2022-494365.5In the Linux kernel, the following vulnerability has been resolved: powerpc/papr_scm: Fix leaking nvdimm_events_map elements Right now 'chCVE-2022-494375.5In the Linux kernel, the following vulnerability has been resolved: powerpc/xive: Fix refcount leak in xive_spapr_init of_find_compatible_CVE-2022-494385.5In the Linux kernel, the following vulnerability has been resolved: Input: sparcspkr - fix refcount leak in bbc_beep_probe of_find_node_byCVE-2022-494395.5In the Linux kernel, the following vulnerability has been resolved: powerpc/fsl_rio: Fix refcount leak in fsl_rio_setup of_parse_phandle()CVE-2022-49448.8A vulnerability, which was classified as problematic, has been found in kalcaddle KodExplorer up to 4.49. Affected by this issue is some unk
CVE-2022-49429: Medium severity, CVSS 5.5 | Vulnix