PT-2026-43789 · Linux · Linux
Published
2026-05-27
·
Updated
2026-05-27
·
CVE-2026-45922
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:
RDMA/mlx5: Fix memory leak in GET DATA DIRECT SYSFS PATH handler
The UVERBS HANDLER(MLX5 IB METHOD GET DATA DIRECT SYSFS PATH) function
allocates memory for the device path using kobject get path(). If the
length of the device path exceeds the output buffer length, the function
returns -ENOSPC but does not free the allocated memory, resulting in a
memory leak.
Add a kfree() call to the error path to ensure the allocated memory is
properly freed.
Compile tested only. Issue found using a prototype static analysis tool
and code review.
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Linux