CVE-2024-50166 Details
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.
A reference leak vulnerability has been identified in the Linux kernel's FSL/FMan MAC driver. The issue arises in the 'mac_probe' function, where multiple calls to 'of_find_device_by_node', 'fman_bind', and 'fman_port_bind' take references to the device node's device structure. However, not all these references are properly released in the event of an error, leading to memory leaks. This vulnerability affects the Linux kernel stable tree.
The vulnerability has been addressed in the Linux kernel stable tree. Users can upgrade to the latest version to apply the fix.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 1, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/1dec67e0d9fbb087c2ab17bf1bd17208231c3bb1 | kernel.org | Patch |
| https://git.kernel.org/stable/c/3c2a3619d565fe16bf59b0a047bab103a2ee4490 | kernel.org | Patch |
| https://git.kernel.org/stable/c/5ed4334fc9512f934fe2ae9c4cf7f8142e451b8b | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-Other | Weakness Not in a Standard CWE Category | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 4.5, < 6.6.59 >= 6.7, < 6.11.6 6.12 rc1 6.12 rc2 6.12 rc3 6.12 rc4 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 1, 2025 | CVE Modified | CISA-ADP |
| Nov 22, 2024 | Initial Analysis | [email protected] |
| Nov 7, 2024 | New CVE Received | kernel.org |