All of lore.kernel.org
 help / color / mirror / Atom feed
* CVE-2024-56705: media: atomisp: Add check for rgby_data memory allocation failure
@ 2024-12-28  9:45 Greg Kroah-Hartman
  2025-04-23  7:54 ` Michal Hocko
  0 siblings, 1 reply; 9+ messages in thread
From: Greg Kroah-Hartman @ 2024-12-28  9:45 UTC (permalink / raw)
  To: linux-cve-announce; +Cc: Greg Kroah-Hartman

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.

The Linux kernel CVE team has assigned CVE-2024-56705 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 4.12 with commit a49d25364dfb9f8a64037488a39ab1f56c5fa419 and fixed in 5.10.231 with commit 0c24b82bc4d12c6a58ceacbf2598cd4df63abf9a
	Issue introduced in 4.12 with commit a49d25364dfb9f8a64037488a39ab1f56c5fa419 and fixed in 5.15.174 with commit 4676e50444046b498555b849e6080a5c78cdda9b
	Issue introduced in 4.12 with commit a49d25364dfb9f8a64037488a39ab1f56c5fa419 and fixed in 6.1.120 with commit 02a97d9d7ff605fa4a1f908d1bd3ad8573234b61
	Issue introduced in 4.12 with commit a49d25364dfb9f8a64037488a39ab1f56c5fa419 and fixed in 6.6.64 with commit 8066badaf7463194473fb4be19dbe50b11969aa0
	Issue introduced in 4.12 with commit a49d25364dfb9f8a64037488a39ab1f56c5fa419 and fixed in 6.11.11 with commit 74aa783682c4d78c69d87898e40c78df1fec204e
	Issue introduced in 4.12 with commit a49d25364dfb9f8a64037488a39ab1f56c5fa419 and fixed in 6.12.2 with commit 0c25ab93f2878cab07d37ca5afd302283201e5af
	Issue introduced in 4.12 with commit a49d25364dfb9f8a64037488a39ab1f56c5fa419 and fixed in 6.13-rc1 with commit ed61c59139509f76d3592683c90dc3fdc6e23cd6

Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to
older supported kernel versions.  The official CVE entry at
	https://cve.org/CVERecord/?id=CVE-2024-56705
will be updated if fixes are backported, please check that for the most
up to date information about this issue.


Affected files
==============

The file(s) affected by this issue are:
	drivers/staging/media/atomisp/pci/sh_css_params.c


Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes.  Individual
changes are never tested alone, but rather are part of a larger kernel
release.  Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all.  If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
	https://git.kernel.org/stable/c/0c24b82bc4d12c6a58ceacbf2598cd4df63abf9a
	https://git.kernel.org/stable/c/4676e50444046b498555b849e6080a5c78cdda9b
	https://git.kernel.org/stable/c/02a97d9d7ff605fa4a1f908d1bd3ad8573234b61
	https://git.kernel.org/stable/c/8066badaf7463194473fb4be19dbe50b11969aa0
	https://git.kernel.org/stable/c/74aa783682c4d78c69d87898e40c78df1fec204e
	https://git.kernel.org/stable/c/0c25ab93f2878cab07d37ca5afd302283201e5af
	https://git.kernel.org/stable/c/ed61c59139509f76d3592683c90dc3fdc6e23cd6

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-04-24 13:48 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-28  9:45 CVE-2024-56705: media: atomisp: Add check for rgby_data memory allocation failure Greg Kroah-Hartman
2025-04-23  7:54 ` Michal Hocko
2025-04-23  8:21   ` Greg Kroah-Hartman
2025-04-23  9:18     ` Michal Hocko
2025-04-23 10:20       ` Greg Kroah-Hartman
2025-04-23 11:25         ` Michal Hocko
2025-04-23 14:50           ` Greg Kroah-Hartman
2025-04-24  9:59             ` Michal Hocko
2025-04-24 13:48               ` Greg Kroah-Hartman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.