PT-2025-8797 · Linux+9 · Linux Kernel+9
Published
2025-01-19
·
Updated
2026-05-26
·
CVE-2025-21714
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel versions prior to the version that includes the fix for the RDMA/mlx5 issue
Description
A use-after-free issue has been identified in the Linux kernel, specifically in the RDMA/mlx5 component. This issue can cause a double queueing of implicit ODP mr destroy work, leading to a user-after-free error. The error occurs when the kernel attempts to invalidate an mr twice, resulting in a refcount t underflow. This issue can be triggered by queuing a MR work destroy twice, with the second work potentially executing after the MR has been freed due to the first work.
Recommendations
For Linux kernel versions prior to the version that includes the fix for the RDMA/mlx5 issue, consider applying the patch that fixes the implicit ODP use after free issue to prevent the use-after-free error. As a temporary workaround, consider disabling the RDMA/mlx5 component until a patched version of the kernel is available.
Exploit
Fix
DoS
Double Free
Use After Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Alt Linux
Almalinux
Astra Linux
Debian
Linuxmint
Linux Kernel
Red Hat
Rocky Linux
Suse
Ubuntu