5.5
MEDIUM
CVE-2024-44971
"BCM SF2 Linux Kernel Memory Leak"
Description

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.

INFO

Published Date :

Sept. 4, 2024, 7:15 p.m.

Last Modified :

Sept. 5, 2024, 5:54 p.m.

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67

Remotely Exploitable :

No

Impact Score :

3.6

Exploitability Score :

1.8
Affected Products

The following products are affected by CVE-2024-44971 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-44971 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-44971 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Sep. 05, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
    Changed Reference Type https://git.kernel.org/stable/c/7feef10768ea71d468d9bbc1e0d14c461876768c No Types Assigned https://git.kernel.org/stable/c/7feef10768ea71d468d9bbc1e0d14c461876768c Patch
    Changed Reference Type https://git.kernel.org/stable/c/a7d2808d67570e6acae45c2a96e0d59986888e4c No Types Assigned https://git.kernel.org/stable/c/a7d2808d67570e6acae45c2a96e0d59986888e4c Patch
    Changed Reference Type https://git.kernel.org/stable/c/b7b8d9f5e679af60c94251fd6728dde34be69a71 No Types Assigned https://git.kernel.org/stable/c/b7b8d9f5e679af60c94251fd6728dde34be69a71 Patch
    Changed Reference Type https://git.kernel.org/stable/c/c05516c072903f6fb9134b8e7e1ad4bffcdc4819 No Types Assigned https://git.kernel.org/stable/c/c05516c072903f6fb9134b8e7e1ad4bffcdc4819 Patch
    Changed Reference Type https://git.kernel.org/stable/c/e3862093ee93fcfbdadcb7957f5f8974fffa806a No Types Assigned https://git.kernel.org/stable/c/e3862093ee93fcfbdadcb7957f5f8974fffa806a Patch
    Changed Reference Type https://git.kernel.org/stable/c/f3d5efe18a11f94150fee8b3fda9d62079af640a No Types Assigned https://git.kernel.org/stable/c/f3d5efe18a11f94150fee8b3fda9d62079af640a Patch
    Added CWE NIST CWE-401
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.10 up to (excluding) 5.10.224 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.165 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.105 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.46 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.10.5 *cpe:2.3:o:linux:linux_kernel:6.11:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.11:rc2:*:*:*:*:*:*
  • CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Sep. 04, 2024

    Action Type Old Value New Value
    Added Description 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.
    Added Reference kernel.org https://git.kernel.org/stable/c/b7b8d9f5e679af60c94251fd6728dde34be69a71 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/c05516c072903f6fb9134b8e7e1ad4bffcdc4819 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/7feef10768ea71d468d9bbc1e0d14c461876768c [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/a7d2808d67570e6acae45c2a96e0d59986888e4c [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/f3d5efe18a11f94150fee8b3fda9d62079af640a [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/e3862093ee93fcfbdadcb7957f5f8974fffa806a [No types assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-44971 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-44971 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability