# CVE-2024-56572: media: platform: allegro-dvt: Fix possible memory leak in allocate_buffers_internal()

- Severity: Low 3.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-02)
- Published: 2024-12-27T14:23:15.298Z
- Modified: 2026-06-17T08:12:26.523Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from f20387dfd065693ba7ea2788a2f893bf653c9cb8 before cf642904be39ae0d441dbdfa8f485e0a46260be4; from f20387dfd065693ba7ea2788a2f893bf653c9cb8 before 74a65313578b35e1239966adfa7ac2bdd60caf00; from f20387dfd065693ba7ea2788a2f893bf653c9cb8 before 64f72a738864b506ab50b4a6cb3ce3c3e04b71af; from f20387dfd065693ba7ea2788a2f893bf653c9cb8 before 17e5613666209be4e5be1f1894f1a6014a8a0658; from f20387dfd065693ba7ea2788a2f893bf653c9cb8 before 6712a28a4f923ffdf51cff267ad05a634ee1babc; from f20387dfd065693ba7ea2788a2f893bf653c9cb8 before 891b5790bee8fc6ddba17874dd87a646128d0b99; from f20387dfd065693ba7ea2788a2f893bf653c9cb8 before 0f514068fbc5d4d189c817adc7c4e32cffdc2e47; 5.3 (not affected: before 5.3; from 5.4.287 up to 5.4.*; from 5.10.231 up to 5.10.*; from 5.15.174 up to 5.15.*; from 6.1.120 up to 6.1.*; from 6.6.64 up to 6.6.*; from 6.12.4 up to 6.12.*; from 6.13 up to *)
- linux linux_kernel: from 5.3 before 5.4.287; from 5.5 before 5.10.231; from 5.11 before 5.15.174; from 5.16 before 6.1.120; from 6.2 before 6.6.64; from 6.7 before 6.12.4

## Every score

- CISA-ADP: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/cf642904be39ae0d441dbdfa8f485e0a46260be4> (patch)
- <https://git.kernel.org/stable/c/74a65313578b35e1239966adfa7ac2bdd60caf00> (patch)
- <https://git.kernel.org/stable/c/64f72a738864b506ab50b4a6cb3ce3c3e04b71af> (patch)
- <https://git.kernel.org/stable/c/17e5613666209be4e5be1f1894f1a6014a8a0658> (patch)
- <https://git.kernel.org/stable/c/6712a28a4f923ffdf51cff267ad05a634ee1babc> (patch)
- <https://git.kernel.org/stable/c/891b5790bee8fc6ddba17874dd87a646128d0b99> (patch)
- <https://git.kernel.org/stable/c/0f514068fbc5d4d189c817adc7c4e32cffdc2e47> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>

## Sources

- CVE List: [CVE-2024-56572](https://www.cve.org/CVERecord?id=CVE-2024-56572), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-56572](https://nvd.nist.gov/vuln/detail/CVE-2024-56572), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-56572 · Whole record: https://cve.day/CVE-2024-56572.json · Rebuilt by cve.day 2026-11-25T22:58:50.456Z
