net/mlx5e: fix memory leak in mlx5e_ptp_open (Linux Linux)

CVE-2023-54169
Not available

At a glance

Source
NVD
EPSS
EPSS 0.20 % · percentile 10 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Deferred

Description

In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: fix memory leak in mlx5e_ptp_open When kvzalloc_node or kvzalloc failed in mlx5e_ptp_open, the memory pointed by "c" or "cparams" is not freed, which can lead to a memory leak. Fix by freeing the array in the error path.

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 145e5637d941daec2e8d1ff21676cbf1aa62cf4d < 4892e1e548b5bd6524c1c89df06e4849df26fc20 ; affected 145e5637d941daec2e8d1ff21676cbf1aa62cf4d < 83a8f7337a14cdb215c76a8f4cf3f3be8b59177d ; affected 145e5637d941daec2e8d1ff21676cbf1aa62cf4d < 7035e3ae600c4e9cb3dc220c24dd77112ddff8b1 ; affected 145e5637d941daec2e8d1ff21676cbf1aa62cf4d < d543b649ffe58a0cb4b6948b3305069c5980a1fa
Linux · Linuxaffected 5.11 ; unaffected 0 < 5.11 ; unaffected 5.15.121 ≤ 5.15.* ; unaffected 6.1.40 ≤ 6.1.* ; unaffected 6.4.5 ≤ 6.4.* ; unaffected 6.5 ≤ *

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