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.
Published: 2026-08-15
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is a memory leak in the Linux kernel’s mlx5 HWS implementation. A replacement matcher is allocated and, if the resize-target setup fails, the matcher is never destroyed, causing a resource leak that can gradually consume kernel memory. This leak can lead to a denial‑of‑service condition if the kernel repeatedly encounters this failure scenario, potentially exhausting available memory and degrading system stability. The weakness is a classic memory‑management flaw.

Affected Systems

All distributions of the Linux kernel that include mlx5 HWS support are potentially affected. The bug was observed in kernel version 6.13‑rc1 and remains present in 7.1.1, indicating that any kernel constructed with these drivers and not yet patched may contain the issue.

Risk and Exploitability

The EPSS score is not available and the vulnerability is not listed in CISA’s KEV catalog, so the attack model is unclear. Because the leak occurs in kernel mode, an attacker with sufficient privileges could trigger the failure path repeatedly, leading to memory exhaustion. The lack of a public CVSS score means the exact severity cannot be quantified, but the potential for denial‑of‑service warrants timely remediation. The likely attack vector is via local or remote code that can induce the resize‑failure condition in the mlx5 HWS context.

Generated by OpenCVE AI on August 15, 2026 at 08:06 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a release that includes the commit fixing the matcher leak (e.g., apply the patches referenced in the provided git commit URLs).
  • If an update is not immediately possible, verify that the kernel is compiled with strict memory‑management checks and consider disabling mlx5 HWS functionality as a temporary mitigative measure.
  • Conduct functional testing in a staging environment to confirm the patch restores correct matcher cleanup before deploying the updated kernel to production systems.

Generated by OpenCVE AI on August 15, 2026 at 08:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 15 Aug 2026 08:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

Sat, 15 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
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.
Title net/mlx5: HWS, fix matcher leak on resize target setup failure
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-15T05:51:54.461Z

Reserved: 2026-08-09T03:40:39.901Z

Link: CVE-2026-72032

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:21:12.143

Modified: 2026-08-15T06:21:12.143

Link: CVE-2026-72032

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-15T09:30:04Z

Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime