ata: pata_octeon_cf: Fix refcount leak in octeon_cf_probe
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 43f01da0f2794b464ade2ffe1f780c69d7ce7b75 · < 888312dc297a8a103f6371ef668c7e04f57a7679| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ata: pata_octeon_cf: Fix refcount leak in octeon_cf_probe
of_find_device_by_node() takes reference, we should use put_device() to release it when not need anymore. Add missing put_device() to avoid refcount leak.
From the CVE record · Linux
The Linux kernel's octeon_cf_probe function leaks a device reference because it does not call put_device() after of_find_device_by_node(). The input does not establish what an attacker could do or whether exploitation requires network access, local access, authentication, or user interaction.
Engineers running Linux kernels with the pata_octeon_cf driver should check their versions against the vendor advisory; affected versions are not specified.