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 9D5AF1A2399 for ; Wed, 26 Feb 2025 01:57:35 +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=1740535055; cv=none; b=ubFHjHZ7gLHFI8GIS8fraFLINuCvJW72q+hvUi7ioVhKjiJJFqe2jFHHbLSLZBXa46PI9qdzFLWUvrM6JVIK7ubUtGuEpgO1LVFhlBgUhwbkfRtqlRku2PmKTjgwN38eAiscFoxqWoku+Cvbu0Iov+/TY4qENwvqmgQmKq54Eiw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740535055; c=relaxed/simple; bh=HHzkIjDMdN339/WZbXhqCBZu+VlpKqOwwwtfeUIejs4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=oLGUQd2vtnwzLPvO5wmZBd5EqoRZO/0oA137V2gUCuWXLBL0TfILSCkq5X+HvPGbJ/OiM5IHR/kGLuiGP464gPJaD/6Yz1OJVw36ZzzFyYk9N2jXkL6vrPEF4fpBt22ARAVKd+C+58rk6D7MtS+s/EMPPP4QnwbqiaWjrQ65McA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=czwFmnOy; 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="czwFmnOy" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 62B05C4CEDD; Wed, 26 Feb 2025 01:57:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740535055; bh=HHzkIjDMdN339/WZbXhqCBZu+VlpKqOwwwtfeUIejs4=; h=From:To:Cc:Subject:Date:Reply-to:From; b=czwFmnOyMvRokQNdcRMTqVjGUkD+pSfsI4yntSy+vMyJFUjH2/GzNZzGS01vZeb7S kzElikxMiIILoidx67cY+vDJo5UM5EK6gqYWXD48eQmzrWNH+fKSzQXjBhBpPj5DKQ FJ1M8Z5J2/61xg9QRTjQ8dADH70XdNyQhAZ7isk4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2021-47643: media: ir_toy: free before error exiting Date: Wed, 26 Feb 2025 02:53:54 +0100 Message-ID: <2025022647-CVE-2021-47643-0b4b@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=2050; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=HHzkIjDMdN339/WZbXhqCBZu+VlpKqOwwwtfeUIejs4=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7SnS8jrZxnTlSkLdAp6XKc4JAV84xQ6v+Ur2D7SpNJ zSsOxs7YlkYBJkYZMUUWb5s4zm6v+KQopeh7WmYOaxMIEMYuDgFYCLBGQwLTi9IuGJzKmHDHhZX +SUfzyt2eK5hZJiff2Texey/xbfq9m5K+ONddT3mcUE6AA== 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: ir_toy: free before error exiting Fix leak in error path. The Linux kernel CVE team has assigned CVE-2021-47643 to this issue. Affected and fixed versions =========================== Fixed in 5.10.110 with commit 99e3f83539cac6884a4df02cb204a57a184ea12b Fixed in 5.15.33 with commit 2011363c196846c083649c91ed30aeef64358d52 Fixed in 5.16.19 with commit 382e0f6958ef34eb093127b6d74c12f3b8fd0904 Fixed in 5.17.2 with commit 93ef3fdf3b6633c58f049e5a6be755777dde4340 Fixed in 5.18 with commit 52cdb013036391d9d87aba5b4fc49cdfc6ea4b23 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-47643 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/rc/ir_toy.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/99e3f83539cac6884a4df02cb204a57a184ea12b https://git.kernel.org/stable/c/2011363c196846c083649c91ed30aeef64358d52 https://git.kernel.org/stable/c/382e0f6958ef34eb093127b6d74c12f3b8fd0904 https://git.kernel.org/stable/c/93ef3fdf3b6633c58f049e5a6be755777dde4340 https://git.kernel.org/stable/c/52cdb013036391d9d87aba5b4fc49cdfc6ea4b23