# CVE-2026-72032: net/mlx5: HWS, fix matcher leak on resize target setup failure

- 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.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-08-15T05:51:54.461Z
- Modified: 2026-08-17T06:18:00.970Z
- Assigned by: Linux

## Description

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

net/mlx5: HWS, fix matcher leak on resize target setup failure

hws_bwc_matcher_move() allocates a replacement matcher before setting it
as the resize target. If mlx5hws_matcher_resize_set_target() fails, the
replacement matcher is not attached anywhere and is leaked.

Fix the leak by destroying the replacement matcher before returning from
the resize-target failure path.

The bug was first flagged by an experimental analysis tool we are
developing for kernel memory-management bugs while analyzing
v6.13-rc1. The tool is still under development and is not yet publicly
available. Manual inspection confirms that the bug is still
present in v7.1.1.

An x86_64 allyesconfig build showed no new warnings. As we do not have a
mlx5 HWS-capable device to test with, no runtime testing was able to be
performed.

(As written by CVE List.)

## Affected

- Linux Linux: from 2111bb970c787b16b002dc726c1d296ce87a00fb before a751ccdc6ea9bde154f25a5ba66926f462f96c19; from 2111bb970c787b16b002dc726c1d296ce87a00fb before 1dce4f4bb3c1c02080b1a45bdd2abb2913a6642a; from 2111bb970c787b16b002dc726c1d296ce87a00fb before ae0265f0a95aaacef59d560a3e1ea36db8be9a52; from 2111bb970c787b16b002dc726c1d296ce87a00fb before bb09d0e64ecaa0aa0f7d1133a1696ed74dead295; 6.12 (not affected: before 6.12; from 6.12.101 up to 6.12.*; 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/a751ccdc6ea9bde154f25a5ba66926f462f96c19>
- <https://git.kernel.org/stable/c/1dce4f4bb3c1c02080b1a45bdd2abb2913a6642a>
- <https://git.kernel.org/stable/c/ae0265f0a95aaacef59d560a3e1ea36db8be9a52>
- <https://git.kernel.org/stable/c/bb09d0e64ecaa0aa0f7d1133a1696ed74dead295>

## Sources

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

---

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