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: <2025022648-CVE-2021-47645-ab28@gregkh>
Date: Wed, 26 Feb 2025 02:53:56 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2021-47645: media: staging: media: zoran: calculate the right buffer number for zoran_reap_stat_com

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

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

media: staging: media: zoran: calculate the right buffer number for zoran_reap_stat_com

On the case tmp_dcim=1, the index of buffer is miscalculated.
This generate a NULL pointer dereference later.

So let's fix the calcul and add a check to prevent this to reappear.

The Linux kernel CVE team has assigned CVE-2021-47645 to this issue.


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

	Fixed in 5.10.110 with commit bafec1a6ba4b187a7fcdcfce0faebdc623d4ef8e
	Fixed in 5.15.33 with commit 7e76f3ed7ab2ae026c6ef9cc23096a7554af8c52
	Fixed in 5.16.19 with commit 20db2ed1e2f9fcd417fa67853e5154f0c2537d6c
	Fixed in 5.17.2 with commit 20811bbe685ca3eddd34b0c750860427d7030910
	Fixed in 5.18 with commit e3b86f4e558cea9eed71d894df2f19b10d60a207

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-2021-47645
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/zoran/zoran_device.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/bafec1a6ba4b187a7fcdcfce0faebdc623d4ef8e
	https://git.kernel.org/stable/c/7e76f3ed7ab2ae026c6ef9cc23096a7554af8c52
	https://git.kernel.org/stable/c/20db2ed1e2f9fcd417fa67853e5154f0c2537d6c
	https://git.kernel.org/stable/c/20811bbe685ca3eddd34b0c750860427d7030910
	https://git.kernel.org/stable/c/e3b86f4e558cea9eed71d894df2f19b10d60a207

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ