CVE-2025-71272

most: core: fix resource leak in most_register_interface error paths

No CVSS score yet EPSS 0.16%

Published 6 May 2026 Updated 21 Oct 2026 CNA: Linux

Check your servers for CVE-2025-71272

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-71272 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.16%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 5.60% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 723de0f9171eeb49a3ae98cae82ebbbb992b3a7c, before 82f42a13e3d7a07a950ee4fa2d4c74843a3e7ace
affected from 723de0f9171eeb49a3ae98cae82ebbbb992b3a7c, before a49028a796d7b94f8e3ab9bd34b18f36be235459
affected from 723de0f9171eeb49a3ae98cae82ebbbb992b3a7c, before af0b99b2214a10554adb5b868240d23af6e64e71
affected from 723de0f9171eeb49a3ae98cae82ebbbb992b3a7c, before 2f483f3817fb0e4209ac5de928778b1da0cc8574
affected from 723de0f9171eeb49a3ae98cae82ebbbb992b3a7c, before 1f4c9d8a1021281750c6cda126d6f8a40cc24e71
Other versions: unaffected
Linux
affected 5.6
unaffected before 5.6
unaffected from 6.6.160 up to and including 6.6.*
unaffected from 6.12.75 up to and including 6.12.*
unaffected from 6.18.16 up to and including 6.18.*
unaffected from 6.19.6 up to and including 6.19.*
unaffected 7.0 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-71272 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-71272

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-71272
trivy image --scanners vuln IMAGE | grep CVE-2025-71272

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2025-71272 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.