CVE-2024-50166

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-50166
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-50166.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-50166
Downstream
Related
Published
2024-11-07T09:31:42.793Z
Modified
2025-11-28T02:34:48.079534Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
fsl/fman: Fix refcount handling of fman-related devices
Details

In the Linux kernel, the following vulnerability has been resolved:

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

In macprobe() there are multiple calls to offinddevicebynode(), fmanbind() and fmanportbind() which takes references to ofdev->dev. Not all references taken by these calls are released later on error path in macprobe() and in mac_remove() which lead to reference leaks.

Add references release.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50166.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
3933961682a30ae7d405cda344c040a129fea422
Fixed
5ed4334fc9512f934fe2ae9c4cf7f8142e451b8b
Fixed
3c2a3619d565fe16bf59b0a047bab103a2ee4490
Fixed
1dec67e0d9fbb087c2ab17bf1bd17208231c3bb1

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.5.0
Fixed
6.6.59
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.11.6