{"id":"CVE-2025-68808","summary":"media: vidtv: initialize local pointers upon transfer of memory ownership","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: vidtv: initialize local pointers upon transfer of memory ownership\n\nvidtv_channel_si_init() creates a temporary list (program, service, event)\nand ownership of the memory itself is transferred to the PAT/SDT/EIT\ntables through vidtv_psi_pat_program_assign(),\nvidtv_psi_sdt_service_assign(), vidtv_psi_eit_event_assign().\n\nThe problem here is that the local pointer where the memory ownership\ntransfer was completed is not initialized to NULL. This causes the\nvidtv_psi_pmt_create_sec_for_each_pat_entry() function to fail, and\nin the flow that jumps to free_eit, the memory that was freed by\nvidtv_psi_*_table_destroy() can be accessed again by\nvidtv_psi_*_event_destroy() due to the uninitialized local pointer, so it\nis freed once again.\n\nTherefore, to prevent use-after-free and double-free vulnerability,\nlocal pointers must be initialized to NULL when transferring memory\nownership.","modified":"2026-03-31T17:30:05.340263Z","published":"2026-01-13T15:29:15.164Z","related":["MGASA-2026-0017","MGASA-2026-0018","SUSE-SU-2026:0447-1","SUSE-SU-2026:0471-1","SUSE-SU-2026:0472-1","SUSE-SU-2026:0587-1","SUSE-SU-2026:20477-1","SUSE-SU-2026:20498-1","SUSE-SU-2026:20555-1","SUSE-SU-2026:20599-1","SUSE-SU-2026:20615-1","SUSE-SU-2026:20845-1","SUSE-SU-2026:20876-1","openSUSE-SU-2026:20287-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68808.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/12ab6ebb37789b84073e83e4d9b14a5e0d133323"},{"type":"WEB","url":"https://git.kernel.org/stable/c/30f4d4e5224a9e44e9ceb3956489462319d804ce"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3caa18d35f1dabe85a3dd31bc387f391ac9f9b4e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/98aabfe2d79f74613abc2b0b1cef08f97eaf5322"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a69c7fd603bf5ad93177394fbd9711922ee81032"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c342e294dac4988c8ada759b2f057246e48c5108"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fb9bd6d8d314b748e946ed6555eb4a956ee8c4d8"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68808.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68808"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"3be8037960bccd13052cfdeba8805ad785041d70"},{"fixed":"c342e294dac4988c8ada759b2f057246e48c5108"},{"fixed":"12ab6ebb37789b84073e83e4d9b14a5e0d133323"},{"fixed":"3caa18d35f1dabe85a3dd31bc387f391ac9f9b4e"},{"fixed":"fb9bd6d8d314b748e946ed6555eb4a956ee8c4d8"},{"fixed":"a69c7fd603bf5ad93177394fbd9711922ee81032"},{"fixed":"30f4d4e5224a9e44e9ceb3956489462319d804ce"},{"fixed":"98aabfe2d79f74613abc2b0b1cef08f97eaf5322"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-68808.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.10.0"},{"fixed":"5.10.248"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.198"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.160"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.120"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.64"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.3"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-68808.json"}}],"schema_version":"1.7.5"}