CVE-2025-39994 Details
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]
A use-after-free vulnerability has been identified in the Linux kernel's media tuner XC5000 driver. The issue arises in the 'xc5000_release' function, where the code improperly uses 'cancel_delayed_work' to stop a delayed work item. This approach does not ensure that the work item has fully completed before the associated memory is freed. As a result, 'xc5000_release' can release the 'xc5000_priv' structure while a callback is still active, leading to a race condition. The vulnerability was discovered through static analysis and has been addressed by replacing 'cancel_delayed_work' with 'cancel_delayed_work_sync' to ensure proper synchronization before memory deallocation.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for downloading the patched version are available on the Linux Kernel Archives.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 15, 2025CISA-ADP
Assessed Oct 15, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/3f876cd47ed8bca1e28d68435845949f51f90703 | kernel.org | |
| https://git.kernel.org/stable/c/40b7a19f321e65789612ebaca966472055dab48c | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/4266f012806fc18e46da4a04d130df59a4946f93 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/71ed8b81a4906cb785966910f39cf7f5ad60a69e | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/9a00de20ed8ba90888479749b87bc1532cded4ce | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/bc4ffd962ce16a154c44c68853b9d93f5b6fc4b8 | kernel.org | |
| https://git.kernel.org/stable/c/df0303b4839520b84d9367c2fad65b13650a4d42 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/e2f5eaafc0306a76fb1cb760aae804b065b8a341 | kernel.org | |
| https://git.kernel.org/stable/c/effb1c19583bca7022fa641a70766de45c6d41ac | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
9 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Translated | [email protected] |
| Oct 15, 2026 | CVE Modified | kernel.org |
| Oct 15, 2026 | CVE Modified | CISA-ADP |
| Jul 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Oct 29, 2025 | CVE Modified | kernel.org |
| Oct 19, 2025 | CVE Modified | kernel.org |
| Oct 15, 2025 | CVE Modified | kernel.org |
| Oct 15, 2025 | New CVE Received | kernel.org |
Volerion