CVE-2023-52789Published May 21, 2024 · May 21Updated Oct 28
tty: vcc: Add check for kstrdup() in vcc_probe()
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 5d171050e28f823aeb040f2830da4d3422b54b63 · < 7cebc86481bf16049e266f6774d90f2fd4f8d5d2| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's tty vcc_probe() did not check whether kstrdup() failed. If that allocation fails, a NULL pointer dereference can occur; the input does not specify how an attacker could trigger it or whether access or user interaction is required.
Teams running the Linux kernel should check their kernel builds; affected versions are not specified.