CVE-2026-64568

Source
https://cve.org/CVERecord?id=CVE-2026-64568
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64568.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-64568
Downstream
Published
2026-08-05T08:08:06.625Z
Modified
2026-08-07T03:46:58.339888326Z
Summary
wifi: mac80211: fix unsol_bcast_probe_resp double free on alloc failure
Details

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

wifi: mac80211: fix unsolbcastprobe_resp double free on alloc failure

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

BUG: KASAN: double-free in rcufreesheaf (mm/slub.c:5850) Free of addr ffff88800d06f300 by task exploit/145 ... _rcufreesheafprepare (mm/slub.c:2634 mm/slub.c:2940) rcufreesheaf (mm/slub.c:5850) rcucore (kernel/rcu/tree.c:2617 kernel/rcu/tree.c:2869) handlesoftirqs (kernel/softirq.c:622) The buggy address belongs to the cache kmalloc-128 of size 128

Queue the old object for kfreercu() only after the new one is published, matching ieee80211setproberesp() and ieee80211sets1gshortbeacon().

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64568.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
3b1c256eb4aedfc71dd97d5951ccff824b41d628
Fixed
ca27a81cd77b698e5eb586a011bee6800c7ee4bd
Fixed
d62b55b7c7dc62887d7fd5648fb38f0bfaef53ae
Fixed
0ace76e410d7f7d813b605825a3e593a79c3958f
Fixed
1d067abcd37062426c59ec73dbc4e87a63f33fea

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64568.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.101
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.42
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64568.json"