Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CB0D819DF75 for ; Wed, 26 Feb 2025 01:57:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740535063; cv=none; b=bbhlVpB93tr9uIjJcLk6pDSSHenMi1OhLThEhmgNfTGSgA37+NbQ9bATv5QxwVYOTXvTHOTyjKrdnbJUTd+9W0gb5Q44F1IH2PkQ6DJvE6Jrm7IJMBTV2goGhONRWeB2ejop7pp87xO3OuZaC4Ho+b8btYt5SsFqjdDDreIl+7A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740535063; c=relaxed/simple; bh=mUVpNzxF8yx5MNXrPDytWfEvBogkm5gICq3oQLiHITc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=qoYurVc4nyl4Rf+Y2lHmCoG7LE+45hyCyfJJ5keIdtC4zmVAXdPti/TgtqE0+YQdNrKwuHB6cPOYXU972afsysOBMklJIn7Jv6yHx4z7SCOvPMBl41a3CwuWMxfZWgGoWUj5Y58vGi00HzR522H31xEuoel+PIpsdP5L27cPy9E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=DcHTkv7d; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="DcHTkv7d" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9BE22C4CEDD; Wed, 26 Feb 2025 01:57:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740535063; bh=mUVpNzxF8yx5MNXrPDytWfEvBogkm5gICq3oQLiHITc=; h=From:To:Cc:Subject:Date:Reply-to:From; b=DcHTkv7dCZzhGzfLpRV2eH+7b8k2PeGn6EO2jFPVUgDTjZk2xuT6duBNHLZZYYOg+ jaaXHXsvTYRGAH1DpwYYFcNc7dj/ChvrSTmGDdhSUFXgXUSqXLEFMuAD0GtOeS5B6v KEm8Flaxs/fVLRCS5KHwGzyV+xHTZGMBEqdy6sWE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2021-47644: media: staging: media: zoran: move videodev alloc Date: Wed, 26 Feb 2025 02:53:55 +0100 Message-ID: <2025022648-CVE-2021-47644-b267@gregkh> X-Mailer: git-send-email 2.48.1 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2295; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=mUVpNzxF8yx5MNXrPDytWfEvBogkm5gICq3oQLiHITc=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7SnQMy97ybWxYJLTTzWvGhn8CxcXHlT2+8S0NjTwn9 t7w1u3GjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiI6jSGBatluafss0nt+LJw 15Ybxoymbg2PFjIsOOy6fuH7858eR18NqdS58kL7dJNDFwA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: media: staging: media: zoran: move videodev alloc Move some code out of zr36057_init() and create new functions for handling zr->video_dev. This permit to ease code reading and fix a zr->video_dev memory leak. The Linux kernel CVE team has assigned CVE-2021-47644 to this issue. Affected and fixed versions =========================== Fixed in 5.10.110 with commit bd01629315ffd5b63da91d0bd529a77d30e55028 Fixed in 5.15.33 with commit ff3357bffd9fb78f59762d8955afc7382a279079 Fixed in 5.16.19 with commit c1ba65100a359fe28cfe37e09e10c99f247cbf1e Fixed in 5.17.2 with commit 1e501ec38796f43e995731d1bcd4173cb1ccfce0 Fixed in 5.18 with commit 82e3a496eb56da0b9f29fdc5b63cedb3289e91de 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-47644 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.h drivers/staging/media/zoran/zoran_card.c drivers/staging/media/zoran/zoran_driver.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/bd01629315ffd5b63da91d0bd529a77d30e55028 https://git.kernel.org/stable/c/ff3357bffd9fb78f59762d8955afc7382a279079 https://git.kernel.org/stable/c/c1ba65100a359fe28cfe37e09e10c99f247cbf1e https://git.kernel.org/stable/c/1e501ec38796f43e995731d1bcd4173cb1ccfce0 https://git.kernel.org/stable/c/82e3a496eb56da0b9f29fdc5b63cedb3289e91de