{"id":"CVE-2022-49429","aliases":["CVE-2022-49429"],"related":[],"kind":"vulnerability","state":"published","title":"RDMA/hfi1: Prevent panic when SDMA is disabled","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/hfi1: Prevent panic when SDMA is disabled\n\nIf the hfi1 module is loaded with HFI1_CAP_SDMA off, a call to\nhfi1_write_iter() will dereference a NULL pointer and panic. A typical\nstack frame is:\n\n  sdma_select_user_engine [hfi1]\n  hfi1_user_sdma_process_request [hfi1]\n  hfi1_write_iter [hfi1]\n  do_iter_readv_writev\n  do_iter_write\n  vfs_writev\n  do_writev\n  do_syscall_64\n\nThe fix is to test for SDMA in hfi1_write_iter() and fail the I/O with\nEINVAL.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/hfi1: Prevent panic when SDMA is disabled\n\nIf the hfi1 module is loaded with HFI1_CAP_SDMA off, a call to\nhfi1_write_iter() will dereference a NULL pointer and panic. A typical\nstack frame is:\n\n  sdma_select_user_engine [hfi1]\n  hfi1_user_sdma_process_request [hfi1]\n  hfi1_write_iter [hfi1]\n  do_iter_readv_writev\n  do_iter_write\n  vfs_writev\n  do_writev\n  do_syscall_64\n\nThe fix is to test for SDMA in hfi1_write_iter() and fail the I/O with\nEINVAL.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: RDMA/hfi1: Evitar pánico cuando SDMA está deshabilitado Si el módulo hfi1 se carga con HFI1_CAP_SDMA desactivado, una llamada a hfi1_write_iter() desreferenciará un puntero NULL y generará pánico. Un marco de pila típico es: 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 La solución es probar SDMA en hfi1_write_iter() y fallar la E/S con EINVAL.","source":"nvd"}],"published":"2025-02-26T02:12:48.646Z","modified":"2026-06-17T05:18:01.600Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"0cb2aa690c7ef14ad1f544288349abb5434bb75d","fixed":"33794e8e9bcb4affc0ebff9cdec85acc8b8a1762","status":"affected"},{"type":"git","introduced":"0cb2aa690c7ef14ad1f544288349abb5434bb75d","fixed":"0e4dda8b3f4c07ee9ea670a10ea3171a5e63a86f","status":"affected"},{"type":"git","introduced":"0cb2aa690c7ef14ad1f544288349abb5434bb75d","fixed":"e60ad83f645ee6fadd5a8057ba267aeec54f08fe","status":"affected"},{"type":"git","introduced":"0cb2aa690c7ef14ad1f544288349abb5434bb75d","fixed":"cc80d3c37cec9d6ddb140483647901bc7cc6c31d","status":"affected"},{"type":"git","introduced":"0cb2aa690c7ef14ad1f544288349abb5434bb75d","fixed":"32e6aea33944f364d51cd263e4cd236393a188b6","status":"affected"},{"type":"git","introduced":"0cb2aa690c7ef14ad1f544288349abb5434bb75d","fixed":"29952ab85d6c3fe0b7909d9a737f10c58bf6824d","status":"affected"},{"type":"git","introduced":"0cb2aa690c7ef14ad1f544288349abb5434bb75d","fixed":"22e7e400fd1a890db2ea13686324aff50e972f4f","status":"affected"},{"type":"git","introduced":"0cb2aa690c7ef14ad1f544288349abb5434bb75d","fixed":"629e052d0c98e46dde9f0824f0aa437f678d9b8f","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.9","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.9","status":"unaffected"},{"type":"semver","introduced":"4.14.283","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.247","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.198","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.121","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.46","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.17.14","lastAffected":"5.17.*","status":"unaffected"},{"type":"semver","introduced":"5.18.3","lastAffected":"5.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.19","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"4.14.283"},{"status":"affected","introduced":"4.15","fixed":"4.19.247"},{"status":"affected","introduced":"4.20","fixed":"5.4.198"},{"status":"affected","introduced":"5.5","fixed":"5.10.121"},{"status":"affected","introduced":"5.11","fixed":"5.15.46"},{"status":"affected","introduced":"5.16","fixed":"5.17.14"},{"status":"affected","introduced":"5.18","fixed":"5.18.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/33794e8e9bcb4affc0ebff9cdec85acc8b8a1762","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0e4dda8b3f4c07ee9ea670a10ea3171a5e63a86f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e60ad83f645ee6fadd5a8057ba267aeec54f08fe","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cc80d3c37cec9d6ddb140483647901bc7cc6c31d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/32e6aea33944f364d51cd263e4cd236393a188b6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/29952ab85d6c3fe0b7909d9a737f10c58bf6824d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/22e7e400fd1a890db2ea13686324aff50e972f4f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/629e052d0c98e46dde9f0824f0aa437f678d9b8f","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49429","url":"https://www.cve.org/CVERecord?id=CVE-2022-49429","licence":"CVE Terms of Use","modified":"2026-05-11T18:59:38.941Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49429","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49429","licence":"Public domain","modified":"2026-06-17T05:18:01.600Z"}],"updatedAt":"2026-11-25T22:58:20.523Z","epss":{"score":0.00269,"percentile":0.20429,"date":"2026-12-02T12:00:21.000Z"}}