media: vidtv: initialize local pointers upon transfer of memory ownership (Linux Linux)

CVE-2025-68808
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.15 % · percentile 4 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Deferred

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 3be8037960bccd13052cfdeba8805ad785041d70 < c342e294dac4988c8ada759b2f057246e48c5108 ; affected 3be8037960bccd13052cfdeba8805ad785041d70 < 12ab6ebb37789b84073e83e4d9b14a5e0d133323 ; affected 3be8037960bccd13052cfdeba8805ad785041d70 < 3caa18d35f1dabe85a3dd31bc387f391ac9f9b4e ; affected 3be8037960bccd13052cfdeba8805ad785041d70 < fb9bd6d8d314b748e946ed6555eb4a956ee8c4d8 ; affected 3be8037960bccd13052cfdeba8805ad785041d70 < a69c7fd603bf5ad93177394fbd9711922ee81032 ; affected 3be8037960bccd13052cfdeba8805ad785041d70 < 30f4d4e5224a9e44e9ceb3956489462319d804ce
Linux · Linuxaffected 5.10 ; unaffected 0 < 5.10 ; unaffected 5.10.248 ≤ 5.10.* ; unaffected 5.15.198 ≤ 5.15.* ; unaffected 6.1.160 ≤ 6.1.* ; unaffected 6.6.120 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD