CVE Catalog

CVE-2025-71272

MediumCVSS 5.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.13%

2th percentile - higher than 2% of all known CVEs

Summary

In the Linux kernel, the most_register_interface() function in the most subsystem did not correctly release resources on early failure (before registering the device), returning an error code immediately and leaking the memory allocated for the interface. The fix initializes the device early via device_initialize() and calls put_device() on all error paths, and switches from device_register() to device_add().

Risk Assessment

The memory leak on failed interface registration can gradually exhaust kernel memory and lead to system instability.

Recommendation

Update the Linux kernel to a version containing the fix that releases resources on all error paths of most_register_interface().

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS