# CVE-2026-72006: net/mlx5: free mlx5_st_idx_data on final dealloc

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2026-08-15T05:51:36.635Z
- Modified: 2026-08-17T06:17:58.083Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

net/mlx5: free mlx5_st_idx_data on final dealloc

Workloads that repeatedly allocate and release mkeys carrying TPH
steering-tag hints (e.g. churning RDMA MRs) leak one
struct mlx5_st_idx_data per cycle; kmemleak flags it as unreferenced
and the kmalloc slab grows over time.

When the last reference to an ST table entry is dropped,
mlx5_st_dealloc_index() removed the entry from idx_xa but the backing
mlx5_st_idx_data allocation was never freed.

Free idx_data after the xa_erase() so the lifetime of the bookkeeping
struct matches the lifetime of the ST entry it tracks.

(As written by CVE List.)

## Affected

- Linux Linux: from 888a7776f4fb04c19bec70c737c61c2f383c6b1e before 262da8b6ea03d01ee7ed01ad309e4c89941f6b14; from 888a7776f4fb04c19bec70c737c61c2f383c6b1e before 6eb4cf2fa8997f62c11e0006dc010a1fd89c5a75; from 888a7776f4fb04c19bec70c737c61c2f383c6b1e before df6134b527a88b3e65ba6ae5073664af091d5fd2; 6.17 (not affected: before 6.17; from 6.18.40 up to 6.18.*; from 7.1.5 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/262da8b6ea03d01ee7ed01ad309e4c89941f6b14>
- <https://git.kernel.org/stable/c/6eb4cf2fa8997f62c11e0006dc010a1fd89c5a75>
- <https://git.kernel.org/stable/c/df6134b527a88b3e65ba6ae5073664af091d5fd2>

## Sources

- CVE List: [CVE-2026-72006](https://www.cve.org/CVERecord?id=CVE-2026-72006), CVE Terms of Use, modified 2026-08-17
- NVD: [CVE-2026-72006](https://nvd.nist.gov/vuln/detail/CVE-2026-72006), Public domain, modified 2026-08-17

---

Page: https://cve.day/CVE-2026-72006 · Whole record: https://cve.day/CVE-2026-72006.json · Rebuilt by cve.day 2026-11-25T22:59:32.971Z
