5.5medium
fsl/fman: Fix refcount handling of fman-related devices
- Severity
- 5.5medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.21% (higher than 12% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: fsl/fman: Fix refcount handling of fman-related devices In mac_probe() there are multiple calls to of_find_device_by_node(), fman_bind() and fman_port_bind() which takes references to of_dev->dev. Not all references taken by these calls are released later on error path in mac_probe() and in mac_remove() which lead to reference leaks. Add references release.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 3933961682a30ae7d405cda344c040a129fea422 before 5ed4334fc9512f934fe2ae9c4cf7f8142e451b8b, from 3933961682a30ae7d405cda344c040a129fea422 before 3c2a3619d565fe16bf59b0a047bab103a2ee4490, from 3933961682a30ae7d405cda344c040a129fea422 before 1dec67e0d9fbb087c2ab17bf1bd17208231c3bb1, 4.5 Not affected: before 4.5, from 6.6.59 up to 6.6.*, from 6.11.6 up to 6.11.*, from 6.12 up to * | CVE List |
| linux linux_kernel | from 4.5 before 6.6.59, from 6.7 before 6.11.6, 6.12 | NVD |
All scores
| CISA-ADP | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: fsl/fman: Fix refcount handling of fman-related devices In mac_probe() there are multiple calls to of_find_device_by_node(), fman_bind() and fman_port_bind() which takes references to of_dev->dev. Not all references taken by these calls are released later on error path in mac_probe() and in mac_remove() which lead to reference leaks. Add references release.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: fsl/fman: se ha corregido el manejo de refcount de dispositivos relacionados con fman En mac_probe() hay múltiples llamadas a of_find_device_by_node(), fman_bind() y fman_port_bind() que toman referencias a of_dev->dev. No todas las referencias tomadas por estas llamadas se liberan más tarde en la ruta de error en mac_probe() y en mac_remove(), lo que provoca fugas de referencias. Agregar referencias release.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-50166 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2024-50166 changed 2026-06-17 | Public domain |