{"id":"CVE-2026-72006","summary":"net/mlx5: free mlx5_st_idx_data on final dealloc","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/mlx5: free mlx5_st_idx_data on final dealloc\n\nWorkloads that repeatedly allocate and release mkeys carrying TPH\nsteering-tag hints (e.g. churning RDMA MRs) leak one\nstruct mlx5_st_idx_data per cycle; kmemleak flags it as unreferenced\nand the kmalloc slab grows over time.\n\nWhen the last reference to an ST table entry is dropped,\nmlx5_st_dealloc_index() removed the entry from idx_xa but the backing\nmlx5_st_idx_data allocation was never freed.\n\nFree idx_data after the xa_erase() so the lifetime of the bookkeeping\nstruct matches the lifetime of the ST entry it tracks.","modified":"2026-08-18T03:31:00.303313638Z","published":"2026-08-15T05:51:36.635Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72006.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/262da8b6ea03d01ee7ed01ad309e4c89941f6b14"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6eb4cf2fa8997f62c11e0006dc010a1fd89c5a75"},{"type":"WEB","url":"https://git.kernel.org/stable/c/df6134b527a88b3e65ba6ae5073664af091d5fd2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72006.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72006"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"888a7776f4fb04c19bec70c737c61c2f383c6b1e"},{"fixed":"262da8b6ea03d01ee7ed01ad309e4c89941f6b14"},{"fixed":"6eb4cf2fa8997f62c11e0006dc010a1fd89c5a75"},{"fixed":"df6134b527a88b3e65ba6ae5073664af091d5fd2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72006.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.17.0"},{"fixed":"6.18.40"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72006.json"}}],"schema_version":"1.9.0"}