CVE-2023-52847
media: bttv: fix use after free error due to btv->timeout timer
- Published
- Updated
- Reserved
- Assigned by
- Linux
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
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | High7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.19% · top 92% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Weakness
Affected products
- affected 162e6376ac58440beb6a2d2ee294f5d88ea58dd1 – < bbc3b8dd2cb7817e703f112d988e4f4728f0f2a9
- affected 162e6376ac58440beb6a2d2ee294f5d88ea58dd1 – < b35fdade92c5058a5e727e233fe263b828de2c9a
- affected 162e6376ac58440beb6a2d2ee294f5d88ea58dd1 – < 2f3d9198cdae1cb079ec8652f4defacd481eab2b
- affected 162e6376ac58440beb6a2d2ee294f5d88ea58dd1 – < 51c94256a83fe4e17406c66ff3e1ad7d242d8574
- affected 162e6376ac58440beb6a2d2ee294f5d88ea58dd1 – < 20568d06f6069cb835e05eed432edf962645d226
- affected 162e6376ac58440beb6a2d2ee294f5d88ea58dd1 – < 1871014d6ef4812ad11ef7d838d73ce09d632267
- affected 162e6376ac58440beb6a2d2ee294f5d88ea58dd1 – < 847599fffa528b2cdec4e21b6bf7586dad982132
- affected 162e6376ac58440beb6a2d2ee294f5d88ea58dd1 – < bd5b50b329e850d467e7bcc07b2b6bde3752fbda
- affected 4.15
- unaffected < 4.15
- unaffected 4.19.299 – ≤ 4.19.*
- unaffected 5.4.261 – ≤ 5.4.*
- unaffected 5.10.201 – ≤ 5.10.*
- unaffected 5.15.139 – ≤ 5.15.*
- unaffected 6.1.63 – ≤ 6.1.*
- unaffected 6.5.12 – ≤ 6.5.*
- unaffected 6.6.2 – ≤ 6.6.*
- unaffected 6.7 – ≤ *
References (8)
- https://git.kernel.org/stable/c/bbc3b8dd2cb7817e703f112d988e4f4728f0f2a9 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/b35fdade92c5058a5e727e233fe263b828de2c9a (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/2f3d9198cdae1cb079ec8652f4defacd481eab2b (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/51c94256a83fe4e17406c66ff3e1ad7d242d8574 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/20568d06f6069cb835e05eed432edf962645d226 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/1871014d6ef4812ad11ef7d838d73ce09d632267 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/847599fffa528b2cdec4e21b6bf7586dad982132 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/bd5b50b329e850d467e7bcc07b2b6bde3752fbda (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2023-52847)Record last updated .