CVE-2023-52847

High

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

SeverityHigh
CVSS7.8
Exploit probability—
ProductLinux Kernel
PublishedMay 21, 2024
First seenMay 21, 2024

How to fix

Update
  • linux linux_kernel4.19.299, 5.4.261, 5.10.201, 5.15.139, 6.1.63, 6.5.12, 6.6.2 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel4.15 ≤ v < 4.19.299, 4.20 ≤ v < 5.4.261, 5.5 ≤ v < 5.10.201, 5.11 ≤ v < 5.15.139, 5.16 ≤ v < 6.1.63, 6.2 ≤ v < 6.5.12, 6.6 ≤ v < 6.6.24.19.299, 5.4.261, 5.10.201, 5.15.139, 6.1.63, 6.5.12, 6.6.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.