In the Linux kernel, the following vulnerability has been resolved:
RDMA/cxgb4: Fix potential null-ptr-deref in pass_establish()
If getepfrom_tid() fails to lookup non-NULL value for ep, ep is dereferenced later regardless of whether it is empty. This patch adds a simple sanity check to fix the issue.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2cfc00e974d75a3aa8155f2660f57d342e1f67ca",
"target": {
"function": "pass_establish",
"file": "drivers/infiniband/hw/cxgb4/cm.c"
},
"deprecated": false,
"id": "CVE-2023-53335-0d8accb3",
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"length": 824.0,
"function_hash": "39565915241528477950568354384812662177"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9dca64042d855a24b0bd81ce242e5dc7e939f6eb",
"target": {
"file": "drivers/infiniband/hw/cxgb4/cm.c"
},
"deprecated": false,
"id": "CVE-2023-53335-22a50b0e",
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"118745673298344560575292964235248281579",
"168099723041692887132252482048838131170",
"194364335631453776724313212996632435014",
"330934248787895631365222889312192783865"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@283861a4c52c1ea4df3dd1b6fc75a50796ce3524",
"target": {
"file": "drivers/infiniband/hw/cxgb4/cm.c"
},
"deprecated": false,
"id": "CVE-2023-53335-7f6a4d1e",
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"118745673298344560575292964235248281579",
"168099723041692887132252482048838131170",
"194364335631453776724313212996632435014",
"330934248787895631365222889312192783865"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2cfc00e974d75a3aa8155f2660f57d342e1f67ca",
"target": {
"file": "drivers/infiniband/hw/cxgb4/cm.c"
},
"deprecated": false,
"id": "CVE-2023-53335-994c896a",
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"118745673298344560575292964235248281579",
"168099723041692887132252482048838131170",
"194364335631453776724313212996632435014",
"330934248787895631365222889312192783865"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9ddc77eefb2a567b705c3c86ab2ddabe43cadf1b",
"target": {
"file": "drivers/infiniband/hw/cxgb4/cm.c"
},
"deprecated": false,
"id": "CVE-2023-53335-9cb6e8b9",
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"118745673298344560575292964235248281579",
"168099723041692887132252482048838131170",
"194364335631453776724313212996632435014",
"330934248787895631365222889312192783865"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9ddc77eefb2a567b705c3c86ab2ddabe43cadf1b",
"target": {
"function": "pass_establish",
"file": "drivers/infiniband/hw/cxgb4/cm.c"
},
"deprecated": false,
"id": "CVE-2023-53335-a13a191b",
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"length": 824.0,
"function_hash": "39565915241528477950568354384812662177"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9dca64042d855a24b0bd81ce242e5dc7e939f6eb",
"target": {
"function": "pass_establish",
"file": "drivers/infiniband/hw/cxgb4/cm.c"
},
"deprecated": false,
"id": "CVE-2023-53335-b9f9c577",
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"length": 824.0,
"function_hash": "39565915241528477950568354384812662177"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@283861a4c52c1ea4df3dd1b6fc75a50796ce3524",
"target": {
"function": "pass_establish",
"file": "drivers/infiniband/hw/cxgb4/cm.c"
},
"deprecated": false,
"id": "CVE-2023-53335-c41e0422",
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"length": 824.0,
"function_hash": "39565915241528477950568354384812662177"
}
}
]