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.
[
{
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/infiniband/hw/mlx5/devx.c",
"function": "subscribe_event_xa_alloc"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d66498507801fd9a20307a15a0814a0a016c3cde",
"digest": {
"length": 779.0,
"function_hash": "340213011275183065388853611583351706588"
},
"id": "CVE-2022-49206-014cec43"
},
{
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/infiniband/hw/mlx5/devx.c",
"function": "subscribe_event_xa_alloc"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@414b4e8738484379f18d6c4e780787c80dbf8a2c",
"digest": {
"length": 779.0,
"function_hash": "340213011275183065388853611583351706588"
},
"id": "CVE-2022-49206-1291af1e"
},
{
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/infiniband/hw/mlx5/devx.c",
"function": "subscribe_event_xa_alloc"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0174a89663a5ef83617da15bf24c0af2f62b6c7f",
"digest": {
"length": 779.0,
"function_hash": "340213011275183065388853611583351706588"
},
"id": "CVE-2022-49206-4072f245"
},
{
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/infiniband/hw/mlx5/devx.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d66498507801fd9a20307a15a0814a0a016c3cde",
"digest": {
"line_hashes": [
"314342901200867193244980808392623591754",
"200669764492197930688751458458953066918",
"271551125253089382497204122477993995553",
"179772489962070150740885060935906091468",
"54210541533811062552538149482859476394"
],
"threshold": 0.9
},
"id": "CVE-2022-49206-42d432ac"
},
{
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/infiniband/hw/mlx5/devx.c",
"function": "subscribe_event_xa_alloc"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c98d903ff9e79c210beddea4e6bc15ac38e25aa5",
"digest": {
"length": 779.0,
"function_hash": "340213011275183065388853611583351706588"
},
"id": "CVE-2022-49206-5a6069da"
},
{
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/infiniband/hw/mlx5/devx.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@087f9c3f2309ed183f7e4b85ae57121d8663224d",
"digest": {
"line_hashes": [
"314342901200867193244980808392623591754",
"200669764492197930688751458458953066918",
"271551125253089382497204122477993995553",
"179772489962070150740885060935906091468",
"54210541533811062552538149482859476394"
],
"threshold": 0.9
},
"id": "CVE-2022-49206-a354c2aa"
},
{
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/infiniband/hw/mlx5/devx.c",
"function": "subscribe_event_xa_alloc"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@087f9c3f2309ed183f7e4b85ae57121d8663224d",
"digest": {
"length": 779.0,
"function_hash": "340213011275183065388853611583351706588"
},
"id": "CVE-2022-49206-a3cf02f7"
},
{
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/infiniband/hw/mlx5/devx.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c98d903ff9e79c210beddea4e6bc15ac38e25aa5",
"digest": {
"line_hashes": [
"314342901200867193244980808392623591754",
"200669764492197930688751458458953066918",
"271551125253089382497204122477993995553",
"179772489962070150740885060935906091468",
"54210541533811062552538149482859476394"
],
"threshold": 0.9
},
"id": "CVE-2022-49206-a95285f3"
},
{
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/infiniband/hw/mlx5/devx.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0174a89663a5ef83617da15bf24c0af2f62b6c7f",
"digest": {
"line_hashes": [
"314342901200867193244980808392623591754",
"200669764492197930688751458458953066918",
"271551125253089382497204122477993995553",
"179772489962070150740885060935906091468",
"54210541533811062552538149482859476394"
],
"threshold": 0.9
},
"id": "CVE-2022-49206-c357fee7"
},
{
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/infiniband/hw/mlx5/devx.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@414b4e8738484379f18d6c4e780787c80dbf8a2c",
"digest": {
"line_hashes": [
"314342901200867193244980808392623591754",
"200669764492197930688751458458953066918",
"271551125253089382497204122477993995553",
"179772489962070150740885060935906091468",
"54210541533811062552538149482859476394"
],
"threshold": 0.9
},
"id": "CVE-2022-49206-cd10c64a"
},
{
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/infiniband/hw/mlx5/devx.c",
"function": "subscribe_event_xa_alloc"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8dd392e352d3269938fea32061a74655a613f929",
"digest": {
"length": 779.0,
"function_hash": "340213011275183065388853611583351706588"
},
"id": "CVE-2022-49206-d7a374d9"
},
{
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/infiniband/hw/mlx5/devx.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8dd392e352d3269938fea32061a74655a613f929",
"digest": {
"line_hashes": [
"314342901200867193244980808392623591754",
"200669764492197930688751458458953066918",
"271551125253089382497204122477993995553",
"179772489962070150740885060935906091468",
"54210541533811062552538149482859476394"
],
"threshold": 0.9
},
"id": "CVE-2022-49206-e3cc394e"
}
]