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

wifi: mac80211: remove station if connection prep fails

If connection preparation fails for MLO connections, then the
interface is completely reset to non-MLD. In this case, we must
not keep the station since it's related to the link of the vif
being removed. Delete an existing station. Any "new_sta" is
already being removed, so that doesn't need changes.

This fixes a use-after-free/double-free in debugfs if that's
enabled, because a vif going from MLD (and to MLD, but that's
not relevant here) recreates its entire debugfs.
Published: 2026-05-28
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel’s mac80211 wireless stack contains a bug that occurs when a multi‑link operation (MLO) connection preparation fails. The kernel resets the interface and removes the associated station, and the same station is also being deleted in a separate cleanup path for debugfs entries. This double deletion can trigger a use‑after‑free or double‑free when debugfs is enabled, leading to kernel memory corruption or an uncontrolled crash.

Affected Systems

All Linux kernel installations that incorporate the mac80211 subsystem, prior to the commit that removes the faulty station handling logic, and that have debugfs enabled. The vulnerability is vendor‑agnostic and applies across all distributions that ship the stock kernel, as indicated by the wide vendor list in the CNA data.

Risk and Exploitability

The CVSS score is not provided and the EPSS score is unavailable, but the defect directly affects kernel memory safety. Because the exploit requires inducing a specific failure in an MLO connection and relies on the presence of debugfs, the threat primarily poses a risk of localized denial of service rather than broad remote code execution. The vulnerability is not included in CISA’s Known Exploited Vulnerabilities catalog. An attacker with sufficient ability to influence the wireless interface or who can trigger the failure condition could cause a kernel crash, potentially leading to service disruption or additional compromise avenues.

Generated by OpenCVE AI on May 28, 2026 at 12:52 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the fix for the mac80211 station removal logic.
  • If a kernel upgrade cannot be performed immediately, disable debugfs or restrict its access so that the double‑free cannot be triggered.
  • Verify that the system’s wireless drivers and firmware are compatible with the patched kernel and that no additional cleanup logic re‑introduces the issue.

Generated by OpenCVE AI on May 28, 2026 at 12:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 28 May 2026 13:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Thu, 28 May 2026 10:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211: remove station if connection prep fails If connection preparation fails for MLO connections, then the interface is completely reset to non-MLD. In this case, we must not keep the station since it's related to the link of the vif being removed. Delete an existing station. Any "new_sta" is already being removed, so that doesn't need changes. This fixes a use-after-free/double-free in debugfs if that's enabled, because a vif going from MLD (and to MLD, but that's not relevant here) recreates its entire debugfs.
Title wifi: mac80211: remove station if connection prep fails
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-05-28T09:35:39.809Z

Reserved: 2026-05-13T15:03:33.099Z

Link: CVE-2026-46125

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-05-28T10:16:28.047

Modified: 2026-05-28T13:44:01.663

Link: CVE-2026-46125

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-28T13:00:21Z

Weaknesses