Bug 2324426 (CVE-2024-50166) - CVE-2024-50166 kernel: fsl/fman: Fix refcount handling of fman-related devices
Summary: CVE-2024-50166 kernel: fsl/fman: Fix refcount handling of fman-related devices
Keywords:
Status: NEW
Alias: CVE-2024-50166
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2324452
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-11-07 17:02 UTC by OSIDB Bzimport
Modified: 2024-11-18 06:34 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-11-07 17:02:19 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.