Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: serial: ma35d1: Fix clock reference leak in ma35d1serial_probe() of_clk_get() returns a clock with a reference that has to be released with clk_put(). ma35d1serial_probe() never does that, so the reference is leaked on the probe error paths and also when the port is removed. Release it on the error paths and in ma35d1serial_remove().
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 930cbf92db0184e327293d5e7089be0b08d46371 before 3cdad0c541f899bd9a109b7dc43a1bc76123bc84; affected 930cbf92db0184e327293d5e7089be0b08d46371 before 547c742f3b4acd4634eec47e9bff8731b55059a0; affected 930cbf92db0184e327293d5e7089be0b08d46371 before d8233d6b391b4cd87df6e89056c21496df7a3012; affected 930cbf92db0184e327293d5e7089be0b08d46371 before 1b303d383089aae7f20ad19fee15690486b935cb; affected 930cbf92db0184e327293d5e7089be0b08d46371 before 98401cf912fe8a081ef8e500c421b6d957b55a99 |
| Linux / Linux | affected 6.5; unaffected 0 before 6.5; unaffected 6.6.160 through 6.6.*; unaffected 6.12.113 through 6.12.*; unaffected 6.18.56 through 6.18.*; unaffected 7.2.10 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/3cdad0c541f899bd9a109b7dc43a1bc76123bc84
- https://git.kernel.org/stable/c/547c742f3b4acd4634eec47e9bff8731b55059a0
- https://git.kernel.org/stable/c/d8233d6b391b4cd87df6e89056c21496df7a3012
- https://git.kernel.org/stable/c/1b303d383089aae7f20ad19fee15690486b935cb
- https://git.kernel.org/stable/c/98401cf912fe8a081ef8e500c421b6d957b55a99