CVE-2025-39994
kernel: Linux kernel: Use-after-free in xc5000 tuner driver due to race condition
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · October 15, 2025
Updated · October 30, 2026
Description
A use-after-free flaw was identified in the Linux kernel’s media tuner (xc5000) driver. In the vulnerable code path, xc5000_release() calls cancel_delayed_work() to cancel a pending delayed work item (timer_sleep) without guaranteeing that the work handler has fully completed. Under a race condition, the underlying xc5000_priv structure may be freed while the delayed work item is still active, potentially resulting in a use-after-free when the work item subsequently dereferences the freed memory.
Statement
This vulnerability is rated as Moderate severity for Red Hat because successful exploitation requires local access with privileged hardware interactions, uncommon physical tuner hardware, and precise timing to trigger a race condition during device tear-down. Typical enterprise server and cloud deployments do not use analog or digital TV tuner devices, significantly restricting real-world exposure. Consequently, the flaw primarily poses a local denial of service or potential system instability on systems where this specific media tuner peripheral is attached and active.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
To mitigate this issue, prevent the xc5000 kernel module from loading. Create a file /etc/modprobe.d/blacklist-xc5000.conf with blacklist xc5000. Regenerate the initramfs using dracut -f -v and reboot the system. This may impact functionality if xc5000 tuner hardware is in use.
CVSS / CWE
CVSS 3.1 · 5.8CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H
CWE-416 · Use After Free