Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: driver: soc: xilinx: fix memory leak in xlnx_add_cb_for_notify_event() The kfree() should be called when memory fails to be allocated for cb_data in xlnx_add_cb_for_notify_event(), otherwise there will be a memory leak, so add kfree() to fix it.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 05e5ba40ea7ab6a99bb8d6117c899d0e13ca8700 before d35290addcbac94b076babe0a798a8c043421812; affected 05e5ba40ea7ab6a99bb8d6117c899d0e13ca8700 before 9dfb6c784e385f6e61994bb4e16ce12f3e4940be; affected 05e5ba40ea7ab6a99bb8d6117c899d0e13ca8700 before 1bea534991b9b35c41848a397666ada436456beb |
| Linux / Linux | affected 5.19; unaffected 0 before 5.19; unaffected 6.1.18 through 6.1.*; unaffected 6.2.5 through 6.2.*; unaffected 6.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/d35290addcbac94b076babe0a798a8c043421812
- https://git.kernel.org/stable/c/9dfb6c784e385f6e61994bb4e16ce12f3e4940be
- https://git.kernel.org/stable/c/1bea534991b9b35c41848a397666ada436456beb
ADP enrichment
No English description supplied.
No references supplied.