In the Linux kernel, the following vulnerability has been resolved:
RDMA/irdma: Fix potential NULL-ptr-dereference
indevget() can return NULL which will cause a failure once idev is dereferenced in indevforeachifa_rtnl(). This patch adds a check for NULL value in idev beforehand.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
[
{
"id": "CVE-2023-52744-1cb100de",
"signature_type": "Function",
"digest": {
"length": 1726.0,
"function_hash": "280434228568435550742935887767577730200"
},
"signature_version": "v1",
"target": {
"function": "irdma_add_mqh_4",
"file": "drivers/infiniband/hw/irdma/cm.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@360682fe7df262d94fae54f737c487bec0f9190d",
"deprecated": false
},
{
"id": "CVE-2023-52744-405ef841",
"signature_type": "Line",
"digest": {
"line_hashes": [
"207066822638069937467868338208967354201",
"267324825906256615794859990451728360359",
"259302073096890781273565958864211798091",
"300707881116094421137432285325152581146"
],
"threshold": 0.9
},
"signature_version": "v1",
"target": {
"file": "drivers/infiniband/hw/irdma/cm.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5d9745cead1f121974322b94ceadfb4d1e67960e",
"deprecated": false
},
{
"id": "CVE-2023-52744-7a8db641",
"signature_type": "Line",
"digest": {
"line_hashes": [
"207066822638069937467868338208967354201",
"267324825906256615794859990451728360359",
"259302073096890781273565958864211798091",
"300707881116094421137432285325152581146"
],
"threshold": 0.9
},
"signature_version": "v1",
"target": {
"file": "drivers/infiniband/hw/irdma/cm.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8f5fe1cd8e6a97f94840b55f59ed08cbc397086f",
"deprecated": false
},
{
"id": "CVE-2023-52744-cb5e44f6",
"signature_type": "Line",
"digest": {
"line_hashes": [
"207066822638069937467868338208967354201",
"267324825906256615794859990451728360359",
"259302073096890781273565958864211798091",
"300707881116094421137432285325152581146"
],
"threshold": 0.9
},
"signature_version": "v1",
"target": {
"file": "drivers/infiniband/hw/irdma/cm.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@360682fe7df262d94fae54f737c487bec0f9190d",
"deprecated": false
},
{
"id": "CVE-2023-52744-da6071e2",
"signature_type": "Function",
"digest": {
"length": 1737.0,
"function_hash": "3634154692737479780093847845028134273"
},
"signature_version": "v1",
"target": {
"function": "irdma_add_mqh_4",
"file": "drivers/infiniband/hw/irdma/cm.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8f5fe1cd8e6a97f94840b55f59ed08cbc397086f",
"deprecated": false
},
{
"id": "CVE-2023-52744-ee8d75a7",
"signature_type": "Function",
"digest": {
"length": 1726.0,
"function_hash": "280434228568435550742935887767577730200"
},
"signature_version": "v1",
"target": {
"function": "irdma_add_mqh_4",
"file": "drivers/infiniband/hw/irdma/cm.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5d9745cead1f121974322b94ceadfb4d1e67960e",
"deprecated": false
}
]