drivers: soc: xilinx: add the missing kfree in xlnx_add_cb_for_suspend() (Linux Linux)

CVE-2024-56546
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.22 % · percentile 13 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: drivers: soc: xilinx: add the missing kfree in xlnx_add_cb_for_suspend() If we fail to allocate memory for cb_data by kmalloc, the memory allocation for eve_data is never freed, add the missing kfree() in the error handling path.

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 05e5ba40ea7ab6a99bb8d6117c899d0e13ca8700 < 272168927f38bda46f6c1ed5f40de97689e7a5d2 ; affected 05e5ba40ea7ab6a99bb8d6117c899d0e13ca8700 < 882d7afaa4b82c20a7be7a3a039532a80ebacd23 ; affected 05e5ba40ea7ab6a99bb8d6117c899d0e13ca8700 < 5a3bda42394ff137eb2d3d3d20d2956a8c6e9237 ; affected 05e5ba40ea7ab6a99bb8d6117c899d0e13ca8700 < 584d420771e1ad2bb74e19a19da8ae0fee0a6e1f ; affected 05e5ba40ea7ab6a99bb8d6117c899d0e13ca8700 < 44ed4f90a97ff6f339e50ac01db71544e0990efc
Linux · Linuxaffected 5.19 ; unaffected 0 < 5.19 ; unaffected 6.1.120 ≤ 6.1.* ; unaffected 6.6.64 ≤ 6.6.* ; unaffected 6.11.11 ≤ 6.11.* ; unaffected 6.12.2 ≤ 6.12.*

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