Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 05e5ba40ea7ab6a99bb8d6117c899d0e13ca8700 before 272168927f38bda46f6c1ed5f40de97689e7a5d2; affected 05e5ba40ea7ab6a99bb8d6117c899d0e13ca8700 before 882d7afaa4b82c20a7be7a3a039532a80ebacd23; affected 05e5ba40ea7ab6a99bb8d6117c899d0e13ca8700 before 5a3bda42394ff137eb2d3d3d20d2956a8c6e9237; affected 05e5ba40ea7ab6a99bb8d6117c899d0e13ca8700 before 584d420771e1ad2bb74e19a19da8ae0fee0a6e1f; affected 05e5ba40ea7ab6a99bb8d6117c899d0e13ca8700 before 44ed4f90a97ff6f339e50ac01db71544e0990efc |
| Linux / Linux | affected 5.19; unaffected 0 before 5.19; unaffected 6.1.120 through 6.1.*; unaffected 6.6.64 through 6.6.*; unaffected 6.11.11 through 6.11.*; unaffected 6.12.2 through 6.12.*; unaffected 6.13 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/272168927f38bda46f6c1ed5f40de97689e7a5d2
- https://git.kernel.org/stable/c/882d7afaa4b82c20a7be7a3a039532a80ebacd23
- https://git.kernel.org/stable/c/5a3bda42394ff137eb2d3d3d20d2956a8c6e9237
- https://git.kernel.org/stable/c/584d420771e1ad2bb74e19a19da8ae0fee0a6e1f
- https://git.kernel.org/stable/c/44ed4f90a97ff6f339e50ac01db71544e0990efc
ADP enrichment
No English description supplied.