7.3
HIGH CVSS 3.1
CVE-2025-39994
media: tuner: xc5000: Fix use-after-free in xc5000_release
Description

In the Linux kernel, the following vulnerability has been resolved: media: tuner: xc5000: Fix use-after-free in xc5000_release The original code uses cancel_delayed_work() in xc5000_release(), which does not guarantee that the delayed work item timer_sleep has fully completed if it was already running. This leads to use-after-free scenarios where xc5000_release() may free the xc5000_priv while timer_sleep is still active and attempts to dereference the xc5000_priv. A typical race condition is illustrated below: CPU 0 (release thread) | CPU 1 (delayed work callback) xc5000_release() | xc5000_do_timer_sleep() cancel_delayed_work() | hybrid_tuner_release_state(priv) | kfree(priv) | | priv = container_of() // UAF Replace cancel_delayed_work() with cancel_delayed_work_sync() to ensure that the timer_sleep is properly canceled before the xc5000_priv memory is deallocated. A deadlock concern was considered: xc5000_release() is called in a process context and is not holding any locks that the timer_sleep work item might also need. Therefore, the use of the _sync() variant is safe here. This bug was initially identified through static analysis. [hverkuil: fix typo in Subject: tunner -> tuner]

INFO

Published Date :

Oct. 15, 2025, 8:15 a.m.

Last Modified :

Oct. 19, 2026, 9:10 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2025-39994 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 134c704f-9b21-4f2e-91b3-4a467353bcc0
CVSS 3.1 HIGH 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
Use cancel_delayed_work_sync to prevent use-after-free in xc5000_release.
  • Replace cancel_delayed_work with cancel_delayed_work_sync.
  • Ensure timer_sleep completes before memory deallocation.
  • Apply provided kernel patches for media tuner driver.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-39994 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2025-39994 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-39994 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2025-39994 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Translated by [email protected]

    Oct. 19, 2026

    Action Type Old Value New Value
    Added Translation Title: Linux, Description: En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: media: tuner: xc5000: Corrige uso después de liberación en xc5000_release El código original utiliza cancel_delayed_work() en xc5000_release(), lo que no garantiza que el elemento de trabajo retrasado timer_sleep haya completado totalmente si ya estaba en ejecución. Esto lleva a escenarios de uso después de liberación donde xc5000_release() puede liberar el xc5000_priv mientras timer_sleep todavía está activo e intenta desreferenciar el xc5000_priv. Una condición de carrera típica se ilustra a continuación: CPU 0 (hilo de liberación) | CPU 1 (callback de trabajo retrasado) xc5000_release() | xc5000_do_timer_sleep() cancel_delayed_work() | hybrid_tuner_release_state(priv) | kfree(priv) | | priv = container_of() // UAF Reemplace cancel_delayed_work() con cancel_delayed_work_sync() para asegurar que el timer_sleep sea cancelado correctamente antes de que la memoria de xc5000_priv sea desasignada. Se consideró una preocupación por interbloqueo: xc5000_release() es llamado en un contexto de proceso y no está reteniendo ningún bloqueo que el elemento de trabajo timer_sleep también pudiera necesitar. Por lo tanto, el uso de la variante _sync() es seguro aquí. Este error fue inicialmente identificado mediante análisis estático. [hverkuil: corrige error tipográfico en Asunto: tunner -> tuner]
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Oct. 15, 2026

    Action Type Old Value New Value
    Added SSVC {'id': 'CVE-2025-39994', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-10-15T21:55:59.194469Z'}
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Oct. 15, 2026

    Action Type Old Value New Value
    Added Reference https://git.kernel.org/stable/c/3f876cd47ed8bca1e28d68435845949f51f90703
    Added Reference https://git.kernel.org/stable/c/40b7a19f321e65789612ebaca966472055dab48c
    Added Reference https://git.kernel.org/stable/c/4266f012806fc18e46da4a04d130df59a4946f93
    Added Reference https://git.kernel.org/stable/c/71ed8b81a4906cb785966910f39cf7f5ad60a69e
    Added Reference https://git.kernel.org/stable/c/9a00de20ed8ba90888479749b87bc1532cded4ce
    Added Reference https://git.kernel.org/stable/c/bc4ffd962ce16a154c44c68853b9d93f5b6fc4b8
    Added Reference https://git.kernel.org/stable/c/df0303b4839520b84d9367c2fad65b13650a4d42
    Added Reference https://git.kernel.org/stable/c/e2f5eaafc0306a76fb1cb760aae804b065b8a341
    Added Reference https://git.kernel.org/stable/c/effb1c19583bca7022fa641a70766de45c6d41ac
    Removed Reference https://git.kernel.org/stable/c/3f876cd47ed8bca1e28d68435845949f51f90703
    Removed Reference https://git.kernel.org/stable/c/40b7a19f321e65789612ebaca966472055dab48c
    Removed Reference https://git.kernel.org/stable/c/4266f012806fc18e46da4a04d130df59a4946f93
    Removed Reference https://git.kernel.org/stable/c/71ed8b81a4906cb785966910f39cf7f5ad60a69e
    Removed Reference https://git.kernel.org/stable/c/9a00de20ed8ba90888479749b87bc1532cded4ce
    Removed Reference https://git.kernel.org/stable/c/bc4ffd962ce16a154c44c68853b9d93f5b6fc4b8
    Removed Reference https://git.kernel.org/stable/c/df0303b4839520b84d9367c2fad65b13650a4d42
    Removed Reference https://git.kernel.org/stable/c/e2f5eaafc0306a76fb1cb760aae804b065b8a341
    Removed Reference https://git.kernel.org/stable/c/effb1c19583bca7022fa641a70766de45c6d41ac
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jul. 30, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 17, 2026

    Action Type Old Value New Value
    Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'f7a27ff1fb77e114d1059a5eb2ed1cffdc508ce8', 'lessThan': 'bc4ffd962ce16a154c44c68853b9d93f5b6fc4b8', 'versionType': 'git'}, {'status': 'affected', 'version': 'f7a27ff1fb77e114d1059a5eb2ed1cffdc508ce8', 'lessThan': 'e2f5eaafc0306a76fb1cb760aae804b065b8a341', 'versionType': 'git'}, {'status': 'affected', 'version': 'f7a27ff1fb77e114d1059a5eb2ed1cffdc508ce8', 'lessThan': '3f876cd47ed8bca1e28d68435845949f51f90703', 'versionType': 'git'}, {'status': 'affected', 'version': 'f7a27ff1fb77e114d1059a5eb2ed1cffdc508ce8', 'lessThan': 'df0303b4839520b84d9367c2fad65b13650a4d42', 'versionType': 'git'}, {'status': 'affected', 'version': 'f7a27ff1fb77e114d1059a5eb2ed1cffdc508ce8', 'lessThan': '71ed8b81a4906cb785966910f39cf7f5ad60a69e', 'versionType': 'git'}, {'status': 'affected', 'version': 'f7a27ff1fb77e114d1059a5eb2ed1cffdc508ce8', 'lessThan': 'effb1c19583bca7022fa641a70766de45c6d41ac', 'versionType': 'git'}, {'status': 'affected', 'version': 'f7a27ff1fb77e114d1059a5eb2ed1cffdc508ce8', 'lessThan': '9a00de20ed8ba90888479749b87bc1532cded4ce', 'versionType': 'git'}, {'status': 'affected', 'version': 'f7a27ff1fb77e114d1059a5eb2ed1cffdc508ce8', 'lessThan': '4266f012806fc18e46da4a04d130df59a4946f93', 'versionType': 'git'}, {'status': 'affected', 'version': 'f7a27ff1fb77e114d1059a5eb2ed1cffdc508ce8', 'lessThan': '40b7a19f321e65789612ebaca966472055dab48c', 'versionType': 'git'}], 'programFiles': ['drivers/media/tuners/xc5000.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '3.16'}, {'status': 'unaffected', 'version': '0', 'lessThan': '3.16', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.4.301', 'versionType': 'semver', 'lessThanOrEqual': '5.4.*'}, {'status': 'unaffected', 'version': '5.10.246', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.195', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.156', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.111', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.51', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.16.11', 'versionType': 'semver', 'lessThanOrEqual': '6.16.*'}, {'status': 'unaffected', 'version': '6.17.1', 'versionType': 'semver', 'lessThanOrEqual': '6.17.*'}, {'status': 'unaffected', 'version': '6.18', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/media/tuners/xc5000.c'], 'defaultStatus': 'affected'}]
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Oct. 29, 2025

    Action Type Old Value New Value
    Added Reference https://git.kernel.org/stable/c/bc4ffd962ce16a154c44c68853b9d93f5b6fc4b8
    Added Reference https://git.kernel.org/stable/c/e2f5eaafc0306a76fb1cb760aae804b065b8a341
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Oct. 19, 2025

    Action Type Old Value New Value
    Added Reference https://git.kernel.org/stable/c/3f876cd47ed8bca1e28d68435845949f51f90703
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Oct. 15, 2025

    Action Type Old Value New Value
    Added Reference https://git.kernel.org/stable/c/df0303b4839520b84d9367c2fad65b13650a4d42
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Oct. 15, 2025

    Action Type Old Value New Value
    Added Description In the Linux kernel, the following vulnerability has been resolved: media: tuner: xc5000: Fix use-after-free in xc5000_release The original code uses cancel_delayed_work() in xc5000_release(), which does not guarantee that the delayed work item timer_sleep has fully completed if it was already running. This leads to use-after-free scenarios where xc5000_release() may free the xc5000_priv while timer_sleep is still active and attempts to dereference the xc5000_priv. A typical race condition is illustrated below: CPU 0 (release thread) | CPU 1 (delayed work callback) xc5000_release() | xc5000_do_timer_sleep() cancel_delayed_work() | hybrid_tuner_release_state(priv) | kfree(priv) | | priv = container_of() // UAF Replace cancel_delayed_work() with cancel_delayed_work_sync() to ensure that the timer_sleep is properly canceled before the xc5000_priv memory is deallocated. A deadlock concern was considered: xc5000_release() is called in a process context and is not holding any locks that the timer_sleep work item might also need. Therefore, the use of the _sync() variant is safe here. This bug was initially identified through static analysis. [hverkuil: fix typo in Subject: tunner -> tuner]
    Added Reference https://git.kernel.org/stable/c/40b7a19f321e65789612ebaca966472055dab48c
    Added Reference https://git.kernel.org/stable/c/4266f012806fc18e46da4a04d130df59a4946f93
    Added Reference https://git.kernel.org/stable/c/71ed8b81a4906cb785966910f39cf7f5ad60a69e
    Added Reference https://git.kernel.org/stable/c/9a00de20ed8ba90888479749b87bc1532cded4ce
    Added Reference https://git.kernel.org/stable/c/effb1c19583bca7022fa641a70766de45c6d41ac
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.