Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-37989

MEDIUM 5.5EPSS 14%

net: phy: leds: fix memory leak

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 2e0bc452f4721520502575362a9cd3c1248d2337, < 966d6494e2ed9be9052fcd9815afba830896aaf8; >= 2e0bc452f4721520502575362a9cd3c1248d2337, < 95bed65cc0eb2a610550abf849a8b94374da80a7; >= 2e0bc452f4721520502575362a9cd3c1248d2337, < 663c3da86e807c6c07ed48f911c7526fad6fe1ff; >= 2e0bc452f4721520502575362a9cd3c1248d2337, < f41f097f68a33d392579885426d0734a81219501; >= 2e0bc452f4721520502575362a9cd3c1248d2337, < 618541a6cc1511064dfa58c89b3445e21844092f; >= 2e0bc452f4721520502575362a9cd3c1248d2337, < 41143e71052a00d654c15dc924fda50c1e7357d0; >= 2e0bc452f4721520502575362a9cd3c1248d2337, < 7f3d5880800f962c347777c4f8358f29f5fc403c; >= 2e0bc452f4721520502575362a9cd3c1248d2337, < b7f0ee992adf601aa00c252418266177eb7ac2bc
  • Anyone running Linux 4.10

Vulnerability facts

Affected
Linux >= 2e0bc452f4721520502575362a9cd3c1248d2337, < 966d6494e2ed9be9052fcd9815afba830896aaf8; >= 2e0bc452f4721520502575362a9cd3c1248d2337, < 95bed65cc0eb2a610550abf849a8b94374da80a7; >= 2e0bc452f4721520502575362a9cd3c1248d2337, < 663c3da86e807c6c07ed48f911c7526fad6fe1ff; >= 2e0bc452f4721520502575362a9cd3c1248d2337, < f41f097f68a33d392579885426d0734a81219501; >= 2e0bc452f4721520502575362a9cd3c1248d2337, < 618541a6cc1511064dfa58c89b3445e21844092f; >= 2e0bc452f4721520502575362a9cd3c1248d2337, < 41143e71052a00d654c15dc924fda50c1e7357d0; >= 2e0bc452f4721520502575362a9cd3c1248d2337, < 7f3d5880800f962c347777c4f8358f29f5fc403c; >= 2e0bc452f4721520502575362a9cd3c1248d2337, < b7f0ee992adf601aa00c252418266177eb7ac2bc; Linux 4.10
Fixed in
Linux 966d6494e2ed9be9052fcd9815afba830896aaf8, Linux 95bed65cc0eb2a610550abf849a8b94374da80a7, Linux 663c3da86e807c6c07ed48f911c7526fad6fe1ff, Linux 618541a6cc1511064dfa58c89b3445e21844092f, Linux 41143e71052a00d654c15dc924fda50c1e7357d0, Linux 7f3d5880800f962c347777c4f8358f29f5fc403c
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.29% chance of exploitation in 30 days (percentile 14, 2026-11-28)
CWE
CWE-401
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: net: phy: leds: fix memory leak A network restart test on a router led to an out-of-memory condition, which was traced to a memory leak in the PHY LED trigger code. The root cause is misuse of the devm API. The registration function (phy_led_triggers_register) is called from phy_attach_direct, not phy_probe, and the unregister function (phy_led_triggers_unregister) is called from phy_detach, not phy_remove. This means the register and unregister functions can be called multiple times for the same PHY device, but devm-allocated memory is not freed until the driver is unbound. This also prevents kmemleak from detecting the leak, as the devm API internally stores the allocated pointer. Fix this by replacing devm_kzalloc/devm_kcalloc with standard kzalloc/kcalloc, and add the corresponding kfree calls in the unregister path.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 2e0bc452f4721520502575362a9cd3c1248d2337, < 966d6494e2ed9be9052fcd9815afba830896aaf8; >= 2e0bc452f4721520502575362a9cd3c1248d2337, < 95bed65cc0eb2a610550abf849a8b94374da80a7; >= 2e0bc452f4721520502575362a9cd3c1248d2337, < 663c3da86e807c6c07ed48f911c7526fad6fe1ff; >= 2e0bc452f4721520502575362a9cd3c1248d2337, < f41f097f68a33d392579885426d0734a81219501; >= 2e0bc452f4721520502575362a9cd3c1248d2337, < 618541a6cc1511064dfa58c89b3445e21844092f; >= 2e0bc452f4721520502575362a9cd3c1248d2337, < 41143e71052a00d654c15dc924fda50c1e7357d0; >= 2e0bc452f4721520502575362a9cd3c1248d2337, < 7f3d5880800f962c347777c4f8358f29f5fc403c; >= 2e0bc452f4721520502575362a9cd3c1248d2337, < b7f0ee992adf601aa00c252418266177eb7ac2bc—cvelist
Linux4.10—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-37989. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-37989.md
Affected: Linux >= 2e0bc452f4721520502575362a9cd3c1248d2337, < 966d6494e2ed9be9052fcd9815afba830896aaf8; >= 2e0bc452f4721520502575362a9cd3c1248d2337, < 95bed65cc0eb2a610550abf849a8b94374da80a7; >= 2e0bc452f4721520502575362a9cd3c1248d2337, < 663c3da86e807c6c07ed48f911c7526fad6fe1ff; >= 2e0bc452f47215205025753…
Fixed in: Linux 966d6494e2ed9be9052fcd9815afba830896aaf8, Linux 95bed65cc0eb2a610550abf849a8b94374da80a7, Linux 663c3da86e807c6c07ed48f911c7526fad6fe1ff, Linux 618541a6cc1511064dfa58c89b3445e21844092f, Linux 41143e71052a00d654c15dc924fda50c1e7357d0, Linux 7f3d5880800f962c347777c4f8358f29f5fc403c

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-37989 being exploited?

There is no confirmed exploitation: CVE-2025-37989 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-28).

How serious is CVE-2025-37989?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2025-37989?

Linux >= 2e0bc452f4721520502575362a9cd3c1248d2337, < 966d6494e2ed9be9052fcd9815afba830896aaf8; >= 2e0bc452f4721520502575362a9cd3c1248d2337, < 95bed65cc0eb2a610550abf849a8b94374da80a7; >= 2e0bc452f4721520502575362a9cd3c1248d2337, < 663c3da86e807c6c07ed48f911c7526fad6fe1ff; >= 2e0bc452f4721520502575362a9cd3c1248d2337, < f41f097f68a33d392579885426d0734a81219501; >= 2e0bc452f4721520502575362a9cd3c1248d2337, < 618541a6cc1511064dfa58c89b3445e21844092f; >= 2e0bc452f4721520502575362a9cd3c1248d2337, < 41143e71052a00d654c15dc924fda50c1e7357d0; >= 2e0bc452f4721520502575362a9cd3c1248d2337, < 7f3d5880800f962c347777c4f8358f29f5fc403c; >= 2e0bc452f4721520502575362a9cd3c1248d2337, < b7f0ee992adf601aa00c252418266177eb7ac2bc; Linux 4.10.

Is there a fix for CVE-2025-37989?

Yes. Fixed in Linux 966d6494e2ed9be9052fcd9815afba830896aaf8, Linux 95bed65cc0eb2a610550abf849a8b94374da80a7, Linux 663c3da86e807c6c07ed48f911c7526fad6fe1ff, Linux 618541a6cc1511064dfa58c89b3445e21844092f, Linux 41143e71052a00d654c15dc924fda50c1e7357d0, Linux 7f3d5880800f962c347777c4f8358f29f5fc403c. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2025-37989?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors