In the Linux kernel, the following vulnerability has been resolved:
RDMA/mlx5: Fix memory leak in error flow for subscribe event routine
In case the second xainsert() fails, the objevent is not released. Fix the error unwind flow to free that memory to avoid a memory leak.
[
{
"id": "CVE-2022-49206-014cec43",
"deprecated": false,
"digest": {
"length": 779.0,
"function_hash": "340213011275183065388853611583351706588"
},
"signature_version": "v1",
"target": {
"function": "subscribe_event_xa_alloc",
"file": "drivers/infiniband/hw/mlx5/devx.c"
},
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d66498507801fd9a20307a15a0814a0a016c3cde"
},
{
"id": "CVE-2022-49206-1291af1e",
"deprecated": false,
"digest": {
"length": 779.0,
"function_hash": "340213011275183065388853611583351706588"
},
"signature_version": "v1",
"target": {
"function": "subscribe_event_xa_alloc",
"file": "drivers/infiniband/hw/mlx5/devx.c"
},
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@414b4e8738484379f18d6c4e780787c80dbf8a2c"
},
{
"id": "CVE-2022-49206-4072f245",
"deprecated": false,
"digest": {
"length": 779.0,
"function_hash": "340213011275183065388853611583351706588"
},
"signature_version": "v1",
"target": {
"function": "subscribe_event_xa_alloc",
"file": "drivers/infiniband/hw/mlx5/devx.c"
},
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0174a89663a5ef83617da15bf24c0af2f62b6c7f"
},
{
"id": "CVE-2022-49206-42d432ac",
"deprecated": false,
"digest": {
"line_hashes": [
"314342901200867193244980808392623591754",
"200669764492197930688751458458953066918",
"271551125253089382497204122477993995553",
"179772489962070150740885060935906091468",
"54210541533811062552538149482859476394"
],
"threshold": 0.9
},
"signature_version": "v1",
"target": {
"file": "drivers/infiniband/hw/mlx5/devx.c"
},
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d66498507801fd9a20307a15a0814a0a016c3cde"
},
{
"id": "CVE-2022-49206-5a6069da",
"deprecated": false,
"digest": {
"length": 779.0,
"function_hash": "340213011275183065388853611583351706588"
},
"signature_version": "v1",
"target": {
"function": "subscribe_event_xa_alloc",
"file": "drivers/infiniband/hw/mlx5/devx.c"
},
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c98d903ff9e79c210beddea4e6bc15ac38e25aa5"
},
{
"id": "CVE-2022-49206-a354c2aa",
"deprecated": false,
"digest": {
"line_hashes": [
"314342901200867193244980808392623591754",
"200669764492197930688751458458953066918",
"271551125253089382497204122477993995553",
"179772489962070150740885060935906091468",
"54210541533811062552538149482859476394"
],
"threshold": 0.9
},
"signature_version": "v1",
"target": {
"file": "drivers/infiniband/hw/mlx5/devx.c"
},
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@087f9c3f2309ed183f7e4b85ae57121d8663224d"
},
{
"id": "CVE-2022-49206-a3cf02f7",
"deprecated": false,
"digest": {
"length": 779.0,
"function_hash": "340213011275183065388853611583351706588"
},
"signature_version": "v1",
"target": {
"function": "subscribe_event_xa_alloc",
"file": "drivers/infiniband/hw/mlx5/devx.c"
},
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@087f9c3f2309ed183f7e4b85ae57121d8663224d"
},
{
"id": "CVE-2022-49206-a95285f3",
"deprecated": false,
"digest": {
"line_hashes": [
"314342901200867193244980808392623591754",
"200669764492197930688751458458953066918",
"271551125253089382497204122477993995553",
"179772489962070150740885060935906091468",
"54210541533811062552538149482859476394"
],
"threshold": 0.9
},
"signature_version": "v1",
"target": {
"file": "drivers/infiniband/hw/mlx5/devx.c"
},
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c98d903ff9e79c210beddea4e6bc15ac38e25aa5"
},
{
"id": "CVE-2022-49206-c357fee7",
"deprecated": false,
"digest": {
"line_hashes": [
"314342901200867193244980808392623591754",
"200669764492197930688751458458953066918",
"271551125253089382497204122477993995553",
"179772489962070150740885060935906091468",
"54210541533811062552538149482859476394"
],
"threshold": 0.9
},
"signature_version": "v1",
"target": {
"file": "drivers/infiniband/hw/mlx5/devx.c"
},
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0174a89663a5ef83617da15bf24c0af2f62b6c7f"
},
{
"id": "CVE-2022-49206-cd10c64a",
"deprecated": false,
"digest": {
"line_hashes": [
"314342901200867193244980808392623591754",
"200669764492197930688751458458953066918",
"271551125253089382497204122477993995553",
"179772489962070150740885060935906091468",
"54210541533811062552538149482859476394"
],
"threshold": 0.9
},
"signature_version": "v1",
"target": {
"file": "drivers/infiniband/hw/mlx5/devx.c"
},
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@414b4e8738484379f18d6c4e780787c80dbf8a2c"
},
{
"id": "CVE-2022-49206-d7a374d9",
"deprecated": false,
"digest": {
"length": 779.0,
"function_hash": "340213011275183065388853611583351706588"
},
"signature_version": "v1",
"target": {
"function": "subscribe_event_xa_alloc",
"file": "drivers/infiniband/hw/mlx5/devx.c"
},
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8dd392e352d3269938fea32061a74655a613f929"
},
{
"id": "CVE-2022-49206-e3cc394e",
"deprecated": false,
"digest": {
"line_hashes": [
"314342901200867193244980808392623591754",
"200669764492197930688751458458953066918",
"271551125253089382497204122477993995553",
"179772489962070150740885060935906091468",
"54210541533811062552538149482859476394"
],
"threshold": 0.9
},
"signature_version": "v1",
"target": {
"file": "drivers/infiniband/hw/mlx5/devx.c"
},
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8dd392e352d3269938fea32061a74655a613f929"
}
]