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.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50166.json"
}