serial: liteuart: fix use-after-free and memleak on unbind
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
serial: liteuart: fix use-after-free and memleak on unbind
Deregister the port when unbinding the driver to prevent it from being used after releasing the driver data and leaking memory allocated by serial core.
From the CVE record · Linux
The Linux kernel's liteuart serial driver did not deregister its port when the driver was unbound. This could leave the port in use after driver data was released and leak memory allocated by the serial core. The input does not establish an attack path, authentication requirement, or user-interaction requirement.
Engineers running Linux kernels with the liteuart serial driver should check their kernel versions; affected versions are not specified.