Skip to main content
Network Thinking Solutions Logo

CVE-2024-44971

Linux kernel: net: dsa: bcm_sf2: Fix a possible memory leak in bcm_sf2_mdio_register()

All CVEs
CVE-2024-44971Published 9/4/2024

Linux kernel: net: dsa: bcm_sf2: Fix a possible memory leak in bcm_sf2_mdio_register()

Vendor advisory
CVSS5.5Medium

Overview

In the Linux kernel, the following vulnerability has been resolved: net: dsa: bcm_sf2: Fix a possible memory leak in bcm_sf2_mdio_register() bcm_sf2_mdio_register() calls of_phy_find_device() and then phy_device_remove() in a loop to remove existing PHY devices. of_phy_find_device() eventually calls bus_find_device(), which calls get_device() on the returned struct device * to increment the refcount. The current implementation does not decrement the refcount, which causes memory leak. This commit adds the missing phy_device_free() call to decrement the refcount via put_device() to balance the refcount.

Published
9/4/2024
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 5.10, < 5.10.224

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.165

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.1.105

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.46

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.10.5

Verify advisory

Source
linux kernel
linux
6.11

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ 771089c2a485958e423f305e974303760167b45c, < b7b8d9f5e679af60c94251fd6728dde34be69a71

Verify advisory

Source
Linux
Linux
≥ 771089c2a485958e423f305e974303760167b45c, < c05516c072903f6fb9134b8e7e1ad4bffcdc4819

Verify advisory

Source
Linux
Linux
≥ 771089c2a485958e423f305e974303760167b45c, < 7feef10768ea71d468d9bbc1e0d14c461876768c

Verify advisory

Source
Linux
Linux
≥ 771089c2a485958e423f305e974303760167b45c, < a7d2808d67570e6acae45c2a96e0d59986888e4c

Verify advisory

Source
Linux
Linux
≥ 771089c2a485958e423f305e974303760167b45c, < f3d5efe18a11f94150fee8b3fda9d62079af640a

Verify advisory

Source
Linux
Linux
≥ 771089c2a485958e423f305e974303760167b45c, < e3862093ee93fcfbdadcb7957f5f8974fffa806a

Verify advisory

Source
Linux
Linux
5.10

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.