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 2400A136347 for ; Fri, 4 Jul 2025 13:44:11 +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=1751636651; cv=none; b=pIt6eKpnr8h7fKSpeMVOxlsoXMtL8yKKjho5OZEX0xJzzonvFnDNov7SWoNcsBC3SRUqsDLJam8RG32B30ryePZB9ZtyjXyV6sCuexAj6znPSeLyKqBHxkCDDVp/8u7NaxBR07w/8cNIuKf71Al1pVgik5bbaYDCzWCdMLjAuqI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751636651; c=relaxed/simple; bh=4g8mxCJZPKVEE/M45dtAYkYS6mk+kqwMPGVmxs+Fz6g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Kcw+0p8yUeHckcvj+MxzxpeHFQJE9+7LhmQHu5FLp2x9cjKVrvZEMJTTSMEHhIK6HD5ZpuuA3E1IuJP4R7IjWwcp8WiAb/NcxLtv7szSKk2lU/Tn0K4sn5+Liab2MGnRHT2EK4m1jtFid3vSoj/sglVYJC48XlDyKU/QRwji+0w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=r7ilfXio; 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="r7ilfXio" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BAF86C4CEE3; Fri, 4 Jul 2025 13:44:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1751636651; bh=4g8mxCJZPKVEE/M45dtAYkYS6mk+kqwMPGVmxs+Fz6g=; h=From:To:Cc:Subject:Date:Reply-to:From; b=r7ilfXioBpPQipJrcluwwfKyhmqJg4UQQNbD+Gz5/X8RaxGCt+40sb50mnBaK4Y6s z7CUWELuu9jpRIFNvb4BOuGk2qrD/wSU3stlMsJTj1jcQYy0rwnakdBW9ygeB1OA2Q FKzzbOuZJzdRfEqlfdbGZmEDjmxGx7ys5ZNEypOU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38228: media: imagination: fix a potential memory leak in e5010_probe() Date: Fri, 4 Jul 2025 15:37:57 +0200 Message-ID: <2025070428-CVE-2025-38228-67fb@gregkh> X-Mailer: git-send-email 2.50.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=2140; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=CYuJqD518dsxV+76coKXnVoCtnw1wVwouuBu8iuRNA4=; b=owGbwMvMwCRo6H6F97bub03G02pJDBnpNyVq6y88inS9eURvR3dtSt3U5LwFQiuP9PHsaPh3/ VsI9xOBjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIpBrDgkUlFh1nT3Ttlnul Mv/wfIOyK4vLuhnmGS9lz26Z++N29jTJ/WsvHOC8u89LEgA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: media: imagination: fix a potential memory leak in e5010_probe() Add video_device_release() to release the memory allocated by video_device_alloc() if something goes wrong. The Linux kernel CVE team has assigned CVE-2025-38228 to this issue. Affected and fixed versions =========================== Issue introduced in 6.11 with commit a1e2940458853d00c178c842c889e4ae3ef5eaec and fixed in 6.12.35 with commit 2a2bd7df402decbdefd0acb64ba4e17a0a2a4117 Issue introduced in 6.11 with commit a1e2940458853d00c178c842c889e4ae3ef5eaec and fixed in 6.15.4 with commit fac3b9a91fa099d9bad29648127c0328d6c478c3 Issue introduced in 6.11 with commit a1e2940458853d00c178c842c889e4ae3ef5eaec and fixed in 6.16-rc1 with commit 609ba05b9484856b08869f827a6edee51d51b5f3 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-2025-38228 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/imagination/e5010-jpeg-enc.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/2a2bd7df402decbdefd0acb64ba4e17a0a2a4117 https://git.kernel.org/stable/c/fac3b9a91fa099d9bad29648127c0328d6c478c3 https://git.kernel.org/stable/c/609ba05b9484856b08869f827a6edee51d51b5f3