{"id":"CVE-2026-45922","published":"2026-05-27T12:17:41Z","modified":"2026-11-06T16:03:15Z","title":"RDMA/mlx5: Fix memory leak in GET_DATA_DIRECT_SYSFS_PATH handler","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/mlx5: Fix memory leak in GET_DATA_DIRECT_SYSFS_PATH handler\n\nThe UVERBS_HANDLER(MLX5_IB_METHOD_GET_DATA_DIRECT_SYSFS_PATH) function\nallocates memory for the device path using kobject_get_path(). If the\nlength of the device path exceeds the output buffer length, the function\nreturns -ENOSPC but does not free the allocated memory, resulting in a\nmemory leak.\n\nAdd a kfree() call to the error path to ensure the allocated memory is\nproperly freed.\n\nCompile tested only. Issue found using a prototype static analysis tool\nand code review.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0016,"percentile":0.05252,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/ee998cdbff6680891b0efd9d6ce53a388e5342c3","tags":[]},{"url":"https://git.kernel.org/stable/c/b2bc649c18fbe8a7fd38d17266da3dcbfbcc44d2","tags":[]},{"url":"https://git.kernel.org/stable/c/b3a10eca24fcfe913c0875e620f19596001bd6dc","tags":[]},{"url":"https://git.kernel.org/stable/c/9b9d253908478f504297ac283c514e5953ddafa6","tags":[]}],"priority":{"score":1.1,"factors":[{"name":"EPSS percentile","points":1.05}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= ec7ad6530909983c8736c80af46e3529ce7bab55, < ee998cdbff6680891b0efd9d6ce53a388e5342c3",">= ec7ad6530909983c8736c80af46e3529ce7bab55, < b2bc649c18fbe8a7fd38d17266da3dcbfbcc44d2",">= ec7ad6530909983c8736c80af46e3529ce7bab55, < b3a10eca24fcfe913c0875e620f19596001bd6dc",">= ec7ad6530909983c8736c80af46e3529ce7bab55, < 9b9d253908478f504297ac283c514e5953ddafa6"]},{"vendor":"Linux","product":"Linux","versions":["6.12"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-06T16:02:02.283949Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-32388","exploited":false,"provenance":"source"}}