remoteproc: scp: Fix device reference leak on failed lookup
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 63c13d61eafe4606f1c16c54da40c4eee78e9edf · < c7e32814a6bf20f792d05f0bc9f94f0606311bc6| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
remoteproc: scp: Fix device reference leak on failed lookup
Make sure to drop the reference taken to the SCP device when attempting to look up its driver data before the driver has been bound.
Note that holding a reference to a device does not prevent its driver data from going away.
From the CVE record · Linux
The Linux kernel’s remoteproc SCP component leaks a device reference when driver-data lookup fails before the driver is bound. The input does not establish whether an attacker can trigger this condition or specify any access or user-interaction requirements.
Engineers running Linux kernels with the remoteproc SCP component should check their versions; affected versions are not specified.