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 E8E3912BF3D for ; Wed, 1 May 2024 13:06:53 +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=1714568814; cv=none; b=ne/t0UHfK0kiDU249PO/Ag8VIQTcyEnG7hQRlwj8Ig+NEKJ2hE/jP6GhvTkOYOMSG9ym/qCE8N9atur6R6PjsUUtvTYknywpKXoR72KvYOAh65PRtPHhtMI6XzETGGu2nBTHrtIczwsIQYCkaZ4kPA4SpJKrUwVOXZP1ouXbQbs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714568814; c=relaxed/simple; bh=9svgiASpYF+DO/YASVc+jhQShGWqEdeQ3qgdLAvD7VU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=gC98Uw9zpHs2VjGTEtD0b+BJ8OTsHFma2AJ7kOo14do+unUTr3xcO7FZoiwzxeT/uhOOhcI+zrqg27kDqpiCn1vT3ywKV/CArb2XkYy34dtSVYyiBjMUQMBTMkDVYW2wD1yujwxtX+1UaiOCRScHQ5LhLMD7IS1p/RtS2OOeU1s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=w/K7UrxW; 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="w/K7UrxW" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 223A4C113CC; Wed, 1 May 2024 13:06:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1714568813; bh=9svgiASpYF+DO/YASVc+jhQShGWqEdeQ3qgdLAvD7VU=; h=From:To:Cc:Subject:Date:Reply-to:From; b=w/K7UrxWKCgDI6cuqYmTqO6gmZJo9q4BhKNgSYsA7sInhu30VccP6rPmCx8E075vv BOt+zvK59Bq+cJmxUWvK9c7jNTHEATYkz6gg6clVAF4Dcf8MiedtLbk1kn5X2z1o+h hIWqzcmcZHxZqPbZQJSwrkmhDfDi3PV90Jp70334= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-27074: media: go7007: fix a memleak in go7007_load_encoder Date: Wed, 1 May 2024 15:06:45 +0200 Message-ID: <2024050133-CVE-2024-27074-a9b3@gregkh> X-Mailer: git-send-email 2.44.0 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=3148; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=9svgiASpYF+DO/YASVc+jhQShGWqEdeQ3qgdLAvD7VU=; b=owGbwMvMwCRo6H6F97bub03G02pJDGlGdlF7nuj4+u6rz5v5036G0IlvlyeqzK0W7hPd6bvT9 /JfSb05HbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARqWcMC3ocpCUXZMg8uy0a x/pQgOHIgjPRTAxzOCb1JSwLv/KFdWcHr3bbT9fiuAXVAA== 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: go7007: fix a memleak in go7007_load_encoder In go7007_load_encoder, bounce(i.e. go->boot_fw), is allocated without a deallocation thereafter. After the following call chain: saa7134_go7007_init |-> go7007_boot_encoder |-> go7007_load_encoder |-> kfree(go) go is freed and thus bounce is leaked. The Linux kernel CVE team has assigned CVE-2024-27074 to this issue. Affected and fixed versions =========================== Issue introduced in 3.10 with commit 95ef39403f89 and fixed in 4.19.311 with commit 7f11dd3d165b Issue introduced in 3.10 with commit 95ef39403f89 and fixed in 5.4.273 with commit 291cda0b805f Issue introduced in 3.10 with commit 95ef39403f89 and fixed in 5.10.214 with commit b49fe84c6cef Issue introduced in 3.10 with commit 95ef39403f89 and fixed in 5.15.153 with commit 790fa2c04dfb Issue introduced in 3.10 with commit 95ef39403f89 and fixed in 6.1.83 with commit e04d15c8bb3e Issue introduced in 3.10 with commit 95ef39403f89 and fixed in 6.6.23 with commit f31c1cc37411 Issue introduced in 3.10 with commit 95ef39403f89 and fixed in 6.7.11 with commit d43988a23c32 Issue introduced in 3.10 with commit 95ef39403f89 and fixed in 6.8.2 with commit 7405a0d44427 Issue introduced in 3.10 with commit 95ef39403f89 and fixed in 6.9-rc1 with commit b9b683844b01 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-27074 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/usb/go7007/go7007-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/7f11dd3d165b178e738fe73dfeea513e383bedb5 https://git.kernel.org/stable/c/291cda0b805fc0d6e90d201710311630c8667159 https://git.kernel.org/stable/c/b49fe84c6cefcc1c2336d793b53442e716c95073 https://git.kernel.org/stable/c/790fa2c04dfb9f095ec372bf17909424d6e864b3 https://git.kernel.org/stable/c/e04d15c8bb3e111dd69f98894acd92d63e87aac3 https://git.kernel.org/stable/c/f31c1cc37411f5f7bcb266133f9a7e1b4bdf2975 https://git.kernel.org/stable/c/d43988a23c32588ccd0c74219637afb96cd78661 https://git.kernel.org/stable/c/7405a0d4442792988e9ae834e7d84f9d163731a4 https://git.kernel.org/stable/c/b9b683844b01d171a72b9c0419a2d760d946ee12