lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2024122719-CVE-2024-56578-48e7@gregkh>
Date: Fri, 27 Dec 2024 15:23:29 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2024-56578: media: imx-jpeg: Set video drvdata before register video device

Description
===========

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

media: imx-jpeg: Set video drvdata before register video device

The video drvdata should be set before the video device is registered,
otherwise video_drvdata() may return NULL in the open() file ops, and led
to oops.

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


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

	Issue introduced in 5.13 with commit 2db16c6ed72ce644d5639b3ed15e5817442db4ba and fixed in 5.15.174 with commit f68bb1210fbea252552d97242757f69a219e942b
	Issue introduced in 5.13 with commit 2db16c6ed72ce644d5639b3ed15e5817442db4ba and fixed in 6.1.120 with commit b88556e82dc18cb708744d062770853a2d5095b2
	Issue introduced in 5.13 with commit 2db16c6ed72ce644d5639b3ed15e5817442db4ba and fixed in 6.6.64 with commit 68efeff2f7fccdfedc55f92e92be32997127d16e
	Issue introduced in 5.13 with commit 2db16c6ed72ce644d5639b3ed15e5817442db4ba and fixed in 6.12.4 with commit 5ade59d28eade49194eb09765afdeb0ba717c39a
	Issue introduced in 5.13 with commit 2db16c6ed72ce644d5639b3ed15e5817442db4ba and fixed in 6.13-rc1 with commit d2b7ecc26bd5406d5ba927be1748aa99c568696c

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-56578
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/media/platform/nxp/imx-jpeg/mxc-jpeg.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/f68bb1210fbea252552d97242757f69a219e942b
	https://git.kernel.org/stable/c/b88556e82dc18cb708744d062770853a2d5095b2
	https://git.kernel.org/stable/c/68efeff2f7fccdfedc55f92e92be32997127d16e
	https://git.kernel.org/stable/c/5ade59d28eade49194eb09765afdeb0ba717c39a
	https://git.kernel.org/stable/c/d2b7ecc26bd5406d5ba927be1748aa99c568696c

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ