{"id":"CVE-2025-68808","aliases":["CVE-2025-68808"],"related":[],"kind":"vulnerability","state":"published","title":"media: vidtv: initialize local pointers upon transfer of memory ownership","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nmedia: vidtv: inicializar punteros locales tras la transferencia de la propiedad de la memoria\n\nvidtv_channel_si_init() crea una lista temporal (programa, servicio, evento) y la propiedad de la memoria misma se transfiere a las tablas PAT/SDT/EIT a través de vidtv_psi_pat_program_assign(), vidtv_psi_sdt_service_assign(), vidtv_psi_eit_event_assign().\n\nEl problema aquí es que el puntero local donde se completó la transferencia de la propiedad de la memoria no se inicializa a NULL. Esto hace que la función vidtv_psi_pmt_create_sec_for_each_pat_entry() falle, y en el flujo que salta a free_eit, la memoria que fue liberada por vidtv_psi_*_table_destroy() puede ser accedida de nuevo por vidtv_psi_*_event_destroy() debido al puntero local no inicializado, por lo que se libera una vez más.\n\nPor lo tanto, para prevenir la vulnerabilidad de uso después de liberación y doble liberación, los punteros locales deben inicializarse a NULL al transferir la propiedad de la memoria.","source":"nvd"}],"published":"2026-01-13T15:29:15.164Z","modified":"2026-08-05T12:11:39.465Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"3be8037960bccd13052cfdeba8805ad785041d70","fixed":"c342e294dac4988c8ada759b2f057246e48c5108","status":"affected"},{"type":"git","introduced":"3be8037960bccd13052cfdeba8805ad785041d70","fixed":"12ab6ebb37789b84073e83e4d9b14a5e0d133323","status":"affected"},{"type":"git","introduced":"3be8037960bccd13052cfdeba8805ad785041d70","fixed":"3caa18d35f1dabe85a3dd31bc387f391ac9f9b4e","status":"affected"},{"type":"git","introduced":"3be8037960bccd13052cfdeba8805ad785041d70","fixed":"fb9bd6d8d314b748e946ed6555eb4a956ee8c4d8","status":"affected"},{"type":"git","introduced":"3be8037960bccd13052cfdeba8805ad785041d70","fixed":"a69c7fd603bf5ad93177394fbd9711922ee81032","status":"affected"},{"type":"git","introduced":"3be8037960bccd13052cfdeba8805ad785041d70","fixed":"30f4d4e5224a9e44e9ceb3956489462319d804ce","status":"affected"},{"type":"git","introduced":"3be8037960bccd13052cfdeba8805ad785041d70","fixed":"98aabfe2d79f74613abc2b0b1cef08f97eaf5322","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.10","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.10","status":"unaffected"},{"type":"semver","introduced":"5.10.248","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.198","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.160","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.120","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.64","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.3","lastAffected":"6.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.19","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/c342e294dac4988c8ada759b2f057246e48c5108","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/12ab6ebb37789b84073e83e4d9b14a5e0d133323","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3caa18d35f1dabe85a3dd31bc387f391ac9f9b4e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fb9bd6d8d314b748e946ed6555eb4a956ee8c4d8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a69c7fd603bf5ad93177394fbd9711922ee81032","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/30f4d4e5224a9e44e9ceb3956489462319d804ce","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/98aabfe2d79f74613abc2b0b1cef08f97eaf5322","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-68808","url":"https://www.cve.org/CVERecord?id=CVE-2025-68808","licence":"CVE Terms of Use","modified":"2026-08-05T12:11:39.465Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-68808","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68808","licence":"Public domain","modified":"2026-07-30T06:24:46.393Z"}],"updatedAt":"2026-11-25T22:59:10.541Z","epss":{"score":0.00149,"percentile":0.04328,"date":"2026-12-01T12:00:22.000Z"}}