cbcvebase.
CVE-2024-44971
published 2024-09-04

CVE-2024-44971: In the Linux kernel, the following vulnerability has been resolved: net: dsa: bcm_sf2: Fix a possible memory leak in bcm_sf2_mdio_register()…

PriorityP418medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.21%
11.6th percentile
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.

Affected

25 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 6.1.106-1 (bookworm)linux 6.1.106-1 (bookworm)
debianlinux-6.1< linux 6.1.106-1 (bookworm)linux 6.1.106-1 (bookworm)
linuxlinux
linuxlinux>= 771089c2a485958e423f305e974303760167b45c < b7b8d9f5e679af60c94251fd6728dde34be69a71b7b8d9f5e679af60c94251fd6728dde34be69a71
linuxlinux>= 771089c2a485958e423f305e974303760167b45c < c05516c072903f6fb9134b8e7e1ad4bffcdc4819c05516c072903f6fb9134b8e7e1ad4bffcdc4819
linuxlinux>= 771089c2a485958e423f305e974303760167b45c < 7feef10768ea71d468d9bbc1e0d14c461876768c7feef10768ea71d468d9bbc1e0d14c461876768c
linuxlinux>= 771089c2a485958e423f305e974303760167b45c < a7d2808d67570e6acae45c2a96e0d59986888e4ca7d2808d67570e6acae45c2a96e0d59986888e4c
linuxlinux>= 771089c2a485958e423f305e974303760167b45c < f3d5efe18a11f94150fee8b3fda9d62079af640af3d5efe18a11f94150fee8b3fda9d62079af640a
linuxlinux>= 771089c2a485958e423f305e974303760167b45c < e3862093ee93fcfbdadcb7957f5f8974fffa806ae3862093ee93fcfbdadcb7957f5f8974fffa806a
linuxlinux_kernel
linuxlinux_kernel>= 0 < 5.10.226-15.10.226-1
linuxlinux_kernel>= 0 < 6.1.106-16.1.106-1
linuxlinux_kernel>= 0 < 6.10.6-16.10.6-1
linuxlinux_kernel>= 0 < 6.10.6-16.10.6-1
linuxlinux_kernel>= 0 < 5.15.0-125.1355.15.0-125.135
linuxlinux_kernel>= 0 < 6.8.0-50.516.8.0-50.51
linuxlinux_kernel>= 5.10 < 5.10.2245.10.224
linuxlinux_kernel>= 5.11 < 5.15.1655.15.165
linuxlinux_kernel>= 5.16 < 6.1.1056.1.105
linuxlinux_kernel>= 6.2 < 6.6.466.6.46
linuxlinux_kernel>= 6.7 < 6.10.56.10.5
msrccbl2_kernel_5.15.164.1-1_on_cbl_mariner_2.0
msrccbl2_kernel_5.15.167.1-1_on_cbl_mariner_2.0
msrccbl_mariner_2.0_arm
msrccbl_mariner_2.0_x64

CVSS provenance

nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv8.8HIGH
vendor_ubuntu8.8HIGH
vendor_debian5.5MEDIUM
vendor_msrc5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.