CVE-2023-52445
media: pvrusb2: fix use after free on context disconnection
Check your servers for CVE-2023-52445
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-52445 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
media: pvrusb2: fix use after free on context disconnection
Upon module load, a kthread is created targeting the pvr2_context_thread_func function, which may call pvr2_context_destroy and thus call kfree() on the context object. However, that might happen before the usb hub_event handler is able to notify the driver. This patch adds a sanity check before the invalid read reported by syzbot, within the context disconnection call stack.
Exploitation
EPSS 0.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 16.6% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Sep 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from e5be15c63804e05b5a94197524023702a259e308, before ec36c134dd020d28e312c2f1766f85525e747aab affected from e5be15c63804e05b5a94197524023702a259e308, before 47aa8fcd5e8b5563af4042a00f25ba89bef8f33d affected from e5be15c63804e05b5a94197524023702a259e308, before 3233d8bf7893550045682192cb227af7fa3defeb affected from e5be15c63804e05b5a94197524023702a259e308, before ec3634ebe23fc3c44ebc67c6d25917300bc68c08 affected from e5be15c63804e05b5a94197524023702a259e308, before 30773ea47d41773f9611ffb4ebc9bda9d19a9e7e affected from e5be15c63804e05b5a94197524023702a259e308, before 2cf0005d315549b8d2b940ff96a66c2a889aa795 affected from e5be15c63804e05b5a94197524023702a259e308, before 437b5f57732bb4cc32cc9f8895d2010ee9ff521c affected from e5be15c63804e05b5a94197524023702a259e308, before ded85b0c0edd8f45fec88783d7555a5b982449c1
Other versions: unaffected
|
| Linux |
affected 2.6.26 unaffected before 2.6.26 unaffected from 4.19.306 up to and including 4.19.* unaffected from 5.4.268 up to and including 5.4.* unaffected from 5.10.209 up to and including 5.10.* unaffected from 5.15.148 up to and including 5.15.* unaffected from 6.1.75 up to and including 6.1.* unaffected from 6.6.14 up to and including 6.6.* unaffected from 6.7.2 up to and including 6.7.* unaffected 6.8 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-52445 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-52445
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2023-52445
trivy image --scanners vuln IMAGE | grep CVE-2023-52445
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/ec36c134dd020d28e312c2f1766f85525e747aab git.kernel.org
- https://git.kernel.org/stable/c/47aa8fcd5e8b5563af4042a00f25ba89bef8f33d git.kernel.org
- https://git.kernel.org/stable/c/3233d8bf7893550045682192cb227af7fa3defeb git.kernel.org
- https://git.kernel.org/stable/c/ec3634ebe23fc3c44ebc67c6d25917300bc68c08 git.kernel.org
- https://git.kernel.org/stable/c/30773ea47d41773f9611ffb4ebc9bda9d19a9e7e git.kernel.org
- https://git.kernel.org/stable/c/2cf0005d315549b8d2b940ff96a66c2a889aa795 git.kernel.org
- https://git.kernel.org/stable/c/437b5f57732bb4cc32cc9f8895d2010ee9ff521c git.kernel.org
- https://git.kernel.org/stable/c/ded85b0c0edd8f45fec88783d7555a5b982449c1 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00016.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html lists.debian.org
Source: the record CVE-2023-52445 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse