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 1F10021149F for ; Thu, 6 Mar 2025 16:14:42 +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=1741277682; cv=none; b=rX1iWm8Pi9yWcEsLv8izLR88yUh1EjAj8ULGx+8bV1Fexd0MIFyysxGagCYIAKMKy6FTXL4AVUziSadGusAm56WeFDgo4fvSf0QPJ+3pM0DmXhAEQAjzmB8E/TLQInniThz87dc/V7i5NUzYpAZCBfKxqWEGQxReRiWY22TIUMM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741277682; c=relaxed/simple; bh=Fi35eGmpPmIvH2EjdnbtAs54Cyghdw+asN0qLhqZL3Y=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=lBqtEFTpkawQkIkLQ3iBCVsAX5e9t/DHQPuAFT3yZacK+cORl+bDBDebJjKtJ1UfPRYOH7v6eH3ZkV3axc20tysVzyGZvrSSQV2jiMEWggg2Gk15A8Ta3AWqJgK7pKUF33TbHqf5aDMyikx0hrhGqjdmb3TgLUPGpbDH+LyjyLM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=1nBrXe4E; 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="1nBrXe4E" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 99D0EC4CEE0; Thu, 6 Mar 2025 16:14:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1741277682; bh=Fi35eGmpPmIvH2EjdnbtAs54Cyghdw+asN0qLhqZL3Y=; h=From:To:Cc:Subject:Date:Reply-to:From; b=1nBrXe4EK898q4RhVRwlAsT9JIw1DRjqVHWcyFSHAqpwtEnSzm7flSGGeJPfWXbnF sqtN03HtiCY29cFeCBrqfALRF1MzDi8Ron2TBdAuFG1ZKVXSk7yrYIIc88WhMmbWE9 cbLJLVDgH+xM3dv5YyhBNAb9QQygK6u4FZK6zHdE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-58082: media: nuvoton: Fix an error check in npcm_video_ece_init() Date: Thu, 6 Mar 2025 17:14:15 +0100 Message-ID: <2025030610-CVE-2024-58082-3925@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=2256; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Fi35eGmpPmIvH2EjdnbtAs54Cyghdw+asN0qLhqZL3Y=; b=owGbwMvMwCRo6H6F97bub03G02pJDOknT146781VGLW99I8MBxMHD5/ZDN+nVmxcxYuzD7Zm8 H17sMi/I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACay6Q/DHN5VT0/uvDg3+5Dn 7M9HnWS9GV+s+sawYOORdfor42y1DmX+rFuul99q9u4gHwA= 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: nuvoton: Fix an error check in npcm_video_ece_init() When function of_find_device_by_node() fails, it returns NULL instead of an error code. So the corresponding error check logic should be modified to check whether the return value is NULL and set the error code to be returned as -ENODEV. The Linux kernel CVE team has assigned CVE-2024-58082 to this issue. Affected and fixed versions =========================== Issue introduced in 6.7 with commit 46c15a4ff1f4fe078c5b250fb2570020211eab38 and fixed in 6.12.14 with commit bdd823b9d068284e1d998b962cfef29236365df3 Issue introduced in 6.7 with commit 46c15a4ff1f4fe078c5b250fb2570020211eab38 and fixed in 6.13.3 with commit c36b830754ae1dd1db41c27f57b29267878f9702 Issue introduced in 6.7 with commit 46c15a4ff1f4fe078c5b250fb2570020211eab38 and fixed in 6.14-rc1 with commit c4b7779abc6633677e6edb79e2809f4f61fde157 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-58082 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/nuvoton/npcm-video.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/bdd823b9d068284e1d998b962cfef29236365df3 https://git.kernel.org/stable/c/c36b830754ae1dd1db41c27f57b29267878f9702 https://git.kernel.org/stable/c/c4b7779abc6633677e6edb79e2809f4f61fde157