Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-39994

published high CVSS 3.1 · 7.3

media: tuner: xc5000: Fix use-after-free in xc5000_release

Published
15 Oct 2025, 07:58:19 UTC
Updated
15 Oct 2026, 22:02:35 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxf7a27ff1fb77e114d1059a5eb2ed1cffdc508ce8 to < bc4ffd962ce16a154c44c68853b9d93f5b6fc4b8 · f7a27ff1fb77e114d1059a5eb2ed1cffdc508ce8 to < e2f5eaafc0306a76fb1cb760aae804b065b8a341 · f7a27ff1fb77e114d1059a5eb2ed1cffdc508ce8 to < 3f876cd47ed8bca1e28d68435845949f51f90703 · f7a27ff1fb77e114d1059a5eb2ed1cffdc508ce8 to < df0303b4839520b84d9367c2fad65b13650a4d42 · f7a27ff1fb77e114d1059a5eb2ed1cffdc508ce8 to < 71ed8b81a4906cb785966910f39cf7f5ad60a69e · f7a27ff1fb77e114d1059a5eb2ed1cffdc508ce8 to < effb1c19583bca7022fa641a70766de45c6d41ac · f7a27ff1fb77e114d1059a5eb2ed1cffdc508ce8 to < 9a00de20ed8ba90888479749b87bc1532cded4ce · f7a27ff1fb77e114d1059a5eb2ed1cffdc508ce8 to < 4266f012806fc18e46da4a04d130df59a4946f93 · f7a27ff1fb77e114d1059a5eb2ed1cffdc508ce8 to < 40b7a19f321e65789612ebaca966472055dab48c · Other versions: unaffected Affected Not stated Linux
Linux — Linux3.16 (affected) · 0 to < 3.16 (unaffected · semver) · 5.4.301 through 5.4.* (unaffected · semver) · 5.10.246 through 5.10.* (unaffected · semver) · 5.15.195 through 5.15.* (unaffected · semver) · 6.1.156 through 6.1.* (unaffected · semver) · 6.6.111 through 6.6.* (unaffected · semver) · 6.12.51 through 6.12.* (unaffected · semver) · 6.16.11 through 6.16.* (unaffected · semver) · 6.17.1 through 6.17.* (unaffected · semver) · 6.18 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
AlmaLinux 8 bpftool Advisory build 4.18.0-553.171.1.el8_10 ALSA-2026:75747
Debian bookworm linux Advisory build 6.1.158-1 DSA-6053-1
Oracle Linux 7 kernel-uekx86_64 Advisory build 0:5.4.17-2136.350.3.1.el7uek ELSA-2025-28049
AlmaLinux 8 kernel Advisory build 4.18.0-553.171.1.el8_10 ALSA-2026:75747
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 8 kernel-abi-stablelists Advisory build 4.18.0-553.171.1.el8_10 ALSA-2026:75747
AlmaLinux 8 kernel-core Advisory build 4.18.0-553.171.1.el8_10 ALSA-2026:75747
AlmaLinux 8 kernel-cross-headers Advisory build 4.18.0-553.171.1.el8_10 ALSA-2026:75747
AlmaLinux 8 kernel-debug Advisory build 4.18.0-553.171.1.el8_10 ALSA-2026:75747
AlmaLinux 8 kernel-debug-core Advisory build 4.18.0-553.171.1.el8_10 ALSA-2026:75747
AlmaLinux 8 kernel-debug-devel Advisory build 4.18.0-553.171.1.el8_10 ALSA-2026:75747
AlmaLinux 8 kernel-debug-modules Advisory build 4.18.0-553.171.1.el8_10 ALSA-2026:75747
AlmaLinux 8 kernel-debug-modules-extra Advisory build 4.18.0-553.171.1.el8_10 ALSA-2026:75747
AlmaLinux 8 kernel-devel Advisory build 4.18.0-553.171.1.el8_10 ALSA-2026:75747
AlmaLinux 8 kernel-doc Advisory build 4.18.0-553.171.1.el8_10 ALSA-2026:75747
AlmaLinux 8 kernel-headers Advisory build 4.18.0-553.171.1.el8_10 ALSA-2026:75747
AlmaLinux 8 kernel-modules Advisory build 4.18.0-553.171.1.el8_10 ALSA-2026:75747
AlmaLinux 8 kernel-modules-extra Advisory build 4.18.0-553.171.1.el8_10 ALSA-2026:75747
AlmaLinux 8 kernel-rt Advisory build 4.18.0-553.171.1.rt7.512.el8_10 ALSA-2026:75746
AlmaLinux 8 kernel-rt-core Advisory build 4.18.0-553.171.1.rt7.512.el8_10 ALSA-2026:75746
AlmaLinux 8 kernel-rt-debug Advisory build 4.18.0-553.171.1.rt7.512.el8_10 ALSA-2026:75746
AlmaLinux 8 kernel-rt-debug-core Advisory build 4.18.0-553.171.1.rt7.512.el8_10 ALSA-2026:75746
AlmaLinux 8 kernel-rt-debug-devel Advisory build 4.18.0-553.171.1.rt7.512.el8_10 ALSA-2026:75746
AlmaLinux 8 kernel-rt-debug-modules Advisory build 4.18.0-553.171.1.rt7.512.el8_10 ALSA-2026:75746
AlmaLinux 8 kernel-rt-debug-modules-extra Advisory build 4.18.0-553.171.1.rt7.512.el8_10 ALSA-2026:75746
AlmaLinux 8 kernel-rt-devel Advisory build 4.18.0-553.171.1.rt7.512.el8_10 ALSA-2026:75746
AlmaLinux 8 kernel-rt-modules Advisory build 4.18.0-553.171.1.rt7.512.el8_10 ALSA-2026:75746
AlmaLinux 8 kernel-rt-modules-extra Advisory build 4.18.0-553.171.1.rt7.512.el8_10 ALSA-2026:75746
AlmaLinux 8 kernel-tools Advisory build 4.18.0-553.171.1.el8_10 ALSA-2026:75747
AlmaLinux 8 kernel-tools-libs Advisory build 4.18.0-553.171.1.el8_10 ALSA-2026:75747
AlmaLinux 8 kernel-tools-libs-devel Advisory build 4.18.0-553.171.1.el8_10 ALSA-2026:75747
AlmaLinux 8 kernel-zfcpdump Advisory build 4.18.0-553.171.1.el8_10 ALSA-2026:75747
AlmaLinux 8 kernel-zfcpdump-core Advisory build 4.18.0-553.171.1.el8_10 ALSA-2026:75747
AlmaLinux 8 kernel-zfcpdump-devel Advisory build 4.18.0-553.171.1.el8_10 ALSA-2026:75747
AlmaLinux 8 kernel-zfcpdump-modules Advisory build 4.18.0-553.171.1.el8_10 ALSA-2026:75747
AlmaLinux 8 kernel-zfcpdump-modules-extra Advisory build 4.18.0-553.171.1.el8_10 ALSA-2026:75747
AlmaLinux 8 perf Advisory build 4.18.0-553.171.1.el8_10 ALSA-2026:75747
AlmaLinux 8 python3-perf Advisory build 4.18.0-553.171.1.el8_10 ALSA-2026:75747
Debian bullseye linux Advisory build 5.10.247-1 DLA-4404-1
Debian bullseye linux-6.1 Advisory build 6.1.158-1~deb11u1 DLA-4379-1
Oracle Linux 7 kernel-uek-containerx86_64 Advisory build 0:5.4.17-2136.350.3.1.el7uek ELSA-2025-28049
Oracle Linux 7 kernel-uek-container-debugx86_64 Advisory build 0:5.4.17-2136.350.3.1.el7uek ELSA-2025-28049
Oracle Linux 7 kernel-uek-debugx86_64 Advisory build 0:5.4.17-2136.350.3.1.el7uek ELSA-2025-28049
Oracle Linux 7 kernel-uek-debug-develx86_64 Advisory build 0:5.4.17-2136.350.3.1.el7uek ELSA-2025-28049
Oracle Linux 7 kernel-uek-develx86_64 Advisory build 0:5.4.17-2136.350.3.1.el7uek ELSA-2025-28049
Oracle Linux 7 kernel-uek-docx86_64 Advisory build 0:5.4.17-2136.350.3.1.el7uek ELSA-2025-28049
Oracle Linux 7 kernel-uek-toolsx86_64 Advisory build 0:5.4.17-2136.350.3.1.el7uek ELSA-2025-28049
Oracle Linux 8 bpftoolaarch64 Advisory build 0:4.18.0-553.171.1.el8_10 ELSA-2026-75747
Oracle Linux 8 bpftoolaarch64 Advisory build 0:5.15.0-315.196.5.1.el8uek ELSA-2025-28048
Oracle Linux 8 bpftoolx86_64 Advisory build 0:4.18.0-553.171.1.el8_10 ELSA-2026-75747
Oracle Linux 8 bpftoolx86_64 Advisory build 0:5.15.0-315.196.5.1.el8uek ELSA-2025-28048
Oracle Linux 8 kernelx86_64 Advisory build 0:4.18.0-553.171.1.el8_10 ELSA-2026-75747
Oracle Linux 8 kernel-abi-stablelistsx86_64 Advisory build 0:4.18.0-553.171.1.el8_10 ELSA-2026-75747
Oracle Linux 8 kernel-corex86_64 Advisory build 0:4.18.0-553.171.1.el8_10 ELSA-2026-75747
Oracle Linux 8 kernel-cross-headersaarch64 Advisory build 0:4.18.0-553.171.1.el8_10 ELSA-2026-75747
Oracle Linux 8 kernel-cross-headersx86_64 Advisory build 0:4.18.0-553.171.1.el8_10 ELSA-2026-75747
Oracle Linux 8 kernel-debugx86_64 Advisory build 0:4.18.0-553.171.1.el8_10 ELSA-2026-75747
Oracle Linux 8 kernel-debug-corex86_64 Advisory build 0:4.18.0-553.171.1.el8_10 ELSA-2026-75747
Oracle Linux 8 kernel-debug-develx86_64 Advisory build 0:4.18.0-553.171.1.el8_10 ELSA-2026-75747
Oracle Linux 8 kernel-debug-modulesx86_64 Advisory build 0:4.18.0-553.171.1.el8_10 ELSA-2026-75747
Oracle Linux 8 kernel-debug-modules-extrax86_64 Advisory build 0:4.18.0-553.171.1.el8_10 ELSA-2026-75747
Oracle Linux 8 kernel-develx86_64 Advisory build 0:4.18.0-553.171.1.el8_10 ELSA-2026-75747
Oracle Linux 8 kernel-docx86_64 Advisory build 0:4.18.0-553.171.1.el8_10 ELSA-2026-75747
Oracle Linux 8 kernel-headersaarch64 Advisory build 0:4.18.0-553.171.1.el8_10 ELSA-2026-75747
Oracle Linux 8 kernel-headersx86_64 Advisory build 0:4.18.0-553.171.1.el8_10 ELSA-2026-75747
Oracle Linux 8 kernel-modulesx86_64 Advisory build 0:4.18.0-553.171.1.el8_10 ELSA-2026-75747
Oracle Linux 8 kernel-modules-extrax86_64 Advisory build 0:4.18.0-553.171.1.el8_10 ELSA-2026-75747
Oracle Linux 8 kernel-toolsaarch64 Advisory build 0:4.18.0-553.171.1.el8_10 ELSA-2026-75747
Oracle Linux 8 kernel-toolsx86_64 Advisory build 0:4.18.0-553.171.1.el8_10 ELSA-2026-75747
Oracle Linux 8 kernel-tools-libsaarch64 Advisory build 0:4.18.0-553.171.1.el8_10 ELSA-2026-75747
Oracle Linux 8 kernel-tools-libsx86_64 Advisory build 0:4.18.0-553.171.1.el8_10 ELSA-2026-75747
Oracle Linux 8 kernel-tools-libs-develaarch64 Advisory build 0:4.18.0-553.171.1.el8_10 ELSA-2026-75747
Oracle Linux 8 kernel-tools-libs-develx86_64 Advisory build 0:4.18.0-553.171.1.el8_10 ELSA-2026-75747
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.15.0-315.196.5.1.el8uek ELSA-2025-28048
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.4.17-2136.350.3.1.el8uek ELSA-2025-28049
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.15.0-315.196.5.1.el8uek ELSA-2025-28048
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.4.17-2136.350.3.1.el8uek ELSA-2025-28049
Oracle Linux 8 kernel-uek-containeraarch64 Advisory build 0:5.15.0-315.196.5.1.el8uek ELSA-2025-28048
Oracle Linux 8 kernel-uek-containerx86_64 Advisory build 0:5.15.0-315.196.5.1.el8uek ELSA-2025-28048
Oracle Linux 8 kernel-uek-containerx86_64 Advisory build 0:5.4.17-2136.350.3.1.el8uek ELSA-2025-28049
Oracle Linux 8 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-315.196.5.1.el8uek ELSA-2025-28048
Oracle Linux 8 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-315.196.5.1.el8uek ELSA-2025-28048
Oracle Linux 8 kernel-uek-container-debugx86_64 Advisory build 0:5.4.17-2136.350.3.1.el8uek ELSA-2025-28049
Oracle Linux 8 kernel-uek-coreaarch64 Advisory build 0:5.15.0-315.196.5.1.el8uek ELSA-2025-28048
Oracle Linux 8 kernel-uek-corex86_64 Advisory build 0:5.15.0-315.196.5.1.el8uek ELSA-2025-28048
Oracle Linux 8 kernel-uek-debugaarch64 Advisory build 0:5.15.0-315.196.5.1.el8uek ELSA-2025-28048
Oracle Linux 8 kernel-uek-debugaarch64 Advisory build 0:5.4.17-2136.350.3.1.el8uek ELSA-2025-28049
Oracle Linux 8 kernel-uek-debugx86_64 Advisory build 0:5.15.0-315.196.5.1.el8uek ELSA-2025-28048
Oracle Linux 8 kernel-uek-debugx86_64 Advisory build 0:5.4.17-2136.350.3.1.el8uek ELSA-2025-28049
Oracle Linux 8 kernel-uek-debug-coreaarch64 Advisory build 0:5.15.0-315.196.5.1.el8uek ELSA-2025-28048
Oracle Linux 8 kernel-uek-debug-corex86_64 Advisory build 0:5.15.0-315.196.5.1.el8uek ELSA-2025-28048
Oracle Linux 8 kernel-uek-debug-develaarch64 Advisory build 0:5.15.0-315.196.5.1.el8uek ELSA-2025-28048
Oracle Linux 8 kernel-uek-debug-develaarch64 Advisory build 0:5.4.17-2136.350.3.1.el8uek ELSA-2025-28049
Oracle Linux 8 kernel-uek-debug-develx86_64 Advisory build 0:5.15.0-315.196.5.1.el8uek ELSA-2025-28048
Oracle Linux 8 kernel-uek-debug-develx86_64 Advisory build 0:5.4.17-2136.350.3.1.el8uek ELSA-2025-28049
Oracle Linux 8 kernel-uek-debug-modulesaarch64 Advisory build 0:5.15.0-315.196.5.1.el8uek ELSA-2025-28048
Oracle Linux 8 kernel-uek-debug-modulesx86_64 Advisory build 0:5.15.0-315.196.5.1.el8uek ELSA-2025-28048
Oracle Linux 8 kernel-uek-debug-modules-extraaarch64 Advisory build 0:5.15.0-315.196.5.1.el8uek ELSA-2025-28048
Oracle Linux 8 kernel-uek-debug-modules-extrax86_64 Advisory build 0:5.15.0-315.196.5.1.el8uek ELSA-2025-28048
Oracle Linux 8 kernel-uek-develaarch64 Advisory build 0:5.15.0-315.196.5.1.el8uek ELSA-2025-28048
Oracle Linux 8 kernel-uek-develaarch64 Advisory build 0:5.4.17-2136.350.3.1.el8uek ELSA-2025-28049

Package entries are limited to the first 100 builds and 100 linked advisories.

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]

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

58

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.3 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - Both halves are software-local: the attacker arms the 5-second `timer_sleep` work through the local `/dev/dvb/adapterN/frontend0` or `/dev/videoN` device node, and the freeing `dvb_frontend_detach()` path is entered by a local write to `/sys/bus/pci/devices/<dev>/remove`/`unbind` or `rmmod` on the PCIe xc5000 cards (cx23885, cx88, saa7134), with no network, adjacent-network, or remote-peer data path into `xc5000_release()`. AC:L - The attacker fully controls the arming side with deterministic timing — `dvb_shutdown_timeout` defaults to 0, so closing the frontend immediately triggers `xc5000_sleep()` and the work fires exactly 5 s later — and the callback then executes for roughly 350 ms on cx231xx boards (`msleep(10)+msleep(330)+msleep(10)` in `cx231xx_tuner_callback()`), an enormous window that can be re-armed indefinitely for free; once it is hit, `cancel_delayed_work()` cannot steal a running work item and the use-after-free is unconditional. PR:L - Arming the vulnerable work requires nothing more than opening and closing the DVB frontend or V4L2 video node, which systemd tags with `uaccess` (and which is group `video` on media appliances, set-top boxes and DVR/kiosk systems), so an ordinary unprivileged local account suffices; no capability, user namespace, or root is needed on the attacker-controlled side. UI:R - Completing the exploit needs the free itself, which only occurs on driver teardown — an administrator running `rmmod`/`unbind`, or a user unplugging the USB TV tuner — an action the unprivileged attacker cannot perform, so a separate user must act while the primed work is executing. S:U - The corruption is confined to kernel heap objects (the freed `struct xc5000_priv` and whatever reclaims its kmalloc-192 slot) within the same kernel security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - `xc5000_do_timer_sleep()` reads `priv->fe` out of the freed slab and `xc5000_tuner_reset()` then dereferences `fe->dvb`, `fe->dvb->priv` and `priv->i2c_props.adap->algo_data`, so spraying the kmalloc-192 cache turns the dangling pointer into an arbitrary-address read chain and leaks kernel pointers that defeat KASLR. I:H - `xc5000_tuner_reset()` performs `fe->callback(...)` where `fe` was loaded from the freed object, giving a fully attacker-controlled indirect call with a controlled first argument once the slab is reclaimed — a direct control-flow hijack primitive, not merely a stray read. A:H - Dereferencing the freed `xc5000_priv` from workqueue context reliably produces a KASAN slab-use-after-free splat and an oops/panic (and the bogus function-pointer call faults in kernel context), taking the system down.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux f7a27ff1fb77e114d1059a5eb2ed1cffdc508ce8 to < bc4ffd962ce16a154c44c68853b9d93f5b6fc4b8 (affected · git)f7a27ff1fb77e114d1059a5eb2ed1cffdc508ce8 to < e2f5eaafc0306a76fb1cb760aae804b065b8a341 (affected · git)f7a27ff1fb77e114d1059a5eb2ed1cffdc508ce8 to < 3f876cd47ed8bca1e28d68435845949f51f90703 (affected · git)f7a27ff1fb77e114d1059a5eb2ed1cffdc508ce8 to < df0303b4839520b84d9367c2fad65b13650a4d42 (affected · git)f7a27ff1fb77e114d1059a5eb2ed1cffdc508ce8 to < 71ed8b81a4906cb785966910f39cf7f5ad60a69e (affected · git)f7a27ff1fb77e114d1059a5eb2ed1cffdc508ce8 to < effb1c19583bca7022fa641a70766de45c6d41ac (affected · git)f7a27ff1fb77e114d1059a5eb2ed1cffdc508ce8 to < 9a00de20ed8ba90888479749b87bc1532cded4ce (affected · git)f7a27ff1fb77e114d1059a5eb2ed1cffdc508ce8 to < 4266f012806fc18e46da4a04d130df59a4946f93 (affected · git)f7a27ff1fb77e114d1059a5eb2ed1cffdc508ce8 to < 40b7a19f321e65789612ebaca966472055dab48c (affected · git)Default: unaffected Linux · cna
Linux Linux 3.16 (affected)0 to < 3.16 (unaffected · semver)5.4.301 through 5.4.* (unaffected · semver)5.10.246 through 5.10.* (unaffected · semver)5.15.195 through 5.15.* (unaffected · semver)6.1.156 through 6.1.* (unaffected · semver)6.6.111 through 6.6.* (unaffected · semver)6.12.51 through 6.12.* (unaffected · semver)6.16.11 through 6.16.* (unaffected · semver)6.17.1 through 6.17.* (unaffected · semver)6.18 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

9

Provider assertions

2

Linux · cna

media: tuner: xc5000: Fix use-after-free in xc5000_release

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
a52530b5b66e5df8415a18d17211a1e9160723509cca8ab10aa5b395931986f4
Ingested
15 Oct 2026, 23:26:25 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected