CVE-2021-47330Published May 21, 2024 · May 21Updated Jun 17
tty: serial: 8250: serial_cs: Fix a memory leak in error handling path
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 15b99ac1729503db9e6dc642a50b9b6cb3bf51f9 · < 7a80f71601af015856a0aeb1e3c294037ac3dd32| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
tty: serial: 8250: serial_cs: Fix a memory leak in error handling path
In the probe function, if the final 'serial_config()' fails, 'info' is leaking.
Add a resource handling path to free this memory.
From the CVE record · Linux
The Linux kernel's serial_cs probe function leaks memory if its final serial_config() call fails. The input does not establish whether an attacker can trigger this failure or specify network or local access, authentication, or user interaction requirements.
Engineers running the Linux kernel should check their installations; affected versions are not specified.