In the Linux kernel, the following vulnerability has been resolved:
RDMA/cxgb4: Added NULL check for lookup_atid
The lookup_atid() function can return NULL if the ATID is
invalid or does not exist in the identifier table, which
could lead to dereferencing a null pointer without a
check in the act_establish()
and act_open_rpl()
functions.
Add a NULL check to prevent null pointer dereferencing.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
[ { "signature_type": "Function", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e766e6a92410ca269161de059fff0843b8ddd65f", "signature_version": "v1", "target": { "function": "act_open_rpl", "file": "drivers/infiniband/hw/cxgb4/cm.c" }, "digest": { "function_hash": "303859104633828982065790023847766442523", "length": 3211.0 }, "id": "CVE-2024-47749-06270811" }, { "signature_type": "Function", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@54aaa3ed40972511e423b604324b881425b9ff1e", "signature_version": "v1", "target": { "function": "act_open_rpl", "file": "drivers/infiniband/hw/cxgb4/cm.c" }, "digest": { "function_hash": "303859104633828982065790023847766442523", "length": 3211.0 }, "id": "CVE-2024-47749-0fbb466a" }, { "signature_type": "Function", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@39cb9f39913566ec5865581135f3e8123ad1aee1", "signature_version": "v1", "target": { "function": "act_open_rpl", "file": "drivers/infiniband/hw/cxgb4/cm.c" }, "digest": { "function_hash": "303859104633828982065790023847766442523", "length": 3211.0 }, "id": "CVE-2024-47749-14847bc0" }, { "signature_type": "Function", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b11318dc8a1ec565300bb1a9073095af817cc508", "signature_version": "v1", "target": { "function": "act_establish", "file": "drivers/infiniband/hw/cxgb4/cm.c" }, "digest": { "function_hash": "149769468717425091824570983647330725770", "length": 1280.0 }, "id": "CVE-2024-47749-15a7ed1f" }, { "signature_type": "Function", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@54aaa3ed40972511e423b604324b881425b9ff1e", "signature_version": "v1", "target": { "function": "act_establish", "file": "drivers/infiniband/hw/cxgb4/cm.c" }, "digest": { "function_hash": "149769468717425091824570983647330725770", "length": 1280.0 }, "id": "CVE-2024-47749-32002787" }, { "signature_type": "Line", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@54aaa3ed40972511e423b604324b881425b9ff1e", "signature_version": "v1", "target": { "file": "drivers/infiniband/hw/cxgb4/cm.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "168136651112104313203631873792622686301", "286523305155950322251002095255533059036", "257447668617351811839513796150708755701", "109169922771926068238952132328771724486", "299994994154264999866638232550245772780", "266511270519072354308813772885561216363", "154293056001447403472885461933491118124", "148309628064145670062634298028817679841" ] }, "id": "CVE-2024-47749-389922d2" }, { "signature_type": "Function", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dd598ac57dcae796cb58551074660c39b43fb155", "signature_version": "v1", "target": { "function": "act_establish", "file": "drivers/infiniband/hw/cxgb4/cm.c" }, "digest": { "function_hash": "149769468717425091824570983647330725770", "length": 1280.0 }, "id": "CVE-2024-47749-459ad77c" }, { "signature_type": "Function", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b9c94c8ba5a713817cffd74c4bacc05187469624", "signature_version": "v1", "target": { "function": "act_open_rpl", "file": "drivers/infiniband/hw/cxgb4/cm.c" }, "digest": { "function_hash": "303859104633828982065790023847766442523", "length": 3211.0 }, "id": "CVE-2024-47749-4b50f4dc" }, { "signature_type": "Function", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b12e25d91c7f97958341538c7dc63ee49d01548f", "signature_version": "v1", "target": { "function": "act_open_rpl", "file": "drivers/infiniband/hw/cxgb4/cm.c" }, "digest": { "function_hash": "290853016678515873355143623764919733252", "length": 3259.0 }, "id": "CVE-2024-47749-701980fa" }, { "signature_type": "Function", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4e1fe68d695af367506ea3c794c5969630f21697", "signature_version": "v1", "target": { "function": "act_establish", "file": "drivers/infiniband/hw/cxgb4/cm.c" }, "digest": { "function_hash": "149769468717425091824570983647330725770", "length": 1280.0 }, "id": "CVE-2024-47749-70795d8f" }, { "signature_type": "Function", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b9c94c8ba5a713817cffd74c4bacc05187469624", "signature_version": "v1", "target": { "function": "act_establish", "file": "drivers/infiniband/hw/cxgb4/cm.c" }, "digest": { "function_hash": "149769468717425091824570983647330725770", "length": 1280.0 }, "id": "CVE-2024-47749-721ba6e6" }, { "signature_type": "Function", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0d50ae281a1712b9b2ca72830a96b8f11882358d", "signature_version": "v1", "target": { "function": "act_establish", "file": "drivers/infiniband/hw/cxgb4/cm.c" }, "digest": { "function_hash": "149769468717425091824570983647330725770", "length": 1280.0 }, "id": "CVE-2024-47749-7c4e2731" }, { "signature_type": "Function", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e766e6a92410ca269161de059fff0843b8ddd65f", "signature_version": "v1", "target": { "function": "act_establish", "file": "drivers/infiniband/hw/cxgb4/cm.c" }, "digest": { "function_hash": "149769468717425091824570983647330725770", "length": 1280.0 }, "id": "CVE-2024-47749-883e1c66" }, { "signature_type": "Function", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b11318dc8a1ec565300bb1a9073095af817cc508", "signature_version": "v1", "target": { "function": "act_open_rpl", "file": "drivers/infiniband/hw/cxgb4/cm.c" }, "digest": { "function_hash": "303859104633828982065790023847766442523", "length": 3211.0 }, "id": "CVE-2024-47749-95ba2ae0" }, { "signature_type": "Line", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e766e6a92410ca269161de059fff0843b8ddd65f", "signature_version": "v1", "target": { "file": "drivers/infiniband/hw/cxgb4/cm.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "168136651112104313203631873792622686301", "286523305155950322251002095255533059036", "257447668617351811839513796150708755701", "109169922771926068238952132328771724486", "299994994154264999866638232550245772780", "266511270519072354308813772885561216363", "154293056001447403472885461933491118124", "148309628064145670062634298028817679841" ] }, "id": "CVE-2024-47749-975336de" }, { "signature_type": "Line", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@39cb9f39913566ec5865581135f3e8123ad1aee1", "signature_version": "v1", "target": { "file": "drivers/infiniband/hw/cxgb4/cm.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "168136651112104313203631873792622686301", "286523305155950322251002095255533059036", "257447668617351811839513796150708755701", "109169922771926068238952132328771724486", "299994994154264999866638232550245772780", "266511270519072354308813772885561216363", "154293056001447403472885461933491118124", "148309628064145670062634298028817679841" ] }, "id": "CVE-2024-47749-a98ac1b3" }, { "signature_type": "Line", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b9c94c8ba5a713817cffd74c4bacc05187469624", "signature_version": "v1", "target": { "file": "drivers/infiniband/hw/cxgb4/cm.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "168136651112104313203631873792622686301", "286523305155950322251002095255533059036", "257447668617351811839513796150708755701", "109169922771926068238952132328771724486", "299994994154264999866638232550245772780", "266511270519072354308813772885561216363", "154293056001447403472885461933491118124", "148309628064145670062634298028817679841" ] }, "id": "CVE-2024-47749-ad8c5a56" }, { "signature_type": "Function", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@39cb9f39913566ec5865581135f3e8123ad1aee1", "signature_version": "v1", "target": { "function": "act_establish", "file": "drivers/infiniband/hw/cxgb4/cm.c" }, "digest": { "function_hash": "149769468717425091824570983647330725770", "length": 1280.0 }, "id": "CVE-2024-47749-af5754b7" }, { "signature_type": "Function", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b12e25d91c7f97958341538c7dc63ee49d01548f", "signature_version": "v1", "target": { "function": "act_establish", "file": "drivers/infiniband/hw/cxgb4/cm.c" }, "digest": { "function_hash": "295018183089316419648248156297192161976", "length": 1304.0 }, "id": "CVE-2024-47749-b06f94ea" }, { "signature_type": "Function", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0d50ae281a1712b9b2ca72830a96b8f11882358d", "signature_version": "v1", "target": { "function": "act_open_rpl", "file": "drivers/infiniband/hw/cxgb4/cm.c" }, "digest": { "function_hash": "303859104633828982065790023847766442523", "length": 3211.0 }, "id": "CVE-2024-47749-c1308890" }, { "signature_type": "Line", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dd598ac57dcae796cb58551074660c39b43fb155", "signature_version": "v1", "target": { "file": "drivers/infiniband/hw/cxgb4/cm.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "168136651112104313203631873792622686301", "286523305155950322251002095255533059036", "257447668617351811839513796150708755701", "109169922771926068238952132328771724486", "299994994154264999866638232550245772780", "266511270519072354308813772885561216363", "154293056001447403472885461933491118124", "148309628064145670062634298028817679841" ] }, "id": "CVE-2024-47749-c70a3999" }, { "signature_type": "Function", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dd598ac57dcae796cb58551074660c39b43fb155", "signature_version": "v1", "target": { "function": "act_open_rpl", "file": "drivers/infiniband/hw/cxgb4/cm.c" }, "digest": { "function_hash": "303859104633828982065790023847766442523", "length": 3211.0 }, "id": "CVE-2024-47749-cc7b7b0a" }, { "signature_type": "Function", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4e1fe68d695af367506ea3c794c5969630f21697", "signature_version": "v1", "target": { "function": "act_open_rpl", "file": "drivers/infiniband/hw/cxgb4/cm.c" }, "digest": { "function_hash": "303859104633828982065790023847766442523", "length": 3211.0 }, "id": "CVE-2024-47749-d4209736" }, { "signature_type": "Line", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4e1fe68d695af367506ea3c794c5969630f21697", "signature_version": "v1", "target": { "file": "drivers/infiniband/hw/cxgb4/cm.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "168136651112104313203631873792622686301", "286523305155950322251002095255533059036", "257447668617351811839513796150708755701", "109169922771926068238952132328771724486", "299994994154264999866638232550245772780", "266511270519072354308813772885561216363", "154293056001447403472885461933491118124", "148309628064145670062634298028817679841" ] }, "id": "CVE-2024-47749-d958f78d" }, { "signature_type": "Line", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b11318dc8a1ec565300bb1a9073095af817cc508", "signature_version": "v1", "target": { "file": "drivers/infiniband/hw/cxgb4/cm.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "168136651112104313203631873792622686301", "286523305155950322251002095255533059036", "257447668617351811839513796150708755701", "109169922771926068238952132328771724486", "299994994154264999866638232550245772780", "266511270519072354308813772885561216363", "154293056001447403472885461933491118124", "148309628064145670062634298028817679841" ] }, "id": "CVE-2024-47749-dabc1532" }, { "signature_type": "Line", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b12e25d91c7f97958341538c7dc63ee49d01548f", "signature_version": "v1", "target": { "file": "drivers/infiniband/hw/cxgb4/cm.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "168136651112104313203631873792622686301", "286523305155950322251002095255533059036", "257447668617351811839513796150708755701", "109169922771926068238952132328771724486", "299994994154264999866638232550245772780", "266511270519072354308813772885561216363", "154293056001447403472885461933491118124", "148309628064145670062634298028817679841" ] }, "id": "CVE-2024-47749-dc0cc4c8" }, { "signature_type": "Line", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0d50ae281a1712b9b2ca72830a96b8f11882358d", "signature_version": "v1", "target": { "file": "drivers/infiniband/hw/cxgb4/cm.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "168136651112104313203631873792622686301", "286523305155950322251002095255533059036", "257447668617351811839513796150708755701", "109169922771926068238952132328771724486", "299994994154264999866638232550245772780", "266511270519072354308813772885561216363", "154293056001447403472885461933491118124", "148309628064145670062634298028817679841" ] }, "id": "CVE-2024-47749-f6a612ff" } ]