CVE-2026-64174: wifi: cfg80211: advance loop vars in cfg80211_merge_profile()
In the Linux kernel, the following vulnerability has been resolved:
wifi: cfg80211: advance loop vars in cfg80211mergeprofile()
cfg80211mergeprofile() reassembles a Multi-BSSID non-transmitted BSS profile that has been split across multiple consecutive MBSSID elements. Its while-loop calls
cfg80211getprofilecontinuation(ie, ielen, mbssidelem, subelem)
but never advances mbssidelem or subelem inside the body. Each iteration therefore searches for a continuation that follows the same fixed pair; the helper returns the same nextmbssid; and the same nextsub bytes are memcpy()'d into mergedie at a growing offset until the buffer fills.
Advance both mbssidelem and subelem to the just-consumed continuation so the next call to cfg80211getprofilecontinuation() searches for a further continuation beyond it (or returns NULL when none exists).
A specially-crafted malicious beacon can take advantage of this bug to cause the kernel to spend an excessive amount of time in cfg80211mergeprofile (up to as much as 2ms per beacon received), which could theoretically be abused in some way.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Operational
Apply the Linux kernel fix described in "wifi: cfg80211: advance loop vars in cfg80211_merge_profile()" to ensure the while-loop in cfg80211_merge_profile() advances mbssid_elem and sub_elem when processing profile continuation elements, preventing excessive CPU time per beacon.
Event History
Frequently Asked Questions
What is the severity of CVE-2026-64174?
The severity of CVE-2026-64174 is rated at 22.
What type of vulnerability is CVE-2026-64174?
CVE-2026-64174 is a vulnerability found in the Linux kernel related to the cfg80211 module.
How does CVE-2026-64174 affect wireless functionalities?
CVE-2026-64174 affects the proper reassembly of Multi-BSSID profiles in wireless network configurations.
How do I fix CVE-2026-64174?
To fix CVE-2026-64174, update your Linux kernel to the latest stable version that includes the relevant patches.
When was CVE-2026-64174 published?
CVE-2026-64174 was published on July 19, 2026.