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 54CF62EFD8F for ; Tue, 13 Jan 2026 15:31:01 +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=1768318261; cv=none; b=NI8uozpxj7d530o+UI0KCsq1z0WyUzJtuqIsk9xwufd16ZUPqbBWBpD6itNkf7A+cxDzo4ERQ6lyizIAyekgWhTNHRTVMGH+TxkFSST/Br1OFjLUFx/gyRgDnTfXsO2OfqnPWZhu6L4pdbRDew8Ou36VK5TDxYWtmNFUmtbLo+s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768318261; c=relaxed/simple; bh=Xfv9WqCZr7vVSbfo2JzIHwezVEv2hEa5fDxgbsvBLic=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=PfIgO0aS2nQ4Pgn8IRRYIjLFJm18mPjaz1xT15HudECeTDOgHbUKg6raWfkafoqrKXTQ+ssfRVKqv/T+j9HqiPNJAoJDHCrUK7hEs54nhAMzRUU9bemltDmaOVGPmkP+9KVxSTxQC0BtXpnEMoa2O2/EsBdvrWgrJ9k0qBl4m8w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=jUdg8IjH; 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="jUdg8IjH" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 977D3C19421; Tue, 13 Jan 2026 15:31:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1768318261; bh=Xfv9WqCZr7vVSbfo2JzIHwezVEv2hEa5fDxgbsvBLic=; h=From:To:Cc:Subject:Date:Reply-To:From; b=jUdg8IjHQvCDX33Mpz+HG7VhiE55HLBrsJn0y0Cv6+GRPexx14edJN2NZfqNk5PQU OOFaKrRGC5QyOLUx36kV2TTXbfVe5WmOOYugO0ZkpySHgUxsE67e5HiBqCJju3106r OesgBgbWJw4DAsO4cCnUsdRzHZ0vWcS6XCUfTS1c= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-68808: media: vidtv: initialize local pointers upon transfer of memory ownership Date: Tue, 13 Jan 2026 16:29:34 +0100 Message-ID: <2026011310-CVE-2025-68808-4cb9@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3330; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=R7m9oyMKNrrArKgGnOvJ4glFjAGtKbCbmbphDYZWQBE=; b=owGbwMvMwCRo6H6F97bub03G02pJDJlpKcdi9XrKtoZVfow3/9+49cp8aeObJzW7vA4u7wxVd p9QdW1ORywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAFzkMcM886Czs0K5DWd8rvVg 98r69tRYZp0Ew1zBOoMrsw/85EuQKf51h6+b7eijuBQA 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: vidtv: initialize local pointers upon transfer of memory ownership vidtv_channel_si_init() creates a temporary list (program, service, event) and ownership of the memory itself is transferred to the PAT/SDT/EIT tables through vidtv_psi_pat_program_assign(), vidtv_psi_sdt_service_assign(), vidtv_psi_eit_event_assign(). The problem here is that the local pointer where the memory ownership transfer was completed is not initialized to NULL. This causes the vidtv_psi_pmt_create_sec_for_each_pat_entry() function to fail, and in the flow that jumps to free_eit, the memory that was freed by vidtv_psi_*_table_destroy() can be accessed again by vidtv_psi_*_event_destroy() due to the uninitialized local pointer, so it is freed once again. Therefore, to prevent use-after-free and double-free vulnerability, local pointers must be initialized to NULL when transferring memory ownership. The Linux kernel CVE team has assigned CVE-2025-68808 to this issue. Affected and fixed versions =========================== Issue introduced in 5.10 with commit 3be8037960bccd13052cfdeba8805ad785041d70 and fixed in 6.1.160 with commit 3caa18d35f1dabe85a3dd31bc387f391ac9f9b4e Issue introduced in 5.10 with commit 3be8037960bccd13052cfdeba8805ad785041d70 and fixed in 6.6.120 with commit fb9bd6d8d314b748e946ed6555eb4a956ee8c4d8 Issue introduced in 5.10 with commit 3be8037960bccd13052cfdeba8805ad785041d70 and fixed in 6.12.64 with commit a69c7fd603bf5ad93177394fbd9711922ee81032 Issue introduced in 5.10 with commit 3be8037960bccd13052cfdeba8805ad785041d70 and fixed in 6.18.3 with commit 30f4d4e5224a9e44e9ceb3956489462319d804ce Issue introduced in 5.10 with commit 3be8037960bccd13052cfdeba8805ad785041d70 and fixed in 6.19-rc1 with commit 98aabfe2d79f74613abc2b0b1cef08f97eaf5322 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-68808 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/test-drivers/vidtv/vidtv_channel.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/3caa18d35f1dabe85a3dd31bc387f391ac9f9b4e https://git.kernel.org/stable/c/fb9bd6d8d314b748e946ed6555eb4a956ee8c4d8 https://git.kernel.org/stable/c/a69c7fd603bf5ad93177394fbd9711922ee81032 https://git.kernel.org/stable/c/30f4d4e5224a9e44e9ceb3956489462319d804ce https://git.kernel.org/stable/c/98aabfe2d79f74613abc2b0b1cef08f97eaf5322