net/mlx5: DR, fix memory leak in mlx5dr_cmd_create_reformat_ctx (Linux Linux)

CVE-2023-53546
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.16 % · percentile 5 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: net/mlx5: DR, fix memory leak in mlx5dr_cmd_create_reformat_ctx when mlx5_cmd_exec failed in mlx5dr_cmd_create_reformat_ctx, the memory pointed by 'in' is not released, which will cause memory leak. Move memory release after mlx5_cmd_exec.

Weaknesses (CWE)

  • CWE-401 — Missing Release of Memory after Effective Lifetime

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 1d9186476e12c85dc81a0f01f5c614a9683af7f2 < 800d8c96bf997da5eb76ccf8d88795c4231c83fb ; affected 1d9186476e12c85dc81a0f01f5c614a9683af7f2 < 165159854757dbae0dfd1812b27051da35aa6223 ; affected 1d9186476e12c85dc81a0f01f5c614a9683af7f2 < 00cecb0a8f9e7a21754d5ad85813ab6b47b3308f ; affected 1d9186476e12c85dc81a0f01f5c614a9683af7f2 < 3169c3854397f3070a63b1b772db16dcb8cba7b4 ; affected 1d9186476e12c85dc81a0f01f5c614a9683af7f2 < 622d71d99124e69f7bf2e2b7a89f5f444a24d235 ; affected 1d9186476e12c85dc81a0f01f5c614a9683af7f2 < 5dd77585dd9d0e03dd1bceb95f0269a7eaf6b936
Linux · Linuxaffected 5.4 ; unaffected 0 < 5.4 ; unaffected 5.4.253 ≤ 5.4.* ; unaffected 5.10.190 ≤ 5.10.* ; unaffected 5.15.126 ≤ 5.15.* ; unaffected 6.1.45 ≤ 6.1.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD