{"id":"CVE-2022-49931","aliases":["CVE-2022-49931"],"related":[],"kind":"vulnerability","state":"published","title":"IB/hfi1: Correctly move list in sc_disable()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nIB/hfi1: Correctly move list in sc_disable()\n\nCommit 13bac861952a (\"IB/hfi1: Fix abba locking issue with sc_disable()\")\nincorrectly tries to move a list from one list head to another.  The\nresult is a kernel crash.\n\nThe crash is triggered when a link goes down and there are waiters for a\nsend to complete.  The following signature is seen:\n\n  BUG: kernel NULL pointer dereference, address: 0000000000000030\n  [...]\n  Call Trace:\n   sc_disable+0x1ba/0x240 [hfi1]\n   pio_freeze+0x3d/0x60 [hfi1]\n   handle_freeze+0x27/0x1b0 [hfi1]\n   process_one_work+0x1b0/0x380\n   ? process_one_work+0x380/0x380\n   worker_thread+0x30/0x360\n   ? process_one_work+0x380/0x380\n   kthread+0xd7/0x100\n   ? kthread_complete_and_exit+0x20/0x20\n   ret_from_fork+0x1f/0x30\n\nThe fix is to use the correct call to move the list.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nIB/hfi1: Correctly move list in sc_disable()\n\nCommit 13bac861952a (\"IB/hfi1: Fix abba locking issue with sc_disable()\")\nincorrectly tries to move a list from one list head to another.  The\nresult is a kernel crash.\n\nThe crash is triggered when a link goes down and there are waiters for a\nsend to complete.  The following signature is seen:\n\n  BUG: kernel NULL pointer dereference, address: 0000000000000030\n  [...]\n  Call Trace:\n   sc_disable+0x1ba/0x240 [hfi1]\n   pio_freeze+0x3d/0x60 [hfi1]\n   handle_freeze+0x27/0x1b0 [hfi1]\n   process_one_work+0x1b0/0x380\n   ? process_one_work+0x380/0x380\n   worker_thread+0x30/0x360\n   ? process_one_work+0x380/0x380\n   kthread+0xd7/0x100\n   ? kthread_complete_and_exit+0x20/0x20\n   ret_from_fork+0x1f/0x30\n\nThe fix is to use the correct call to move the list.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: IB/hfi1: Mover correctamente la lista en sc_disable(). El commit 13bac861952a (\"IB/hfi1: Solucionar el problema de bloqueo de abba con sc_disable()\") intenta mover incorrectamente una lista de una cabecera a otra. Esto provoca un fallo del kernel. El fallo se activa cuando un enlace se cae y hay esperas para que se complete un envío. Se observa la siguiente firma: ERROR: desreferencia de puntero nulo del kernel, dirección: 000000000000030 [...] Seguimiento de llamadas:  sc_disable+0x1ba/0x240 [hfi1] pio_freeze+0x3d/0x60 [hfi1] handle_freeze+0x27/0x1b0 [hfi1] process_one_work+0x1b0/0x380 ? process_one_work+0x380/0x380 worker_thread+0x30/0x360 ? process_one_work+0x380/0x380 kthread+0xd7/0x100 ? kthread_complete_and_exit+0x20/0x20 ret_from_fork+0x1f/0x30 La solución es utilizar la llamada correcta para mover la lista.","source":"nvd"}],"published":"2025-05-01T14:11:08.135Z","modified":"2026-08-05T08:56:44.963Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"CISA-ADP","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"},{"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":"d997d4e4365f7e59cf6b59c70f966c56d704b64f","fixed":"25760a41e3802f54aadcc31385543665ab349b8e","status":"affected"},{"type":"git","introduced":"d98883f6c33e0d960afedcecaa92fc2b61fec383","fixed":"7c4260f8f188df32414a5ecad63e8b934c2aa3f0","status":"affected"},{"type":"git","introduced":"13bac861952a78664907a0f927d3e874e9a59034","fixed":"ba95409d6b580501ff6d78efd00064f7df669926","status":"affected"},{"type":"git","introduced":"13bac861952a78664907a0f927d3e874e9a59034","fixed":"b8bcff99b07cc175a6ee12a52db51cdd2229586c","status":"affected"},{"type":"git","introduced":"13bac861952a78664907a0f927d3e874e9a59034","fixed":"1afac08b39d85437187bb2a92d89a741b1078f55","status":"affected"},{"type":"git","version":"5d33bd6b4d4d035e42733592899918a18f2540da","status":"affected"},{"type":"semver","introduced":"5.4.157","fixed":"5.4.224","status":"affected"},{"type":"semver","introduced":"5.10.77","fixed":"5.10.154","status":"affected"},{"type":"semver","introduced":"5.14.16","fixed":"5.15","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.15","status":"unaffected"},{"type":"semver","introduced":"5.4.224","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.154","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.78","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.0.8","lastAffected":"6.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.1","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","introduced":"5.4.157","fixed":"5.4.224"},{"status":"affected","introduced":"5.10.77","fixed":"5.10.154"},{"status":"affected","introduced":"5.14.16","fixed":"5.15.78"},{"status":"affected","introduced":"5.16","fixed":"6.0.8"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/25760a41e3802f54aadcc31385543665ab349b8e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7c4260f8f188df32414a5ecad63e8b934c2aa3f0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ba95409d6b580501ff6d78efd00064f7df669926","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b8bcff99b07cc175a6ee12a52db51cdd2229586c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1afac08b39d85437187bb2a92d89a741b1078f55","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-01T14:55:37.542Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49931","url":"https://www.cve.org/CVERecord?id=CVE-2022-49931","licence":"CVE Terms of Use","modified":"2026-08-05T08:56:44.963Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49931","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49931","licence":"Public domain","modified":"2026-08-04T10:17:59.820Z"}],"updatedAt":"2026-11-25T22:58:20.943Z","epss":{"score":0.00248,"percentile":0.17254,"date":"2026-12-01T12:00:22.000Z"}}