# CVE-2023-52789: tty: vcc: Add check for kstrdup() in vcc_probe()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 16% of CVEs (2026-12-01)
- Published: 2024-05-21T15:31:05.616Z
- Modified: 2026-06-17T06:43:35.173Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 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; from 5d171050e28f823aeb040f2830da4d3422b54b63 before d81ffb87aaa75f842cd7aa57091810353755b3e6; 4.14 (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.*; from 6.1.64 up to 6.1.*; from 6.5.13 up to 6.5.*; from 6.6.3 up to 6.6.*; from 6.7 up to *)
- linux linux_kernel: before 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.3

## References

- <https://git.kernel.org/stable/c/38cd56fc9de78bf3c878790785e8c231116ef9d3> (patch)
- <https://git.kernel.org/stable/c/909963e0c16778cec28efb1affc21558825f4200> (patch)
- <https://git.kernel.org/stable/c/460284dfb10b207980c6f3f7046e33446ceb38ac> (patch)
- <https://git.kernel.org/stable/c/4ef41a7f33ffe1a335e7db7e1564ddc6afad47cc> (patch)
- <https://git.kernel.org/stable/c/6c80f48912b5bd4965352d1a9a989e21743a4a06> (patch)
- <https://git.kernel.org/stable/c/7cebc86481bf16049e266f6774d90f2fd4f8d5d2> (patch)
- <https://git.kernel.org/stable/c/4a24a31826246b15477399febd13292b0c9f0ee9> (patch)
- <https://git.kernel.org/stable/c/8f8771757b130383732195497e47fba2aba76d3a> (patch)
- <https://git.kernel.org/stable/c/d81ffb87aaa75f842cd7aa57091810353755b3e6> (patch)

## Sources

- CVE List: [CVE-2023-52789](https://www.cve.org/CVERecord?id=CVE-2023-52789), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-52789](https://nvd.nist.gov/vuln/detail/CVE-2023-52789), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-52789 · Whole record: https://cve.day/CVE-2023-52789.json · Rebuilt by cve.day 2026-11-25T22:58:34.021Z
