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

net/mlx5e: Fix use-after-free race in sample_restore_put()

Concurrent teardown of TC sample rules sharing the same restore
context may re-read restore->count after dropping restore_lock.
At that point another thread may already have completed cleanup and
freed the restore object.

Use the result of the refcount decrement while holding restore_lock to
determine whether cleanup is needed.
Published: 2026-09-25
Score: 7.0 High
EPSS: < 1% Very Low
KEV: No
Impact: Use‑after‑free race that can cause kernel memory corruption or crash
Action: Immediate Patch
AI Analysis

Impact

The flaw is a race condition in the Linux kernel networking driver net/mlx5e that leads to a use‑after‑free. When multiple threads tear down traffic‑control sample rules that share the same restore context, one thread may read the reference count after the restore lock is released while another thread has already freed the restore object. The remaining thread then dereferences a pointer that no longer references valid memory, which can corrupt kernel memory or trigger a kernel panic.

Affected Systems

All Linux kernel builds that include the net/mlx5e driver are vulnerable. No specific version range is supplied, so any kernel prior to the applied patch may be affected. The driver is part of the upstream Linux kernel, thus any distribution that ships this driver could be impacted.

Risk and Exploitability

The CVSS score of 7.0 indicates high severity, while the EPSS score of < 1% reflects a very low but non‑zero likelihood of exploitation. The vulnerability is not listed in CISA KEV, suggesting no public exploits are known. The likely attack vector is local – an attacker who can trigger the teardown of traffic‑control sample rules (for example, via traffic‑control utilities) may induce the race. Successful exploitation could lead to kernel memory corruption and system crash, with a remote code execution possibility only if the freed data can be influenced.

Generated by OpenCVE AI on September 30, 2026 at 15:17 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the kernel patch that implements the reference‑count check in net/mlx5e.
  • Update to a kernel version that includes the patch, or rebuild the kernel/module.
  • Reboot the system or reload the mlx5e driver so that the patched code is in use.

Generated by OpenCVE AI on September 30, 2026 at 15:17 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4817-1 linux-6.12 security update
Debian DLA Debian DLA DLA-4841-1 linux security update
Debian DSA Debian DSA DSA-6528-1 linux security update
Ubuntu USN Ubuntu USN USN-8961-1 Linux kernel vulnerabilities
History

Sat, 03 Oct 2026 11:15:00 +0000


Tue, 29 Sep 2026 22:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Tue, 29 Sep 2026 13:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-825
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Moderate


Fri, 25 Sep 2026 18:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Fri, 25 Sep 2026 10:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: Fix use-after-free race in sample_restore_put() Concurrent teardown of TC sample rules sharing the same restore context may re-read restore->count after dropping restore_lock. At that point another thread may already have completed cleanup and freed the restore object. Use the result of the refcount decrement while holding restore_lock to determine whether cleanup is needed.
Title net/mlx5e: Fix use-after-free race in sample_restore_put()
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-10-19T09:12:21.604Z

Reserved: 2026-09-25T10:19:56.069Z

Link: CVE-2026-98016

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-25T11:17:30.040

Modified: 2026-10-19T10:17:55.230

Link: CVE-2026-98016

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-25T00:00:00Z

Links: CVE-2026-98016 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-30T15:30:14Z

Weaknesses
  • CWE-825

    Expired Pointer Dereference