Bug 2334440 (CVE-2024-56572) - CVE-2024-56572 kernel: media: platform: allegro-dvt: Fix possible memory leak in allocate_buffers_internal()
Summary: CVE-2024-56572 kernel: media: platform: allegro-dvt: Fix possible memory leak...
Keywords:
Status: NEW
Alias: CVE-2024-56572
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-12-27 15:02 UTC by OSIDB Bzimport
Modified: 2025-01-20 14:38 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-12-27 15:02:11 UTC
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.

Comment 1 Avinash Hanwate 2024-12-28 08:43:41 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024122717-CVE-2024-56572-b0fd@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.