PT-2026-37447 · Linux · Linux
Published
2026-05-06
·
Updated
2026-05-06
·
CVE-2025-71272
None
No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
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.
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Linux