CVE-2023-52445

media: pvrusb2: fix use after free on context disconnection

HIGH
7.8
CVSS Score
Published: February 22, 2024 at 04:21 PM UTC
Updated: June 17, 2026 at 06:42 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 4.19.3062.6.26 ≤ v < 4.19.3062.6.26 ≤ v < 5.10.2092.6.26 ≤ v < 5.15.1482.6.26 ≤ v < 5.4.2682.6.26 ≤ v < 6.1.752.6.26 ≤ v < 6.6.142.6.26 ≤ v < 6.7.22.6.26 ≤ v < 6.84.20 ≤ v < 5.4.2685.11.0 ≤ v < 5.15.1485.16.0 ≤ v < 6.1.755.5.0 ≤ v < 5.10.2096.2.0 ≤ v < 6.6.146.7.0 ≤ v < 6.7.22.6.26e5be15c63804e05b5a94197524023702a259e308
Vendor states this is fixed in 2cf0005d315549b8d2b940ff96a66c2a889aa795 (fixed)
Vendor states this is fixed in 30773ea47d41773f9611ffb4ebc9bda9d19a9e7e (fixed)
Vendor states this is fixed in 3233d8bf7893550045682192cb227af7fa3defeb (fixed)
Vendor states this is fixed in 437b5f57732bb4cc32cc9f8895d2010ee9ff521c (fixed)
Vendor states this is fixed in 47aa8fcd5e8b5563af4042a00f25ba89bef8f33d (fixed)
Vendor states this is fixed in ded85b0c0edd8f45fec88783d7555a5b982449c1 (fixed)
Vendor states this is fixed in ec3634ebe23fc3c44ebc67c6d25917300bc68c08 (fixed)
Vendor states this is fixed in ec36c134dd020d28e312c2f1766f85525e747aab (fixed)
Vendor states this is fixed in 2.6.26 (unaffected)
Vendor states this is fixed in 4.19.306 (unaffected)
Vendor states this is fixed in 5.10.209 (unaffected)
Vendor states this is fixed in 5.15.148 (unaffected)
Vendor states this is fixed in 5.4.268 (unaffected)
Vendor states this is fixed in 6.1.75 (unaffected)
Vendor states this is fixed in 6.6.14 (unaffected)
Vendor states this is fixed in 6.7.2 (unaffected)
Vendor states this is fixed in 6.8 (unaffected)

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2cf0005d315549b8d2b940ff96a66c2a889aa795
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/30773ea47d41773f9611ffb4ebc9bda9d19a9e7e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3233d8bf7893550045682192cb227af7fa3defeb
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/437b5f57732bb4cc32cc9f8895d2010ee9ff521c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/47aa8fcd5e8b5563af4042a00f25ba89bef8f33d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ded85b0c0edd8f45fec88783d7555a5b982449c1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ec3634ebe23fc3c44ebc67c6d25917300bc68c08
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ec36c134dd020d28e312c2f1766f85525e747aab

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card