# CVE-2024-56705: media: atomisp: Add check for rgby_data memory allocation failure

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- 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.27%, higher than 20% of CVEs (2026-12-02)
- Published: 2024-12-28T09:46:26.548Z
- Modified: 2026-06-17T08:12:47.487Z
- Weaknesses: CWE-617
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

media: atomisp: Add check for rgby_data memory allocation failure

In ia_css_3a_statistics_allocate(), there is no check on the allocation
result of the rgby_data memory. If rgby_data is not successfully
allocated, it may trigger the assert(host_stats->rgby_data) assertion in
ia_css_s3a_hmem_decode(). Adding a check to fix this potential issue.

(As written by CVE List.)

## Affected

- Linux Linux: from a49d25364dfb9f8a64037488a39ab1f56c5fa419 before 51b8dc5163d2ff2bf04019f8bf7e3bd0e75bb654; from ad85094b293e40e7a2f831b0311a389d952ebd5e before 0c24b82bc4d12c6a58ceacbf2598cd4df63abf9a; from ad85094b293e40e7a2f831b0311a389d952ebd5e before 4676e50444046b498555b849e6080a5c78cdda9b; from ad85094b293e40e7a2f831b0311a389d952ebd5e before 02a97d9d7ff605fa4a1f908d1bd3ad8573234b61; from ad85094b293e40e7a2f831b0311a389d952ebd5e before 8066badaf7463194473fb4be19dbe50b11969aa0; from ad85094b293e40e7a2f831b0311a389d952ebd5e before 74aa783682c4d78c69d87898e40c78df1fec204e; from ad85094b293e40e7a2f831b0311a389d952ebd5e before 0c25ab93f2878cab07d37ca5afd302283201e5af; from ad85094b293e40e7a2f831b0311a389d952ebd5e before ed61c59139509f76d3592683c90dc3fdc6e23cd6; 4.12; 5.8 (not affected: before 4.12; from 4.18 before 5.8; 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.11.11 up to 6.11.*; from 6.12.2 up to 6.12.*; from 6.13 up to *)
- linux linux_kernel: from 4.12 before 4.18; from 5.8 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.11.11; from 6.12 before 6.12.2
- debian debian_linux: 11.0

## References

- <https://git.kernel.org/stable/c/51b8dc5163d2ff2bf04019f8bf7e3bd0e75bb654> (patch)
- <https://git.kernel.org/stable/c/0c24b82bc4d12c6a58ceacbf2598cd4df63abf9a> (patch)
- <https://git.kernel.org/stable/c/4676e50444046b498555b849e6080a5c78cdda9b> (patch)
- <https://git.kernel.org/stable/c/02a97d9d7ff605fa4a1f908d1bd3ad8573234b61> (patch)
- <https://git.kernel.org/stable/c/8066badaf7463194473fb4be19dbe50b11969aa0> (patch)
- <https://git.kernel.org/stable/c/74aa783682c4d78c69d87898e40c78df1fec204e> (patch)
- <https://git.kernel.org/stable/c/0c25ab93f2878cab07d37ca5afd302283201e5af> (patch)
- <https://git.kernel.org/stable/c/ed61c59139509f76d3592683c90dc3fdc6e23cd6> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html> (mailing-list, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html> (mailing-list, third-party-advisory)

## Sources

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

---

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