CVE-2024-50166

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

Medium · published November 7, 2024

CVSS v3.1
5.5
EPSS
0%
Percentile
11.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00215 · 11.3th percentile
Published
2024-11-07T09:31Z
EPSS history
Timeline
  • 07 NOV 09:31Z
    fsl/fman: Fix refcount handling of fman-related devices
    cvelistv5