{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-68808","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2025-12-24T10:30:51.045Z","datePublished":"2026-01-13T15:29:15.164Z","dateUpdated":"2026-08-05T12:11:39.465Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-05T12:11:39.465Z"},"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The vulnerable path is reached through demux ioctls such as DMX_START on a local /dev/dvb/adapter*/demux* device; no network or physical path exists.\nAC:L - In a reasonable vidtv test/debug deployment, the attacker can deterministically target the PMT allocation using per-task fault injection or attacker-induced memory pressure, with no race or victim-controlled timing.\nPR:L - No capability checks occur along the ioctl path; an ordinary local user with the device's video-group or active-seat ACL can trigger it.\nUI:N - Once the vidtv device is present, the attacker independently opens the demux node, configures a filter, and starts the feed without victim action.\nS:U - The corruption occurs within the host kernel reached by a host process and does not cross a VM, IOMMU, or separate security-authority boundary.\nC:H - The cleanup dereferences freed list and descriptor pointers, and heap grooming can convert these UAF and double-free conditions into kernel-memory disclosure or arbitrary-read primitives.\nI:H - Repeated frees of EIT, SDT, PAT, and nested descriptor allocations can corrupt allocator freelists and support arbitrary writes or control-flow hijacking.\nA:H - The defect demonstrably causes a KASAN kernel panic, while non-instrumented kernels can likewise crash from the UAF, invalid traversal, or double-free."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/media/test-drivers/vidtv/vidtv_channel.c"],"versions":[{"version":"3be8037960bccd13052cfdeba8805ad785041d70","lessThan":"c342e294dac4988c8ada759b2f057246e48c5108","status":"affected","versionType":"git"},{"version":"3be8037960bccd13052cfdeba8805ad785041d70","lessThan":"12ab6ebb37789b84073e83e4d9b14a5e0d133323","status":"affected","versionType":"git"},{"version":"3be8037960bccd13052cfdeba8805ad785041d70","lessThan":"3caa18d35f1dabe85a3dd31bc387f391ac9f9b4e","status":"affected","versionType":"git"},{"version":"3be8037960bccd13052cfdeba8805ad785041d70","lessThan":"fb9bd6d8d314b748e946ed6555eb4a956ee8c4d8","status":"affected","versionType":"git"},{"version":"3be8037960bccd13052cfdeba8805ad785041d70","lessThan":"a69c7fd603bf5ad93177394fbd9711922ee81032","status":"affected","versionType":"git"},{"version":"3be8037960bccd13052cfdeba8805ad785041d70","lessThan":"30f4d4e5224a9e44e9ceb3956489462319d804ce","status":"affected","versionType":"git"},{"version":"3be8037960bccd13052cfdeba8805ad785041d70","lessThan":"98aabfe2d79f74613abc2b0b1cef08f97eaf5322","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/media/test-drivers/vidtv/vidtv_channel.c"],"versions":[{"version":"5.10","status":"affected"},{"version":"0","lessThan":"5.10","status":"unaffected","versionType":"semver"},{"version":"5.10.248","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.198","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.160","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.120","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.64","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.3","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"6.19","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"5.10.248"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"5.15.198"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"6.1.160"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"6.6.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"6.12.64"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"6.18.3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"6.19"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/c342e294dac4988c8ada759b2f057246e48c5108"},{"url":"https://git.kernel.org/stable/c/12ab6ebb37789b84073e83e4d9b14a5e0d133323"},{"url":"https://git.kernel.org/stable/c/3caa18d35f1dabe85a3dd31bc387f391ac9f9b4e"},{"url":"https://git.kernel.org/stable/c/fb9bd6d8d314b748e946ed6555eb4a956ee8c4d8"},{"url":"https://git.kernel.org/stable/c/a69c7fd603bf5ad93177394fbd9711922ee81032"},{"url":"https://git.kernel.org/stable/c/30f4d4e5224a9e44e9ceb3956489462319d804ce"},{"url":"https://git.kernel.org/stable/c/98aabfe2d79f74613abc2b0b1cef08f97eaf5322"}],"title":"media: vidtv: initialize local pointers upon transfer of memory ownership","x_generator":{"engine":"bippy-1.2.0"}}}}