CVE-2024-50166 fsl/fman: Fix refcount handling of fman-related devices

Medium 5.5 Published Updated

A reference leak in the Linux kernel's FMan driver can lead to resource exhaustion and denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-50166?

CVE-2024-50166 is a medium-severity vulnerability in Linux kernel, published on 7 Nov 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Which versions are affected by CVE-2024-50166?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-50166?

Apply the vendor's patch.

Is CVE-2024-50166 being exploited?

There is no known exploitation of CVE-2024-50166 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as AZL-53483, AZL-53793, BELL-CVE-2024-50166, DEBIAN-CVE-2024-50166, GHSA-7gcx-746w-6vr2, ROOT-OS-DEBIAN-11-CVE-2024-50166 and 3 more.

Is CVE-2024-50166 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free