In the Linux kernel, the following vulnerability has been resolved:
RDMA/bnxt_re: Fix a possible memory leak
In bnxtresetupchipctx() when bnxtqplibmapdbbar() fails driver is not freeing the memory allocated for "rdev->chip_ctx".
[ { "signature_type": "Function", "id": "CVE-2024-50172-006cef33", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@73e04a6114e08b5eb10e589e12b680955accb376", "signature_version": "v1", "target": { "function": "bnxt_re_setup_chip_ctx", "file": "drivers/infiniband/hw/bnxt_re/main.c" }, "digest": { "function_hash": "223255563756965726985789257142656464796", "length": 731.0 }, "deprecated": false }, { "signature_type": "Line", "id": "CVE-2024-50172-03def6e7", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@73e04a6114e08b5eb10e589e12b680955accb376", "signature_version": "v1", "target": { "file": "drivers/infiniband/hw/bnxt_re/main.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "327709569814442922413425466983644358745", "125980097703032278916747611799102048365", "276803228942036440254665007930132732521", "265188703118965485839207601585727910131", "181366461222867319439527852404842448078" ] }, "deprecated": false }, { "signature_type": "Line", "id": "CVE-2024-50172-8349e45a", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@595fa9b17201028d35f92d450fc0ecda873fe469", "signature_version": "v1", "target": { "file": "drivers/infiniband/hw/bnxt_re/main.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "327709569814442922413425466983644358745", "125980097703032278916747611799102048365", "276803228942036440254665007930132732521", "265188703118965485839207601585727910131", "181366461222867319439527852404842448078" ] }, "deprecated": false }, { "signature_type": "Line", "id": "CVE-2024-50172-8c53d5ab", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3fc5410f225d1651580a4aeb7c72f55e28673b53", "signature_version": "v1", "target": { "file": "drivers/infiniband/hw/bnxt_re/main.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "185962907489307970803864288441499797328", "125980097703032278916747611799102048365", "276803228942036440254665007930132732521", "265188703118965485839207601585727910131", "181366461222867319439527852404842448078" ] }, "deprecated": false }, { "signature_type": "Function", "id": "CVE-2024-50172-b7a2172e", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@595fa9b17201028d35f92d450fc0ecda873fe469", "signature_version": "v1", "target": { "function": "bnxt_re_setup_chip_ctx", "file": "drivers/infiniband/hw/bnxt_re/main.c" }, "digest": { "function_hash": "223255563756965726985789257142656464796", "length": 731.0 }, "deprecated": false }, { "signature_type": "Function", "id": "CVE-2024-50172-df797dfa", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3fc5410f225d1651580a4aeb7c72f55e28673b53", "signature_version": "v1", "target": { "function": "bnxt_re_setup_chip_ctx", "file": "drivers/infiniband/hw/bnxt_re/main.c" }, "digest": { "function_hash": "229459197306931526948995529049988806897", "length": 751.0 }, "deprecated": false } ]