media: platform: allegro-dvt: Fix possible memory leak in allocate_buffers_internal()
In the Linux kernel, the following vulnerability has been resolved: media: platform: allegro-dvt: Fix possible memory leak in allocate_buffers_internal() The buffer in the loop should be released under the exception path, otherwise there may be a memory leak here. To mitigate this, free the buffer when allegro_alloc_buffer fails.
02 / AFFECTED SOFTWARE
Affected packages
03 / CONNECTIONS
Connected vulnerabilities
04 / EVIDENCE
Source records
In the Linux kernel, the following vulnerability has been resolved: media: platform: allegro-dvt: Fix possible memory leak in allocate_buffers_internal() The buffer in the loop should be released under the exception path, otherwise there may be a memory leak here. To mitigate this, free the buffer when allegro_alloc_buffer fails.
05 / REFERENCES
Further evidence
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
- https://git.kernel.org/stable/c/0f514068fbc5d4d189c817adc7c4e32cffdc2e47
- https://git.kernel.org/stable/c/17e5613666209be4e5be1f1894f1a6014a8a0658
- https://git.kernel.org/stable/c/64f72a738864b506ab50b4a6cb3ce3c3e04b71af
- https://git.kernel.org/stable/c/6712a28a4f923ffdf51cff267ad05a634ee1babc
- https://git.kernel.org/stable/c/74a65313578b35e1239966adfa7ac2bdd60caf00
- https://git.kernel.org/stable/c/891b5790bee8fc6ddba17874dd87a646128d0b99
- https://git.kernel.org/stable/c/cf642904be39ae0d441dbdfa8f485e0a46260be4
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56572.json
- https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html
- https://nvd.nist.gov/vuln/detail/CVE-2024-56572