CVE-2023-52789
JSON

5.5medium

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

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.25% (higher than 16% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom 5d171050e28f823aeb040f2830da4d3422b54b63 before 38cd56fc9de78bf3c878790785e8c231116ef9d3, from 5d171050e28f823aeb040f2830da4d3422b54b63 before 909963e0c16778cec28efb1affc21558825f4200, from 5d171050e28f823aeb040f2830da4d3422b54b63 before 460284dfb10b207980c6f3f7046e33446ceb38ac, from 5d171050e28f823aeb040f2830da4d3422b54b63 before 4ef41a7f33ffe1a335e7db7e1564ddc6afad47cc, from 5d171050e28f823aeb040f2830da4d3422b54b63 before 6c80f48912b5bd4965352d1a9a989e21743a4a06, from 5d171050e28f823aeb040f2830da4d3422b54b63 before 7cebc86481bf16049e266f6774d90f2fd4f8d5d2, from 5d171050e28f823aeb040f2830da4d3422b54b63 before 4a24a31826246b15477399febd13292b0c9f0ee9, from 5d171050e28f823aeb040f2830da4d3422b54b63 before 8f8771757b130383732195497e47fba2aba76d3a and 2 more
Not affected: before 4.14, from 4.14.331 up to 4.14.*, from 4.19.300 up to 4.19.*, from 5.4.262 up to 5.4.*, from 5.10.202 up to 5.10.*, from 5.15.140 up to 5.15.*
CVE List
linux linux_kernelbefore 4.14.331, from 4.15 before 4.19.300, from 4.20 before 5.4.262, from 5.5 before 5.10.202, from 5.11 before 5.15.140, from 5.16 before 6.1.64, from 6.2 before 6.5.13, from 6.6 before 6.6.3NVD

Classification

CWE-476

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: tty: vcc: Agregar verificación para kstrdup() en vcc_probe(). Agregar verificación para el valor de retorno de kstrdup() y devolver el error, si falla, para evitar la desreferencia de puntero NULL .

References

Sources

SourceRecordLicence
CVE ListCVE-2023-52789 changed 2026-05-11CVE Terms of Use
NVDCVE-2023-52789 changed 2026-06-17Public domain