CVE-2025-71272
most: core: fix resource leak in most_register_interface error paths
Mitigation
- Upgrade Linux to 1f4c9d8a1021281750c6cda126d6f8a40cc24e71 or later.
Who should check
- Anyone running Linux >= 723de0f9171eeb49a3ae98cae82ebbbb992b3a7c, < 82f42a13e3d7a07a950ee4fa2d4c74843a3e7ace; >= 723de0f9171eeb49a3ae98cae82ebbbb992b3a7c, < a49028a796d7b94f8e3ab9bd34b18f36be235459; >= 723de0f9171eeb49a3ae98cae82ebbbb992b3a7c, < af0b99b2214a10554adb5b868240d23af6e64e71; >= 723de0f9171eeb49a3ae98cae82ebbbb992b3a7c, < 2f483f3817fb0e4209ac5de928778b1da0cc8574; >= 723de0f9171eeb49a3ae98cae82ebbbb992b3a7c, < 1f4c9d8a1021281750c6cda126d6f8a40cc24e71
- Anyone running Linux 5.6
Vulnerability facts
- Affected
- Linux >= 723de0f9171eeb49a3ae98cae82ebbbb992b3a7c, < 82f42a13e3d7a07a950ee4fa2d4c74843a3e7ace; >= 723de0f9171eeb49a3ae98cae82ebbbb992b3a7c, < a49028a796d7b94f8e3ab9bd34b18f36be235459; >= 723de0f9171eeb49a3ae98cae82ebbbb992b3a7c, < af0b99b2214a10554adb5b868240d23af6e64e71; >= 723de0f9171eeb49a3ae98cae82ebbbb992b3a7c, < 2f483f3817fb0e4209ac5de928778b1da0cc8574; >= 723de0f9171eeb49a3ae98cae82ebbbb992b3a7c, < 1f4c9d8a1021281750c6cda126d6f8a40cc24e71; Linux 5.6
- Fixed in
- Linux 82f42a13e3d7a07a950ee4fa2d4c74843a3e7ace, Linux 2f483f3817fb0e4209ac5de928778b1da0cc8574, Linux 1f4c9d8a1021281750c6cda126d6f8a40cc24e71
- 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.16% chance of exploitation in 30 days (percentile 3, 2026-11-26)
- CWE
- CWE-401
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: most: core: fix resource leak in most_register_interface error paths The function most_register_interface() did not correctly release resources if it failed early (before registering the device). In these cases, it returned an error code immediately, leaking the memory allocated for the interface. Fix this by initializing the device early via device_initialize() and calling put_device() on all error paths. The most_register_interface() is expected to call put_device() on error which frees the resources allocated in the caller. The put_device() either calls release_mdev() or dim2_release(), depending on the caller. Switch to using device_add() instead of device_register() to handle the split initialization.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 723de0f9171eeb49a3ae98cae82ebbbb992b3a7c, < 82f42a13e3d7a07a950ee4fa2d4c74843a3e7ace; >= 723de0f9171eeb49a3ae98cae82ebbbb992b3a7c, < a49028a796d7b94f8e3ab9bd34b18f36be235459; >= 723de0f9171eeb49a3ae98cae82ebbbb992b3a7c, < af0b99b2214a10554adb5b868240d23af6e64e71; >= 723de0f9171eeb49a3ae98cae82ebbbb992b3a7c, < 2f483f3817fb0e4209ac5de928778b1da0cc8574; >= 723de0f9171eeb49a3ae98cae82ebbbb992b3a7c, < 1f4c9d8a1021281750c6cda126d6f8a40cc24e71 | — | cvelist |
| Linux | 5.6 | — | 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-71272. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-71272.md Affected: Linux >= 723de0f9171eeb49a3ae98cae82ebbbb992b3a7c, < 82f42a13e3d7a07a950ee4fa2d4c74843a3e7ace; >= 723de0f9171eeb49a3ae98cae82ebbbb992b3a7c, < a49028a796d7b94f8e3ab9bd34b18f36be235459; >= 723de0f9171eeb49a3ae98cae82ebbbb992b3a7c, < af0b99b2214a10554adb5b868240d23af6e64e71; >= 723de0f9171eeb49a3ae98c… Fixed in: Linux 82f42a13e3d7a07a950ee4fa2d4c74843a3e7ace, Linux 2f483f3817fb0e4209ac5de928778b1da0cc8574, Linux 1f4c9d8a1021281750c6cda126d6f8a40cc24e71 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
Patches
FAQ
Is CVE-2025-71272 being exploited?
There is no confirmed exploitation: CVE-2025-71272 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-71272?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-71272?
Linux >= 723de0f9171eeb49a3ae98cae82ebbbb992b3a7c, < 82f42a13e3d7a07a950ee4fa2d4c74843a3e7ace; >= 723de0f9171eeb49a3ae98cae82ebbbb992b3a7c, < a49028a796d7b94f8e3ab9bd34b18f36be235459; >= 723de0f9171eeb49a3ae98cae82ebbbb992b3a7c, < af0b99b2214a10554adb5b868240d23af6e64e71; >= 723de0f9171eeb49a3ae98cae82ebbbb992b3a7c, < 2f483f3817fb0e4209ac5de928778b1da0cc8574; >= 723de0f9171eeb49a3ae98cae82ebbbb992b3a7c, < 1f4c9d8a1021281750c6cda126d6f8a40cc24e71; Linux 5.6.
Is there a fix for CVE-2025-71272?
Yes. Fixed in Linux 82f42a13e3d7a07a950ee4fa2d4c74843a3e7ace, Linux 2f483f3817fb0e4209ac5de928778b1da0cc8574, Linux 1f4c9d8a1021281750c6cda126d6f8a40cc24e71. Upgrade Linux to 1f4c9d8a1021281750c6cda126d6f8a40cc24e71 or later.
How do I check if I'm affected by CVE-2025-71272?
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.