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_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e766e6a92410ca269161de059fff0843b8ddd65f",
"signature_type": "Function",
"target": {
"function": "act_open_rpl",
"file": "drivers/infiniband/hw/cxgb4/cm.c"
},
"id": "CVE-2024-47749-06270811",
"digest": {
"length": 3211.0,
"function_hash": "303859104633828982065790023847766442523"
},
"deprecated": false
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@54aaa3ed40972511e423b604324b881425b9ff1e",
"signature_type": "Function",
"target": {
"function": "act_open_rpl",
"file": "drivers/infiniband/hw/cxgb4/cm.c"
},
"id": "CVE-2024-47749-0fbb466a",
"digest": {
"length": 3211.0,
"function_hash": "303859104633828982065790023847766442523"
},
"deprecated": false
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@39cb9f39913566ec5865581135f3e8123ad1aee1",
"signature_type": "Function",
"target": {
"function": "act_open_rpl",
"file": "drivers/infiniband/hw/cxgb4/cm.c"
},
"id": "CVE-2024-47749-14847bc0",
"digest": {
"length": 3211.0,
"function_hash": "303859104633828982065790023847766442523"
},
"deprecated": false
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b11318dc8a1ec565300bb1a9073095af817cc508",
"signature_type": "Function",
"target": {
"function": "act_establish",
"file": "drivers/infiniband/hw/cxgb4/cm.c"
},
"id": "CVE-2024-47749-15a7ed1f",
"digest": {
"length": 1280.0,
"function_hash": "149769468717425091824570983647330725770"
},
"deprecated": false
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@54aaa3ed40972511e423b604324b881425b9ff1e",
"signature_type": "Function",
"target": {
"function": "act_establish",
"file": "drivers/infiniband/hw/cxgb4/cm.c"
},
"id": "CVE-2024-47749-32002787",
"digest": {
"length": 1280.0,
"function_hash": "149769468717425091824570983647330725770"
},
"deprecated": false
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@54aaa3ed40972511e423b604324b881425b9ff1e",
"signature_type": "Line",
"target": {
"file": "drivers/infiniband/hw/cxgb4/cm.c"
},
"id": "CVE-2024-47749-389922d2",
"digest": {
"line_hashes": [
"168136651112104313203631873792622686301",
"286523305155950322251002095255533059036",
"257447668617351811839513796150708755701",
"109169922771926068238952132328771724486",
"299994994154264999866638232550245772780",
"266511270519072354308813772885561216363",
"154293056001447403472885461933491118124",
"148309628064145670062634298028817679841"
],
"threshold": 0.9
},
"deprecated": false
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dd598ac57dcae796cb58551074660c39b43fb155",
"signature_type": "Function",
"target": {
"function": "act_establish",
"file": "drivers/infiniband/hw/cxgb4/cm.c"
},
"id": "CVE-2024-47749-459ad77c",
"digest": {
"length": 1280.0,
"function_hash": "149769468717425091824570983647330725770"
},
"deprecated": false
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b9c94c8ba5a713817cffd74c4bacc05187469624",
"signature_type": "Function",
"target": {
"function": "act_open_rpl",
"file": "drivers/infiniband/hw/cxgb4/cm.c"
},
"id": "CVE-2024-47749-4b50f4dc",
"digest": {
"length": 3211.0,
"function_hash": "303859104633828982065790023847766442523"
},
"deprecated": false
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b12e25d91c7f97958341538c7dc63ee49d01548f",
"signature_type": "Function",
"target": {
"function": "act_open_rpl",
"file": "drivers/infiniband/hw/cxgb4/cm.c"
},
"id": "CVE-2024-47749-701980fa",
"digest": {
"length": 3259.0,
"function_hash": "290853016678515873355143623764919733252"
},
"deprecated": false
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4e1fe68d695af367506ea3c794c5969630f21697",
"signature_type": "Function",
"target": {
"function": "act_establish",
"file": "drivers/infiniband/hw/cxgb4/cm.c"
},
"id": "CVE-2024-47749-70795d8f",
"digest": {
"length": 1280.0,
"function_hash": "149769468717425091824570983647330725770"
},
"deprecated": false
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b9c94c8ba5a713817cffd74c4bacc05187469624",
"signature_type": "Function",
"target": {
"function": "act_establish",
"file": "drivers/infiniband/hw/cxgb4/cm.c"
},
"id": "CVE-2024-47749-721ba6e6",
"digest": {
"length": 1280.0,
"function_hash": "149769468717425091824570983647330725770"
},
"deprecated": false
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0d50ae281a1712b9b2ca72830a96b8f11882358d",
"signature_type": "Function",
"target": {
"function": "act_establish",
"file": "drivers/infiniband/hw/cxgb4/cm.c"
},
"id": "CVE-2024-47749-7c4e2731",
"digest": {
"length": 1280.0,
"function_hash": "149769468717425091824570983647330725770"
},
"deprecated": false
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e766e6a92410ca269161de059fff0843b8ddd65f",
"signature_type": "Function",
"target": {
"function": "act_establish",
"file": "drivers/infiniband/hw/cxgb4/cm.c"
},
"id": "CVE-2024-47749-883e1c66",
"digest": {
"length": 1280.0,
"function_hash": "149769468717425091824570983647330725770"
},
"deprecated": false
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b11318dc8a1ec565300bb1a9073095af817cc508",
"signature_type": "Function",
"target": {
"function": "act_open_rpl",
"file": "drivers/infiniband/hw/cxgb4/cm.c"
},
"id": "CVE-2024-47749-95ba2ae0",
"digest": {
"length": 3211.0,
"function_hash": "303859104633828982065790023847766442523"
},
"deprecated": false
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e766e6a92410ca269161de059fff0843b8ddd65f",
"signature_type": "Line",
"target": {
"file": "drivers/infiniband/hw/cxgb4/cm.c"
},
"id": "CVE-2024-47749-975336de",
"digest": {
"line_hashes": [
"168136651112104313203631873792622686301",
"286523305155950322251002095255533059036",
"257447668617351811839513796150708755701",
"109169922771926068238952132328771724486",
"299994994154264999866638232550245772780",
"266511270519072354308813772885561216363",
"154293056001447403472885461933491118124",
"148309628064145670062634298028817679841"
],
"threshold": 0.9
},
"deprecated": false
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@39cb9f39913566ec5865581135f3e8123ad1aee1",
"signature_type": "Line",
"target": {
"file": "drivers/infiniband/hw/cxgb4/cm.c"
},
"id": "CVE-2024-47749-a98ac1b3",
"digest": {
"line_hashes": [
"168136651112104313203631873792622686301",
"286523305155950322251002095255533059036",
"257447668617351811839513796150708755701",
"109169922771926068238952132328771724486",
"299994994154264999866638232550245772780",
"266511270519072354308813772885561216363",
"154293056001447403472885461933491118124",
"148309628064145670062634298028817679841"
],
"threshold": 0.9
},
"deprecated": false
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b9c94c8ba5a713817cffd74c4bacc05187469624",
"signature_type": "Line",
"target": {
"file": "drivers/infiniband/hw/cxgb4/cm.c"
},
"id": "CVE-2024-47749-ad8c5a56",
"digest": {
"line_hashes": [
"168136651112104313203631873792622686301",
"286523305155950322251002095255533059036",
"257447668617351811839513796150708755701",
"109169922771926068238952132328771724486",
"299994994154264999866638232550245772780",
"266511270519072354308813772885561216363",
"154293056001447403472885461933491118124",
"148309628064145670062634298028817679841"
],
"threshold": 0.9
},
"deprecated": false
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@39cb9f39913566ec5865581135f3e8123ad1aee1",
"signature_type": "Function",
"target": {
"function": "act_establish",
"file": "drivers/infiniband/hw/cxgb4/cm.c"
},
"id": "CVE-2024-47749-af5754b7",
"digest": {
"length": 1280.0,
"function_hash": "149769468717425091824570983647330725770"
},
"deprecated": false
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b12e25d91c7f97958341538c7dc63ee49d01548f",
"signature_type": "Function",
"target": {
"function": "act_establish",
"file": "drivers/infiniband/hw/cxgb4/cm.c"
},
"id": "CVE-2024-47749-b06f94ea",
"digest": {
"length": 1304.0,
"function_hash": "295018183089316419648248156297192161976"
},
"deprecated": false
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0d50ae281a1712b9b2ca72830a96b8f11882358d",
"signature_type": "Function",
"target": {
"function": "act_open_rpl",
"file": "drivers/infiniband/hw/cxgb4/cm.c"
},
"id": "CVE-2024-47749-c1308890",
"digest": {
"length": 3211.0,
"function_hash": "303859104633828982065790023847766442523"
},
"deprecated": false
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dd598ac57dcae796cb58551074660c39b43fb155",
"signature_type": "Line",
"target": {
"file": "drivers/infiniband/hw/cxgb4/cm.c"
},
"id": "CVE-2024-47749-c70a3999",
"digest": {
"line_hashes": [
"168136651112104313203631873792622686301",
"286523305155950322251002095255533059036",
"257447668617351811839513796150708755701",
"109169922771926068238952132328771724486",
"299994994154264999866638232550245772780",
"266511270519072354308813772885561216363",
"154293056001447403472885461933491118124",
"148309628064145670062634298028817679841"
],
"threshold": 0.9
},
"deprecated": false
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dd598ac57dcae796cb58551074660c39b43fb155",
"signature_type": "Function",
"target": {
"function": "act_open_rpl",
"file": "drivers/infiniband/hw/cxgb4/cm.c"
},
"id": "CVE-2024-47749-cc7b7b0a",
"digest": {
"length": 3211.0,
"function_hash": "303859104633828982065790023847766442523"
},
"deprecated": false
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4e1fe68d695af367506ea3c794c5969630f21697",
"signature_type": "Function",
"target": {
"function": "act_open_rpl",
"file": "drivers/infiniband/hw/cxgb4/cm.c"
},
"id": "CVE-2024-47749-d4209736",
"digest": {
"length": 3211.0,
"function_hash": "303859104633828982065790023847766442523"
},
"deprecated": false
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4e1fe68d695af367506ea3c794c5969630f21697",
"signature_type": "Line",
"target": {
"file": "drivers/infiniband/hw/cxgb4/cm.c"
},
"id": "CVE-2024-47749-d958f78d",
"digest": {
"line_hashes": [
"168136651112104313203631873792622686301",
"286523305155950322251002095255533059036",
"257447668617351811839513796150708755701",
"109169922771926068238952132328771724486",
"299994994154264999866638232550245772780",
"266511270519072354308813772885561216363",
"154293056001447403472885461933491118124",
"148309628064145670062634298028817679841"
],
"threshold": 0.9
},
"deprecated": false
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b11318dc8a1ec565300bb1a9073095af817cc508",
"signature_type": "Line",
"target": {
"file": "drivers/infiniband/hw/cxgb4/cm.c"
},
"id": "CVE-2024-47749-dabc1532",
"digest": {
"line_hashes": [
"168136651112104313203631873792622686301",
"286523305155950322251002095255533059036",
"257447668617351811839513796150708755701",
"109169922771926068238952132328771724486",
"299994994154264999866638232550245772780",
"266511270519072354308813772885561216363",
"154293056001447403472885461933491118124",
"148309628064145670062634298028817679841"
],
"threshold": 0.9
},
"deprecated": false
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b12e25d91c7f97958341538c7dc63ee49d01548f",
"signature_type": "Line",
"target": {
"file": "drivers/infiniband/hw/cxgb4/cm.c"
},
"id": "CVE-2024-47749-dc0cc4c8",
"digest": {
"line_hashes": [
"168136651112104313203631873792622686301",
"286523305155950322251002095255533059036",
"257447668617351811839513796150708755701",
"109169922771926068238952132328771724486",
"299994994154264999866638232550245772780",
"266511270519072354308813772885561216363",
"154293056001447403472885461933491118124",
"148309628064145670062634298028817679841"
],
"threshold": 0.9
},
"deprecated": false
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0d50ae281a1712b9b2ca72830a96b8f11882358d",
"signature_type": "Line",
"target": {
"file": "drivers/infiniband/hw/cxgb4/cm.c"
},
"id": "CVE-2024-47749-f6a612ff",
"digest": {
"line_hashes": [
"168136651112104313203631873792622686301",
"286523305155950322251002095255533059036",
"257447668617351811839513796150708755701",
"109169922771926068238952132328771724486",
"299994994154264999866638232550245772780",
"266511270519072354308813772885561216363",
"154293056001447403472885461933491118124",
"148309628064145670062634298028817679841"
],
"threshold": 0.9
},
"deprecated": false
}
]