{"id":"CVE-2023-52789","summary":"tty: vcc: Add check for kstrdup() in vcc_probe()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ntty: vcc: Add check for kstrdup() in vcc_probe()\n\nAdd check for the return value of kstrdup() and return the error, if it\nfails in order to avoid NULL pointer dereference.","modified":"2026-05-18T05:57:11.628929436Z","published":"2024-05-21T15:31:05.616Z","related":["SUSE-SU-2024:2008-1","SUSE-SU-2024:2011-1","SUSE-SU-2024:2019-1","SUSE-SU-2024:2189-1","SUSE-SU-2024:2190-1","SUSE-SU-2024:2571-1","SUSE-SU-2024:2896-1","SUSE-SU-2024:2973-1","SUSE-SU-2025:20008-1","SUSE-SU-2025:20028-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52789.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/38cd56fc9de78bf3c878790785e8c231116ef9d3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/460284dfb10b207980c6f3f7046e33446ceb38ac"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4a24a31826246b15477399febd13292b0c9f0ee9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4ef41a7f33ffe1a335e7db7e1564ddc6afad47cc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6c80f48912b5bd4965352d1a9a989e21743a4a06"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7cebc86481bf16049e266f6774d90f2fd4f8d5d2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8f8771757b130383732195497e47fba2aba76d3a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/909963e0c16778cec28efb1affc21558825f4200"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d81ffb87aaa75f842cd7aa57091810353755b3e6"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52789.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52789"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"5d171050e28f823aeb040f2830da4d3422b54b63"},{"fixed":"38cd56fc9de78bf3c878790785e8c231116ef9d3"},{"fixed":"909963e0c16778cec28efb1affc21558825f4200"},{"fixed":"460284dfb10b207980c6f3f7046e33446ceb38ac"},{"fixed":"4ef41a7f33ffe1a335e7db7e1564ddc6afad47cc"},{"fixed":"6c80f48912b5bd4965352d1a9a989e21743a4a06"},{"fixed":"7cebc86481bf16049e266f6774d90f2fd4f8d5d2"},{"fixed":"4a24a31826246b15477399febd13292b0c9f0ee9"},{"fixed":"8f8771757b130383732195497e47fba2aba76d3a"},{"fixed":"d81ffb87aaa75f842cd7aa57091810353755b3e6"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-52789.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.14.0"},{"fixed":"4.14.331"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.15.0"},{"fixed":"4.19.300"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.20.0"},{"fixed":"5.4.262"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.202"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.140"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.64"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.5.13"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.6.0"},{"fixed":"6.6.3"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-52789.json"}}],"schema_version":"1.7.5"}