CVE-2023-52789

tty: vcc: Add check for kstrdup() in vcc_probe()

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: tty: vcc: Add check for kstrdup() in vcc_probe() Add check for the return value of kstrdup() and return the error, if it fails in order to avoid NULL pointer dereference.

Affected

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

v < 4.14.3314.14 ≤ v < 4.14.3314.14 ≤ v < 4.19.3004.14 ≤ v < 5.10.2024.14 ≤ v < 5.15.1404.14 ≤ v < 5.4.2624.14 ≤ v < 6.1.644.14 ≤ v < 6.5.134.14 ≤ v < 6.6.34.14 ≤ v < 6.74.15 ≤ v < 4.19.3004.20 ≤ v < 5.4.2625.11 ≤ v < 5.15.1405.16 ≤ v < 6.1.645.5 ≤ v < 5.10.2026.2 ≤ v < 6.5.136.6 ≤ v < 6.6.34.145d171050e28f823aeb040f2830da4d3422b54b63
Vendor states this is fixed in 38cd56fc9de78bf3c878790785e8c231116ef9d3 (fixed)
Vendor states this is fixed in 460284dfb10b207980c6f3f7046e33446ceb38ac (fixed)
Vendor states this is fixed in 4a24a31826246b15477399febd13292b0c9f0ee9 (fixed)
Vendor states this is fixed in 4ef41a7f33ffe1a335e7db7e1564ddc6afad47cc (fixed)
Vendor states this is fixed in 6c80f48912b5bd4965352d1a9a989e21743a4a06 (fixed)
Vendor states this is fixed in 7cebc86481bf16049e266f6774d90f2fd4f8d5d2 (fixed)
Vendor states this is fixed in 8f8771757b130383732195497e47fba2aba76d3a (fixed)
Vendor states this is fixed in 909963e0c16778cec28efb1affc21558825f4200 (fixed)
Vendor states this is fixed in d81ffb87aaa75f842cd7aa57091810353755b3e6 (fixed)
Vendor states this is fixed in 4.14 (unaffected)
Vendor states this is fixed in 4.14.331 (unaffected)
Vendor states this is fixed in 4.19.300 (unaffected)
Vendor states this is fixed in 5.10.202 (unaffected)
Vendor states this is fixed in 5.15.140 (unaffected)
Vendor states this is fixed in 5.4.262 (unaffected)
Vendor states this is fixed in 6.1.64 (unaffected)
Vendor states this is fixed in 6.5.13 (unaffected)
Vendor states this is fixed in 6.6.3 (unaffected)
Vendor states this is fixed in 6.7 (unaffected)

References (9)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/38cd56fc9de78bf3c878790785e8c231116ef9d3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/460284dfb10b207980c6f3f7046e33446ceb38ac
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4a24a31826246b15477399febd13292b0c9f0ee9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4ef41a7f33ffe1a335e7db7e1564ddc6afad47cc
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6c80f48912b5bd4965352d1a9a989e21743a4a06
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7cebc86481bf16049e266f6774d90f2fd4f8d5d2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8f8771757b130383732195497e47fba2aba76d3a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/909963e0c16778cec28efb1affc21558825f4200

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-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