CVE-2023-52847: media: bttv: fix use after free error due to btv->timeout timer

Published May 21, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

media: bttv: fix use after free error due to btv->timeout timer

The Linux kernel CVE team has assigned CVE-2023-52847 to this issue.

Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024052113-CVE-2023-52847-a551@gregkh/T

Other sources

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 bttvirqtimeout and bttvremove. The timer is setup in probe and there is no timerdelete 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 deltimersync invoking to the remove function.

cpu0 cpu1 bttvprobe ->timersetup ->bttvsetdma ->modtimer; bttvremove ->kfree(btv); ->bttvirqtimeout ->USE btv

NVD

Linux Kernel could allow a local authenticated attacker to execute arbitrary code on the system, caused by a use-after-free flaw due to btv->timeout timer. By sending a specially crafted request, an attacker could exploit this vulnerability to execute arbitrary code on the system.

IBM

Affected Software

19 affected componentsFixes available
redhat/kernel<4.19.299
4.19.299
redhat/kernel<5.4.261
5.4.261
redhat/kernel<5.10.201
5.10.201
redhat/kernel<5.15.139
5.15.139
redhat/kernel<6.1.63
6.1.63
redhat/kernel<6.5.12
6.5.12
redhat/kernel<6.6.2
6.6.2
redhat/kernel<6.7
6.7
Linux Linux kernel>=4.15<4.19.299
Linux Linux kernel>=4.20<5.4.261
Linux Linux kernel>=5.5<5.10.201
Linux Linux kernel>=5.11<5.15.139
Linux Linux kernel>=5.16<6.1.63
Linux Linux kernel>=6.2<6.5.12
Linux Linux kernel>=6.6<6.6.2
IBM Security Verify Governance<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Software Stack<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Virtual Appliance<=ISVG 10.0.2
IBM Security Verify Governance Identity Manager Container<=ISVG 10.0.2

Event History

May 21, 2024
CVE Published
via MITRE·03:31 PM
Data Sourced
via MITRE·03:31 PM
Description
May 22, 2024
Data Sourced
via Red Hat·08:04 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2023-52847?

CVE-2023-52847 is classified as a medium severity vulnerability in the Linux kernel.

2

How do I fix CVE-2023-52847?

To fix CVE-2023-52847, update your Linux kernel to a version greater than or equal to the specified remedies for your distribution.

3

What versions of the Linux kernel are affected by CVE-2023-52847?

CVE-2023-52847 affects multiple versions of the Linux kernel including those lower than 4.19.299, 5.4.261, 5.10.201, 5.15.139, 6.1.63, 6.5.12, 6.6.2, and 6.7.

4

Who is impacted by CVE-2023-52847?

Users and administrators running vulnerable versions of the Linux kernel may be impacted by CVE-2023-52847.

5

What exploitation risks are associated with CVE-2023-52847?

CVE-2023-52847 can potentially allow an attacker to exploit the use after free vulnerability for unauthorized access or control over affected systems.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203