In the Linux kernel, the following vulnerability has been resolved:
RDMA/irdma: Fix a window for use-after-free
During a destroy CQ an interrupt may cause processing of a CQE after CQ resources are freed by irdmacqfreersrc(). Fix this by moving the call to irdmacqfreersrc() after the irdmasccleanupceqes(), which is called under the cqlock.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50137.json"
}[
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"155782867931251511385371953269905046593",
"266765456160989854303536420098795647854",
"97260122146774105103563780801096527561",
"196959728076130838640481596635808623935",
"234056175017887846378591233069509109725",
"144426384076508437501546813244594552110",
"238896199840418876900780568985304742386"
]
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2022-50137-0259322f",
"target": {
"file": "drivers/infiniband/hw/irdma/verbs.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8ecef7890b3aea78c8bbb501a4b5b8134367b821"
},
{
"digest": {
"length": 729.0,
"function_hash": "103803051548315307702093095836794581118"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2022-50137-307fd14a",
"target": {
"function": "irdma_destroy_cq",
"file": "drivers/infiniband/hw/irdma/verbs.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8ecef7890b3aea78c8bbb501a4b5b8134367b821"
},
{
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"155782867931251511385371953269905046593",
"266765456160989854303536420098795647854",
"97260122146774105103563780801096527561",
"196959728076130838640481596635808623935",
"234056175017887846378591233069509109725",
"144426384076508437501546813244594552110",
"238896199840418876900780568985304742386"
]
},
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2022-50137-57943f80",
"target": {
"file": "drivers/infiniband/hw/irdma/verbs.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@92520864ef9f912f38b403d172a0ded020683d55"
},
{
"digest": {
"length": 664.0,
"function_hash": "67713685028318766975009612468450272887"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2022-50137-6f346881",
"target": {
"function": "irdma_destroy_cq",
"file": "drivers/infiniband/hw/irdma/verbs.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0abf2eef80295923b819ce89ff9edc1fe61be17c"
},
{
"digest": {
"length": 664.0,
"function_hash": "67713685028318766975009612468450272887"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2022-50137-7b82924f",
"target": {
"function": "irdma_destroy_cq",
"file": "drivers/infiniband/hw/irdma/verbs.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@92520864ef9f912f38b403d172a0ded020683d55"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"155782867931251511385371953269905046593",
"266765456160989854303536420098795647854",
"97260122146774105103563780801096527561",
"196959728076130838640481596635808623935",
"234056175017887846378591233069509109725",
"144426384076508437501546813244594552110",
"238896199840418876900780568985304742386"
]
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2022-50137-aa90a7be",
"target": {
"file": "drivers/infiniband/hw/irdma/verbs.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@350ac793a03c8a30a3f2b27fc282cd1c67070763"
},
{
"digest": {
"length": 729.0,
"function_hash": "103803051548315307702093095836794581118"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2022-50137-c5915209",
"target": {
"function": "irdma_destroy_cq",
"file": "drivers/infiniband/hw/irdma/verbs.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@350ac793a03c8a30a3f2b27fc282cd1c67070763"
},
{
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"155782867931251511385371953269905046593",
"266765456160989854303536420098795647854",
"97260122146774105103563780801096527561",
"196959728076130838640481596635808623935",
"234056175017887846378591233069509109725",
"144426384076508437501546813244594552110",
"238896199840418876900780568985304742386"
]
},
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2022-50137-ccf8847a",
"target": {
"file": "drivers/infiniband/hw/irdma/verbs.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0abf2eef80295923b819ce89ff9edc1fe61be17c"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50137.json"