CVE-2025-37989: net: phy: leds: fix memory leak
Noroxi assessment
Priority: Monitor (action score 22/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.19% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Linux Linux 41143e71052a00d654c15dc924fda50c1e7357d0, 618541a6cc1511064dfa58c89b3445e21844092f, 663c3da86e807c6c07ed48f911c7526fad6fe1ff; azl3 kernel 6.6.85.1-4 on Azure Linux 3.0 6.6.92.2-1; azl3 kernel 6.6.92.2-1 on Azure Linux 3.0 6.6.92.2-1.
Low priority for now. Upgrade to Linux Linux 41143e71052a00d654c15dc924fda50c1e7357d0, 618541a6cc1511064dfa58c89b3445e21844092f, 663c3da86e807c6c07ed48f911c7526fad6fe1ff; azl3 kernel 6.6.85.1-4 on Azure Linux 3.0 6.6.92.2-1; azl3 kernel 6.6.92.2-1 on Azure Linux 3.0 6.6.92.2-1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- May 20, 2025
- Updated
- Nov 5, 2026
- EPSS
- 0.1% · 9th percentile
- CWE
- CWE-401
Report tools
Action score
22
Low priority for now.
- CVSS
- 22 / 40 · 5.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.1%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 4.10affected
- 2e0bc452f4721520502575362a9cd3c1248d2337 and later · before 966d6494e2ed9be9052fcd9815afba830896aaf8affected · git
- 2e0bc452f4721520502575362a9cd3c1248d2337 and later · before 95bed65cc0eb2a610550abf849a8b94374da80a7affected · git
- 2e0bc452f4721520502575362a9cd3c1248d2337 and later · before 663c3da86e807c6c07ed48f911c7526fad6fe1ffaffected · git
- 2e0bc452f4721520502575362a9cd3c1248d2337 and later · before f41f097f68a33d392579885426d0734a81219501affected · git
- 2e0bc452f4721520502575362a9cd3c1248d2337 and later · before 618541a6cc1511064dfa58c89b3445e21844092faffected · git
- 2e0bc452f4721520502575362a9cd3c1248d2337 and later · before 41143e71052a00d654c15dc924fda50c1e7357d0affected · git
- 2e0bc452f4721520502575362a9cd3c1248d2337 and later · before 7f3d5880800f962c347777c4f8358f29f5fc403caffected · git
- 2e0bc452f4721520502575362a9cd3c1248d2337 and later · before b7f0ee992adf601aa00c252418266177eb7ac2bcaffected · git
- before 4.10not affected · semver
Affected versions · NVD (9)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- debian debian linux11.0
- linux linux kernel5.5 and later · before 5.10.237
- linux linux kernel5.11 and later · before 5.15.181
- linux linux kernel5.16 and later · before 6.1.136
- linux linux kernel4.10 and later · before 5.4.293
- linux linux kernel6.7 and later · before 6.12.26
- linux linux kernel6.13 and later · before 6.14.5
- linux linux kernel6.2 and later · before 6.6.89
- linux linux kernel6.15
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | before 6.1.137-1 | 6.1.137-1 |
| Debian:13 | linux | before 6.12.27-1 | 6.12.27-1 |
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe…KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2025-37985May 20, 2025 · USB: wdm: close race between wdm_open and wdm_wwan_port_stop18Monitor
- ← EarlierCVE-2025-37986May 20, 2025 · usb: typec: class: Invalidate USB device pointers on partner unregistration22Monitor
- Later →CVE-2025-37990May 20, 2025 · wifi: brcm80211: fmac: Add error handling for brcmf_usb_dl_writeimage()22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 41143e71052a00d654c15dc924fda50c1e7357d0 | Vendor (CNA) |
| Linux Linux | 618541a6cc1511064dfa58c89b3445e21844092f | Vendor (CNA) |
| Linux Linux | 663c3da86e807c6c07ed48f911c7526fad6fe1ff | Vendor (CNA) |
| Linux Linux | 7f3d5880800f962c347777c4f8358f29f5fc403c | Vendor (CNA) |
| Linux Linux | 95bed65cc0eb2a610550abf849a8b94374da80a7 | Vendor (CNA) |
| Linux Linux | 966d6494e2ed9be9052fcd9815afba830896aaf8 | Vendor (CNA) |
| Linux Linux | b7f0ee992adf601aa00c252418266177eb7ac2bc | Vendor (CNA) |
| Linux Linux | f41f097f68a33d392579885426d0734a81219501 | Vendor (CNA) |
| azl3 kernel 6.6.85.1-4 on Azure Linux 3.0 | 6.6.92.2-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 kernel 6.6.92.2-1 on Azure Linux 3.0 | 6.6.92.2-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| debian:linux | 6.1.137-1 · Debian:12 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-401 · Missing Release of Memory after Effective LifetimeCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (2)
- SSVC exploitation— → none
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (8 more)Show less
- git.kernel.org/stable/c/618541a6cc1511064dfa58c89b3445e21844092f
- git.kernel.org/stable/c/663c3da86e807c6c07ed48f911c7526fad6fe1ff
- git.kernel.org/stable/c/7f3d5880800f962c347777c4f8358f29f5fc403c
- git.kernel.org/stable/c/95bed65cc0eb2a610550abf849a8b94374da80a7
- git.kernel.org/stable/c/966d6494e2ed9be9052fcd9815afba830896aaf8
- git.kernel.org/stable/c/b7f0ee992adf601aa00c252418266177eb7ac2bc
- git.kernel.org/stable/c/f41f097f68a33d392579885426d0734a81219501
- lists.debian.org/debian-lts-announce/2025/05/msg00045.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.