CVE-2023-52847
published high CVSS 3.1 · 7.8media: bttv: fix use after free error due to btv->timeout timer
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux162e6376ac58440beb6a2d2ee294f5d88ea58dd1 to < bbc3b8dd2cb7817e703f112d988e4f4728f0f2a9 · 162e6376ac58440beb6a2d2ee294f5d88ea58dd1 to < b35fdade92c5058a5e727e233fe263b828de2c9a · 162e6376ac58440beb6a2d2ee294f5d88ea58dd1 to < 2f3d9198cdae1cb079ec8652f4defacd481eab2b · 162e6376ac58440beb6a2d2ee294f5d88ea58dd1 to < 51c94256a83fe4e17406c66ff3e1ad7d242d8574 · 162e6376ac58440beb6a2d2ee294f5d88ea58dd1 to < 20568d06f6069cb835e05eed432edf962645d226 · 162e6376ac58440beb6a2d2ee294f5d88ea58dd1 to < 1871014d6ef4812ad11ef7d838d73ce09d632267 · 162e6376ac58440beb6a2d2ee294f5d88ea58dd1 to < 847599fffa528b2cdec4e21b6bf7586dad982132 · 162e6376ac58440beb6a2d2ee294f5d88ea58dd1 to < bd5b50b329e850d467e7bcc07b2b6bde3752fbda · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.15 (affected) · 0 to < 4.15 (unaffected · semver) · 4.19.299 through 4.19.* (unaffected · semver) · 5.4.261 through 5.4.* (unaffected · semver) · 5.10.201 through 5.10.* (unaffected · semver) · 5.15.139 through 5.15.* (unaffected · semver) · 6.1.63 through 6.1.* (unaffected · semver) · 6.5.12 through 6.5.* (unaffected · semver) · 6.6.2 through 6.6.* (unaffected · semver) · 6.7 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.16.1.el8_10 | ALSA-2024:5101 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolaarch64 | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| AlmaLinux | 8 | kernel | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 8 | kernel-abi-stablelists | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-core | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-cross-headers | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-debug | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-debug-core | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-debug-devel | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-debug-modules | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-debug-modules-extra | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-devel | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-doc | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-headers | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-modules | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-modules-extra | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-rt | Advisory build | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux | 8 | kernel-rt-core | Advisory build | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux | 8 | kernel-rt-debug | Advisory build | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux | 8 | kernel-rt-debug-core | Advisory build | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux | 8 | kernel-rt-debug-devel | Advisory build | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux | 8 | kernel-rt-debug-kvm | Advisory build | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux | 8 | kernel-rt-debug-modules | Advisory build | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux | 8 | kernel-rt-debug-modules-extra | Advisory build | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux | 8 | kernel-rt-devel | Advisory build | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux | 8 | kernel-rt-kvm | Advisory build | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux | 8 | kernel-rt-modules | Advisory build | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux | 8 | kernel-rt-modules-extra | Advisory build | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux | 8 | kernel-tools | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-tools-libs | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-tools-libs-devel | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-zfcpdump | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-zfcpdump-core | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-zfcpdump-devel | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-zfcpdump-modules | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-zfcpdump-modules-extra | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | perf | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | python3-perf | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Oracle Linux | 8 | kernelx86_64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Oracle Linux | 8 | kernel-abi-stablelistsx86_64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Oracle Linux | 8 | kernel-corex86_64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Oracle Linux | 8 | kernel-cross-headersaarch64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Oracle Linux | 8 | kernel-cross-headersx86_64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Oracle Linux | 8 | kernel-debugx86_64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Oracle Linux | 8 | kernel-debug-corex86_64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Oracle Linux | 8 | kernel-debug-develx86_64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Oracle Linux | 8 | kernel-debug-modulesx86_64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Oracle Linux | 8 | kernel-debug-modules-extrax86_64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Oracle Linux | 8 | kernel-develx86_64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Oracle Linux | 8 | kernel-docx86_64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Oracle Linux | 8 | kernel-headersaarch64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Oracle Linux | 8 | kernel-headersx86_64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Oracle Linux | 8 | kernel-modulesx86_64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Oracle Linux | 8 | kernel-modules-extrax86_64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Oracle Linux | 8 | kernel-toolsaarch64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Oracle Linux | 8 | kernel-toolsx86_64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Oracle Linux | 8 | kernel-tools-libsaarch64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Oracle Linux | 8 | kernel-tools-libsx86_64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Oracle Linux | 8 | kernel-tools-libs-develaarch64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Oracle Linux | 8 | kernel-tools-libs-develx86_64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Oracle Linux | 8 | perfaarch64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Oracle Linux | 8 | perfx86_64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Oracle Linux | 8 | python3-perfaarch64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Oracle Linux | 8 | python3-perfx86_64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolppc64le | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | bpftools390x | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolx86_64 | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoaarch64 | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoppc64le | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfos390x | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfox86_64 | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernelaarch64 | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernelppc64le | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernels390x | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernelsrc | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernelx86_64 | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-abi-stablelistsnoarch | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-coreaarch64 | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-coreppc64le | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-cores390x | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-corex86_64 | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugaarch64 | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugppc64le | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugs390x | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugx86_64 | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-coreaarch64 | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-coreppc64le | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-cores390x | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-corex86_64 | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfoaarch64 | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfoppc64le | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfos390x | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfox86_64 | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develaarch64 | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develppc64le | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-devels390x | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develx86_64 | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modulesaarch64 | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
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: bttv: fix use after free error due to btv->timeout timer There may be some a race condition between timer function bttv_irq_timeout and bttv_remove. The timer is setup in probe and there is no timer_delete operation in remove function. When it hit kfree btv, the function might still be invoked, which will cause use after free bug. This bug is found by static analysis, it may be false positive. Fix it by adding del_timer_sync invoking to the remove function. cpu0 cpu1 bttv_probe ->timer_setup ->bttv_set_dma ->mod_timer; bttv_remove ->kfree(btv); ->bttv_irq_timeout ->USE btv
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The UAF is reached only through the local PCI remove path (bttv_remove → kfree(btv)) while btv->timeout may still fire; that is driver unbind/module unload or local hot-remove on a Bt8xx card, not a network or adjacent-link surface. AC:L - An attacker who starts V4L2 capture (buffer_queue → bttv_set_dma → mod_timer) while triggering remove controls both sides of the race against bttv_irq_timeout; remove never cancelled the timer before the fix, so the overlap is attacker-driven and retryable. PR:L - Arming the timer needs only /dev/video* access (udev group video); driver unbind/unload on an already-present card is scored Low consistent with the same-class media timer-UAF CVE-2023-53219 and the prefer-higher-severity rule. UI:N - The attacker starts streaming and initiates driver removal themselves; no separate victim action such as opening attacker-supplied content is required. S:U - The freed struct bttv (with embedded timer_list) is ordinary host-kernel heap under the same authority; there is no VM escape, IOMMU bypass, or sandbox boundary crossed. C:H - bttv_irq_timeout derives btv via from_timer and reads freed fields (curr, cvbi, capture lists, locks); UAF reclaim enables arbitrary kernel disclosure, scored High per UAF guidance. I:H - The handler takes btv->s_lock and mutates curr/cvbi/capture/vcapture and DMA state on freed memory, yielding heap-spray write and control-flow hijack primitives typical of kernel UAFs. A:H - A use-after-free timer firing against kfree'd btv reliably causes kernel oops/panic even when not fully exploited, which is Availability High.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 162e6376ac58440beb6a2d2ee294f5d88ea58dd1 to < bbc3b8dd2cb7817e703f112d988e4f4728f0f2a9 (affected · git)162e6376ac58440beb6a2d2ee294f5d88ea58dd1 to < b35fdade92c5058a5e727e233fe263b828de2c9a (affected · git)162e6376ac58440beb6a2d2ee294f5d88ea58dd1 to < 2f3d9198cdae1cb079ec8652f4defacd481eab2b (affected · git)162e6376ac58440beb6a2d2ee294f5d88ea58dd1 to < 51c94256a83fe4e17406c66ff3e1ad7d242d8574 (affected · git)162e6376ac58440beb6a2d2ee294f5d88ea58dd1 to < 20568d06f6069cb835e05eed432edf962645d226 (affected · git)162e6376ac58440beb6a2d2ee294f5d88ea58dd1 to < 1871014d6ef4812ad11ef7d838d73ce09d632267 (affected · git)162e6376ac58440beb6a2d2ee294f5d88ea58dd1 to < 847599fffa528b2cdec4e21b6bf7586dad982132 (affected · git)162e6376ac58440beb6a2d2ee294f5d88ea58dd1 to < bd5b50b329e850d467e7bcc07b2b6bde3752fbda (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.15 (affected)0 to < 4.15 (unaffected · semver)4.19.299 through 4.19.* (unaffected · semver)5.4.261 through 5.4.* (unaffected · semver)5.10.201 through 5.10.* (unaffected · semver)5.15.139 through 5.15.* (unaffected · semver)6.1.63 through 6.1.* (unaffected · semver)6.5.12 through 6.5.* (unaffected · semver)6.6.2 through 6.6.* (unaffected · semver)6.7 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/1871014d6ef4812ad11ef7d838d73ce09d632267
- https://git.kernel.org/stable/c/20568d06f6069cb835e05eed432edf962645d226
- https://git.kernel.org/stable/c/2f3d9198cdae1cb079ec8652f4defacd481eab2b
- https://git.kernel.org/stable/c/51c94256a83fe4e17406c66ff3e1ad7d242d8574
- https://git.kernel.org/stable/c/847599fffa528b2cdec4e21b6bf7586dad982132
- https://git.kernel.org/stable/c/b35fdade92c5058a5e727e233fe263b828de2c9a
- https://git.kernel.org/stable/c/bbc3b8dd2cb7817e703f112d988e4f4728f0f2a9
- https://git.kernel.org/stable/c/bd5b50b329e850d467e7bcc07b2b6bde3752fbda
Provider assertions
3Linux · cna
media: bttv: fix use after free error due to btv->timeout timer
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4e3cd67e689b7cd36951dee570200061220197426341cd08f201d8b208074ab6
- Ingested
- 23 Sep 2026, 08:14:33 UTC
- Source record
- Official CVE record