CVE-2023-52847
HighIn 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
CVSS 3.1 score
7.0
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness type
CWE-362CVE-2023-52847 is a Race Condition vulnerability
What is Race Condition?
The product contains a code sequence that can run concurrently with other code, creating unexpected states. Learn more on MITRE CWE
Affected versions
Linux kernel versions
4.15
and later are affected. Fixed in
4.19.299,
5.4.261,
5.10.201,
5.15.139,
6.1.63,
6.5.12,
6.6.2,
6.7
and their respective stable series.
References
8 total-
Mailing List Patch
-
Mailing List Patch
-
Mailing List Patch
-
Mailing List Patch
-
Mailing List Patch
Frequently asked questions
-
What is CVE-2023-52847?
CVE-2023-52847 is a High severity Linux kernel vulnerability with a CVSS score of 7.0 out of 10 , classified as a Race Condition flaw (CWE-362) . It affects Linux kernel versions from 4.15 onward and has been patched in 4.19.299, 5.4.261, 5.10.201 and others. CVE-2023-52847 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2023-52847?
CVE-2023-52847 has a CVSS score of 7.0 out of 10, rated High severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H. -
Is there a patch available for CVE-2023-52847?
Yes. CVE-2023-52847 has been patched. Fixed versions include 4.19.299, 5.4.261, 5.10.201 and others. If you are running Linux kernel 4.15 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2023-52847 actively exploited?
No. CVE-2023-52847 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.