Skip to content
CVE PROGRAM SOURCE RECORD5.5 Medium

CVE-2024-50166

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 3933961682a30ae7d405cda344c040a129fea422 to < 5ed4334fc9512f934fe2ae9c4cf7f8142e451b8baffected
  • 3933961682a30ae7d405cda344c040a129fea422 to < 3c2a3619d565fe16bf59b0a047bab103a2ee4490affected
  • 3933961682a30ae7d405cda344c040a129fea422 to < 1dec67e0d9fbb087c2ab17bf1bd17208231c3bb1affected

Linux Linux

Default version status: affected

  • 4.5affected
  • 0 to < 4.5unaffected
  • 6.6.59 to ≤ 6.6.*unaffected
  • 6.11.6 to ≤ 6.11.*unaffected
  • 6.12 to ≤ *unaffected

References