{"id":"CVE-2024-50166","aliases":["CVE-2024-50166"],"related":[],"kind":"vulnerability","state":"published","title":"fsl/fman: Fix refcount handling of fman-related devices","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nfsl/fman: Fix refcount handling of fman-related devices\n\nIn mac_probe() there are multiple calls to of_find_device_by_node(),\nfman_bind() and fman_port_bind() which takes references to of_dev->dev.\nNot all references taken by these calls are released later on error path\nin mac_probe() and in mac_remove() which lead to reference leaks.\n\nAdd references release.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nfsl/fman: Fix refcount handling of fman-related devices\n\nIn mac_probe() there are multiple calls to of_find_device_by_node(),\nfman_bind() and fman_port_bind() which takes references to of_dev->dev.\nNot all references taken by these calls are released later on error path\nin mac_probe() and in mac_remove() which lead to reference leaks.\n\nAdd references release.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: fsl/fman: se ha corregido el manejo de refcount de dispositivos relacionados con fman En mac_probe() hay múltiples llamadas a of_find_device_by_node(), fman_bind() y fman_port_bind() que toman referencias a of_dev-&gt;dev. No todas las referencias tomadas por estas llamadas se liberan más tarde en la ruta de error en mac_probe() y en mac_remove(), lo que provoca fugas de referencias. Agregar referencias release.","source":"nvd"}],"published":"2024-11-07T09:31:42.793Z","modified":"2026-06-17T08:03:45.950Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"3933961682a30ae7d405cda344c040a129fea422","fixed":"5ed4334fc9512f934fe2ae9c4cf7f8142e451b8b","status":"affected"},{"type":"git","introduced":"3933961682a30ae7d405cda344c040a129fea422","fixed":"3c2a3619d565fe16bf59b0a047bab103a2ee4490","status":"affected"},{"type":"git","introduced":"3933961682a30ae7d405cda344c040a129fea422","fixed":"1dec67e0d9fbb087c2ab17bf1bd17208231c3bb1","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.5","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.5","status":"unaffected"},{"type":"semver","introduced":"6.6.59","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.11.6","lastAffected":"6.11.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.12","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.5","fixed":"6.6.59"},{"status":"affected","introduced":"6.7","fixed":"6.11.6"},{"status":"affected","version":"6.12"},{"status":"affected","version":"6.12"},{"status":"affected","version":"6.12"},{"status":"affected","version":"6.12"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/5ed4334fc9512f934fe2ae9c4cf7f8142e451b8b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3c2a3619d565fe16bf59b0a047bab103a2ee4490","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1dec67e0d9fbb087c2ab17bf1bd17208231c3bb1","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-01T20:19:58.198Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-50166","url":"https://www.cve.org/CVERecord?id=CVE-2024-50166","licence":"CVE Terms of Use","modified":"2026-05-11T20:46:43.264Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-50166","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-50166","licence":"Public domain","modified":"2026-06-17T08:03:45.950Z"}],"updatedAt":"2026-11-25T22:58:47.867Z","epss":{"score":0.00215,"percentile":0.1269,"date":"2026-12-01T12:00:22.000Z"}}