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

wifi: mac80211: fix fils_discovery double free on alloc failure

ieee80211_set_fils_discovery() calls kfree_rcu() on the old template
before allocating the replacement. If the kzalloc() then fails, it
returns -ENOMEM while link->u.ap.fils_discovery still points at the
object already queued for freeing. A later update or AP teardown
(ieee80211_stop_ap()) re-queues that same rcu_head; the second free is
caught by KASAN when the RCU sheaf is processed in softirq:

BUG: KASAN: double-free in rcu_free_sheaf (mm/slub.c:5850)
Free of addr ffff88800c065280 by task swapper/0/0
...
__rcu_free_sheaf_prepare (mm/slub.c:2634 mm/slub.c:2940)
rcu_free_sheaf (mm/slub.c:5850)
rcu_core (kernel/rcu/tree.c:2617 kernel/rcu/tree.c:2869)
handle_softirqs (kernel/softirq.c:622)
The buggy address belongs to the cache kmalloc-96 of size 96

Queue the old object for kfree_rcu() only after the new one is published,
matching ieee80211_set_probe_resp() and ieee80211_set_s1g_short_beacon().
Published: 2026-08-05
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The fix addresses a double‑free bug in the Linux kernel's mac80211 Wi‑Fi stack. The issue arises when ieee80211_set_fils_discovery() attempts to replace a fils_discovery template: if the allocation fails, the old template is already queued for free, then later freed again during RCU processing, leading to a KASAN double‑free error and a kernel crash. Based on the description, it is inferred that an attacker could trigger the failing allocation path by sending crafted Wi‑Fi management frames to the device, causing a denial‑of‑service through the crash.

Affected Systems

All Linux kernel builds that include the mac80211 stack and use fils_discovery before the patch commits from 1981fba7 and related changes are vulnerable. The affected kernel versions span any release that contains the unpatched code, as no specific version range is provided in the disclosure.

Risk and Exploitability

The CVSS score is 7.8. The EPSS score is less than 1%, and the issue is not listed in CISA’s KEV catalog. Based on the description, it is inferred that exploitation would likely require an attacker with local or remote control of Wi‑Fi management frames, making the attack vector potentially remote or local depending on device configuration. Given the absence of active exploit evidence, the current risk remains primarily the potential for a crash, though the high severity warrants timely mitigation.

Generated by OpenCVE AI on August 8, 2026 at 16:25 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel update that incorporates the commits fixing the fils_discovery double free.
  • If immediate patching is not possible, disable fils_discovery or operate the device only in client mode to block the vulnerable code path.
  • Monitor system logs for KASAN or double‑free errors to detect any remaining vulnerabilities and confirm the fix.

Generated by OpenCVE AI on August 8, 2026 at 16:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4745-1 linux-6.12 security update
Debian DSA Debian DSA DSA-6415-1 linux security update
History

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

Type Values Removed Values Added
Metrics cvssV3_1

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

cvssV3_1

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


Fri, 07 Aug 2026 02:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Fri, 07 Aug 2026 00:15:00 +0000

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

None

cvssV3_1

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

threat_severity

Moderate


Wed, 05 Aug 2026 09:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Wed, 05 Aug 2026 08:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211: fix fils_discovery double free on alloc failure ieee80211_set_fils_discovery() calls kfree_rcu() on the old template before allocating the replacement. If the kzalloc() then fails, it returns -ENOMEM while link->u.ap.fils_discovery still points at the object already queued for freeing. A later update or AP teardown (ieee80211_stop_ap()) re-queues that same rcu_head; the second free is caught by KASAN when the RCU sheaf is processed in softirq: BUG: KASAN: double-free in rcu_free_sheaf (mm/slub.c:5850) Free of addr ffff88800c065280 by task swapper/0/0 ... __rcu_free_sheaf_prepare (mm/slub.c:2634 mm/slub.c:2940) rcu_free_sheaf (mm/slub.c:5850) rcu_core (kernel/rcu/tree.c:2617 kernel/rcu/tree.c:2869) handle_softirqs (kernel/softirq.c:622) The buggy address belongs to the cache kmalloc-96 of size 96 Queue the old object for kfree_rcu() only after the new one is published, matching ieee80211_set_probe_resp() and ieee80211_set_s1g_short_beacon().
Title wifi: mac80211: fix fils_discovery double free on alloc 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-17T04:57:49.594Z

Reserved: 2026-07-19T15:36:31.797Z

Link: CVE-2026-64570

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-05T08:16:36.680

Modified: 2026-08-17T05:18:02.970

Link: CVE-2026-64570

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-05T00:00:00Z

Links: CVE-2026-64570 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-08T16:30:04Z

Weaknesses
  • CWE-1341

    Multiple Releases of Same Resource or Handle