CVE-2024-56572Published Dec 27, 2024 · Dec 27Updated Oct 28
media: platform: allegro-dvt: Fix possible memory leak in allocate_buffers_internal()
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ f20387dfd065693ba7ea2788a2f893bf653c9cb8 · < 891b5790bee8fc6ddba17874dd87a646128d0b99| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's allegro-dvt driver may leak a buffer when allegro_alloc_buffer fails during allocate_buffers_internal(). The input does not establish whether an attacker can trigger the failure or specify access or user-interaction requirements.
Engineers running Linux kernels with the allegro-dvt driver should check their builds; affected versions are not specified.