CVE-2023-52841

media: vidtv: mux: Add check and kfree for kstrdup

MEDIUM
5.5
CVSS Score
Published: May 21, 2024 at 03:31 PM UTC
Updated: June 17, 2026 at 06:43 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
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: media: vidtv: mux: Add check and kfree for kstrdup Add check for the return value of kstrdup() and return the error if it fails in order to avoid NULL pointer dereference. Moreover, use kfree() in the later error handling in order to avoid memory leak.

Affected

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

5.10 ≤ v < 5.10.2015.10 ≤ v < 5.15.1395.10 ≤ v < 6.1.635.10 ≤ v < 6.5.125.10 ≤ v < 6.6.25.10 ≤ v < 6.75.11 ≤ v < 5.15.1395.16 ≤ v < 6.1.636.2 ≤ v < 6.5.126.6 ≤ v < 6.6.25.10c2f78f0cb294aa6f009d3a170f4ee8ad199ba5da
Vendor states this is fixed in 1fd6eb12642e0c32692924ff359c07de4b781d78 (fixed)
Vendor states this is fixed in 64863ba8e6b7651d994c6e6d506cc8aa2ac45edb (fixed)
Vendor states this is fixed in 980be4c3b0d51c0f873fd750117774561c66cf68 (fixed)
Vendor states this is fixed in a254ee1ddc592ae1efcce96b8c014e1bd2d5a2b4 (fixed)
Vendor states this is fixed in aae7598aff291d4d140be1355aa20930af948785 (fixed)
Vendor states this is fixed in cb13001411999adb158b39e76d94705eb2da100d (fixed)
Vendor states this is fixed in 5.10 (unaffected)
Vendor states this is fixed in 5.10.201 (unaffected)
Vendor states this is fixed in 5.15.139 (unaffected)
Vendor states this is fixed in 6.1.63 (unaffected)
Vendor states this is fixed in 6.5.12 (unaffected)
Vendor states this is fixed in 6.6.2 (unaffected)
Vendor states this is fixed in 6.7 (unaffected)

References (6)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1fd6eb12642e0c32692924ff359c07de4b781d78
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/64863ba8e6b7651d994c6e6d506cc8aa2ac45edb
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/980be4c3b0d51c0f873fd750117774561c66cf68
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a254ee1ddc592ae1efcce96b8c014e1bd2d5a2b4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/aae7598aff291d4d140be1355aa20930af948785
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/cb13001411999adb158b39e76d94705eb2da100d

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
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-401CWE-476

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