CVE-2023-52847
media: bttv: fix use after free error due to btv->timeout timer
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 162e6376ac58440beb6a2d2ee294f5d88ea58dd1, < bbc3b8dd2cb7817e703f112d988e4f4728f0f2a9; >= 162e6376ac58440beb6a2d2ee294f5d88ea58dd1, < b35fdade92c5058a5e727e233fe263b828de2c9a; >= 162e6376ac58440beb6a2d2ee294f5d88ea58dd1, < 2f3d9198cdae1cb079ec8652f4defacd481eab2b; >= 162e6376ac58440beb6a2d2ee294f5d88ea58dd1, < 51c94256a83fe4e17406c66ff3e1ad7d242d8574; >= 162e6376ac58440beb6a2d2ee294f5d88ea58dd1, < 20568d06f6069cb835e05eed432edf962645d226; >= 162e6376ac58440beb6a2d2ee294f5d88ea58dd1, < 1871014d6ef4812ad11ef7d838d73ce09d632267; >= 162e6376ac58440beb6a2d2ee294f5d88ea58dd1, < 847599fffa528b2cdec4e21b6bf7586dad982132; >= 162e6376ac58440beb6a2d2ee294f5d88ea58dd1, < bd5b50b329e850d467e7bcc07b2b6bde3752fbda
- Anyone running Linux 4.15
Vulnerability facts
- Affected
- Linux >= 162e6376ac58440beb6a2d2ee294f5d88ea58dd1, < bbc3b8dd2cb7817e703f112d988e4f4728f0f2a9; >= 162e6376ac58440beb6a2d2ee294f5d88ea58dd1, < b35fdade92c5058a5e727e233fe263b828de2c9a; >= 162e6376ac58440beb6a2d2ee294f5d88ea58dd1, < 2f3d9198cdae1cb079ec8652f4defacd481eab2b; >= 162e6376ac58440beb6a2d2ee294f5d88ea58dd1, < 51c94256a83fe4e17406c66ff3e1ad7d242d8574; >= 162e6376ac58440beb6a2d2ee294f5d88ea58dd1, < 20568d06f6069cb835e05eed432edf962645d226; >= 162e6376ac58440beb6a2d2ee294f5d88ea58dd1, < 1871014d6ef4812ad11ef7d838d73ce09d632267; >= 162e6376ac58440beb6a2d2ee294f5d88ea58dd1, < 847599fffa528b2cdec4e21b6bf7586dad982132; >= 162e6376ac58440beb6a2d2ee294f5d88ea58dd1, < bd5b50b329e850d467e7bcc07b2b6bde3752fbda; Linux 4.15
- Fixed in
- Linux 2f3d9198cdae1cb079ec8652f4defacd481eab2b, Linux 51c94256a83fe4e17406c66ff3e1ad7d242d8574, Linux 20568d06f6069cb835e05eed432edf962645d226, Linux 1871014d6ef4812ad11ef7d838d73ce09d632267, Linux 847599fffa528b2cdec4e21b6bf7586dad982132
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.24% chance of exploitation in 30 days (percentile 9, 2026-11-26)
- CWE
- CWE-362, CWE-416
- Modified
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
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 162e6376ac58440beb6a2d2ee294f5d88ea58dd1, < bbc3b8dd2cb7817e703f112d988e4f4728f0f2a9; >= 162e6376ac58440beb6a2d2ee294f5d88ea58dd1, < b35fdade92c5058a5e727e233fe263b828de2c9a; >= 162e6376ac58440beb6a2d2ee294f5d88ea58dd1, < 2f3d9198cdae1cb079ec8652f4defacd481eab2b; >= 162e6376ac58440beb6a2d2ee294f5d88ea58dd1, < 51c94256a83fe4e17406c66ff3e1ad7d242d8574; >= 162e6376ac58440beb6a2d2ee294f5d88ea58dd1, < 20568d06f6069cb835e05eed432edf962645d226; >= 162e6376ac58440beb6a2d2ee294f5d88ea58dd1, < 1871014d6ef4812ad11ef7d838d73ce09d632267; >= 162e6376ac58440beb6a2d2ee294f5d88ea58dd1, < 847599fffa528b2cdec4e21b6bf7586dad982132; >= 162e6376ac58440beb6a2d2ee294f5d88ea58dd1, < bd5b50b329e850d467e7bcc07b2b6bde3752fbda | — | cvelist |
| Linux | 4.15 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-52847. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-52847.md Affected: Linux >= 162e6376ac58440beb6a2d2ee294f5d88ea58dd1, < bbc3b8dd2cb7817e703f112d988e4f4728f0f2a9; >= 162e6376ac58440beb6a2d2ee294f5d88ea58dd1, < b35fdade92c5058a5e727e233fe263b828de2c9a; >= 162e6376ac58440beb6a2d2ee294f5d88ea58dd1, < 2f3d9198cdae1cb079ec8652f4defacd481eab2b; >= 162e6376ac58440beb6a2d2… Fixed in: Linux 2f3d9198cdae1cb079ec8652f4defacd481eab2b, Linux 51c94256a83fe4e17406c66ff3e1ad7d242d8574, Linux 20568d06f6069cb835e05eed432edf962645d226, Linux 1871014d6ef4812ad11ef7d838d73ce09d632267, Linux 847599fffa528b2cdec4e21b6bf7586dad982132 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/bbc3b8dd2cb7817e703f112d988e4f4728f0f2a9
- https://git.kernel.org/stable/c/b35fdade92c5058a5e727e233fe263b828de2c9a
- https://git.kernel.org/stable/c/2f3d9198cdae1cb079ec8652f4defacd481eab2b
- https://git.kernel.org/stable/c/51c94256a83fe4e17406c66ff3e1ad7d242d8574
- https://git.kernel.org/stable/c/20568d06f6069cb835e05eed432edf962645d226
- https://git.kernel.org/stable/c/1871014d6ef4812ad11ef7d838d73ce09d632267
- https://git.kernel.org/stable/c/847599fffa528b2cdec4e21b6bf7586dad982132
- https://git.kernel.org/stable/c/bd5b50b329e850d467e7bcc07b2b6bde3752fbda
FAQ
Is CVE-2023-52847 being exploited?
There is no confirmed exploitation: CVE-2023-52847 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.24% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-52847?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2023-52847?
Linux >= 162e6376ac58440beb6a2d2ee294f5d88ea58dd1, < bbc3b8dd2cb7817e703f112d988e4f4728f0f2a9; >= 162e6376ac58440beb6a2d2ee294f5d88ea58dd1, < b35fdade92c5058a5e727e233fe263b828de2c9a; >= 162e6376ac58440beb6a2d2ee294f5d88ea58dd1, < 2f3d9198cdae1cb079ec8652f4defacd481eab2b; >= 162e6376ac58440beb6a2d2ee294f5d88ea58dd1, < 51c94256a83fe4e17406c66ff3e1ad7d242d8574; >= 162e6376ac58440beb6a2d2ee294f5d88ea58dd1, < 20568d06f6069cb835e05eed432edf962645d226; >= 162e6376ac58440beb6a2d2ee294f5d88ea58dd1, < 1871014d6ef4812ad11ef7d838d73ce09d632267; >= 162e6376ac58440beb6a2d2ee294f5d88ea58dd1, < 847599fffa528b2cdec4e21b6bf7586dad982132; >= 162e6376ac58440beb6a2d2ee294f5d88ea58dd1, < bd5b50b329e850d467e7bcc07b2b6bde3752fbda; Linux 4.15.
Is there a fix for CVE-2023-52847?
Yes. Fixed in Linux 2f3d9198cdae1cb079ec8652f4defacd481eab2b, Linux 51c94256a83fe4e17406c66ff3e1ad7d242d8574, Linux 20568d06f6069cb835e05eed432edf962645d226, Linux 1871014d6ef4812ad11ef7d838d73ce09d632267, Linux 847599fffa528b2cdec4e21b6bf7586dad982132. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2023-52847?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.