{"id":"CVE-2026-64174","summary":"wifi: cfg80211: advance loop vars in cfg80211_merge_profile()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: cfg80211: advance loop vars in cfg80211_merge_profile()\n\ncfg80211_merge_profile() reassembles a Multi-BSSID non-transmitted BSS\nprofile that has been split across multiple consecutive MBSSID elements.\nIts while-loop calls\n\n\tcfg80211_get_profile_continuation(ie, ielen, mbssid_elem, sub_elem)\n\nbut never advances mbssid_elem or sub_elem inside the body.  Each\niteration therefore searches for a continuation that follows the same\nfixed pair; the helper returns the same next_mbssid; and the same\nnext_sub bytes are memcpy()'d into merged_ie at a growing offset until\nthe buffer fills.\n\nAdvance both mbssid_elem and sub_elem to the just-consumed continuation\nso the next call to cfg80211_get_profile_continuation() searches for a\nfurther continuation beyond it (or returns NULL when none exists).\n\nA specially-crafted malicious beacon can take advantage of this bug\nto cause the kernel to spend an excessive amount of time in\ncfg80211_merge_profile (up to as much as 2ms per beacon received),\nwhich could theoretically be abused in some way.","modified":"2026-07-21T03:47:53.383855185Z","published":"2026-07-19T15:40:59.360Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64174.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1343a480f84b80c1249133a90ef87f8751d65cbb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1ced0f5a851f9cae274545a42a06c459b7fd8881"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5817e1e5205498a5df66eba2b34e817f4210fd0f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/67915715fd3874057457363c87c63e18829527df"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6cfae4914439878b8acb35c7e3b40096eeb2ad9c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7666dbb1bacc4ba522b96740cba7283d243d16e1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c0bc4c8bd556cbe036a5b9ed333c0aab9aadfcb8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cedbb608494ba1e7a5c6c56b7f1d3fd470094f28"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64174.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64174"},{"type":"PACKAGE","url":"https://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":"fe806e4992c9047affd263bcc13b2c047029a726"},{"fixed":"5817e1e5205498a5df66eba2b34e817f4210fd0f"},{"fixed":"cedbb608494ba1e7a5c6c56b7f1d3fd470094f28"},{"fixed":"c0bc4c8bd556cbe036a5b9ed333c0aab9aadfcb8"},{"fixed":"1ced0f5a851f9cae274545a42a06c459b7fd8881"},{"fixed":"67915715fd3874057457363c87c63e18829527df"},{"fixed":"6cfae4914439878b8acb35c7e3b40096eeb2ad9c"},{"fixed":"1343a480f84b80c1249133a90ef87f8751d65cbb"},{"fixed":"7666dbb1bacc4ba522b96740cba7283d243d16e1"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-64174.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.2.0"},{"fixed":"5.10.258"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.209"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.175"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.142"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.92"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.34"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.0.11"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-64174.json"}}],"schema_version":"1.7.5"}