CVE Catalog

CVE-2026-64570

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.15%

5th percentile - higher than 5% of all known CVEs

Summary

In the Linux kernel, in ieee80211_set_fils_discovery(), the old template is freed via kfree_rcu() before allocating the replacement. If the allocation fails, the function returns -ENOMEM while the pointer still points to the object already queued for freeing, leading to a double-free on later update or AP teardown. The fix is to queue the old object for kfree_rcu() only after the new one is published.

Risk Assessment

Double-free can lead to system crashes or potential exploitation by a local attacker, especially in environments with WiFi interfaces.

Recommendation

Apply the Linux kernel patch that moves the kfree_rcu() call after publishing the new template. Update the kernel to a version containing this fix.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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().

Vulnerability data from NVD (NIST) · CISA KEV · EPSS