What’s Vulnerable › Vulnerabilities
CVE-2024-50166: fsl/fman: Fix refcount handling of fman-related devices
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-11-07 · updated 2026-06-17
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 products
- Linux kernel: from 4.5 before 6.6.59; from 6.7 before 6.11.6; 6.12-rc1, 6.12-rc2, 6.12-rc3, 6.12-rc4 — fixed in 6.11.6, 6.6.59
How to fix
Upgrade to a fixed version: Linux kernel 6.11.6, 6.6.59. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/1dec67e0d9fbb087c2ab17bf1bd17208231c3bb1
- https://git.kernel.org/stable/c/3c2a3619d565fe16bf59b0a047bab103a2ee4490
- https://git.kernel.org/stable/c/5ed4334fc9512f934fe2ae9c4cf7f8142e451b8b
Get alerted when CVE-2024-50166 or the next vulnerability affects your stack