CVE-2024-50166

published 7 Nov 2024 · updated 11 May 2026

fsl/fman: Fix refcount handling of fman-related devices

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 1dec67e0d9fbb087c2ab17bf1bd17208231c3bb1, Kernel 3c2a3619d565fe16bf59b0a047bab103a2ee4490 and Kernel 5ed4334fc9512f934fe2ae9c4cf7f8142e451b8b.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.5, >=3933961682a30ae7d405cda344c040a129fea422 <1dec67e0d9fbb087c2ab17bf1bd17208231c3bb1, >=3933961682a30ae7d405cda344c040a129fea422 <3c2a3619d565fe16bf59b0a047bab103a2ee4490, >=3933961682a30ae7d405cda344c040a129fea422 <5ed4334fc9512f934fe2ae9c4cf7f8142e451b8b1dec67e0d9fbb087c2ab17bf1bd17208231c3bb1, 3c2a3619d565fe16bf59b0a047bab103a2ee4490, 5ed4334fc9512f934fe2ae9c4cf7f8142e451b8b

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-50166 severity on Zeptric[![CVE-2024-50166](https://zeptric.io/badge/cve/CVE-2024-50166.svg)](https://zeptric.io/cve/CVE-2024-50166)