{"id":"CVE-2026-64174","state":"PUBLISHED","title":"wifi: cfg80211: advance loop vars in cfg80211_merge_profile()","description":"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.","publishedAt":"2026-07-19T15:40:59.360Z","updatedAt":"2026-07-19T15:40:59.360Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"fe806e4992c9047affd263bcc13b2c047029a726","status":"affected","lessThan":"5817e1e5205498a5df66eba2b34e817f4210fd0f","versionType":"git"},{"version":"fe806e4992c9047affd263bcc13b2c047029a726","status":"affected","lessThan":"cedbb608494ba1e7a5c6c56b7f1d3fd470094f28","versionType":"git"},{"version":"fe806e4992c9047affd263bcc13b2c047029a726","status":"affected","lessThan":"c0bc4c8bd556cbe036a5b9ed333c0aab9aadfcb8","versionType":"git"},{"version":"fe806e4992c9047affd263bcc13b2c047029a726","status":"affected","lessThan":"1ced0f5a851f9cae274545a42a06c459b7fd8881","versionType":"git"},{"version":"fe806e4992c9047affd263bcc13b2c047029a726","status":"affected","lessThan":"67915715fd3874057457363c87c63e18829527df","versionType":"git"},{"version":"fe806e4992c9047affd263bcc13b2c047029a726","status":"affected","lessThan":"6cfae4914439878b8acb35c7e3b40096eeb2ad9c","versionType":"git"},{"version":"fe806e4992c9047affd263bcc13b2c047029a726","status":"affected","lessThan":"1343a480f84b80c1249133a90ef87f8751d65cbb","versionType":"git"},{"version":"fe806e4992c9047affd263bcc13b2c047029a726","status":"affected","lessThan":"7666dbb1bacc4ba522b96740cba7283d243d16e1","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/wireless/scan.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.2","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.2","versionType":"semver"},{"version":"5.10.258","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.209","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.175","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.142","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.92","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.34","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.11","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/wireless/scan.c"]}],"references":["https://git.kernel.org/stable/c/5817e1e5205498a5df66eba2b34e817f4210fd0f","https://git.kernel.org/stable/c/cedbb608494ba1e7a5c6c56b7f1d3fd470094f28","https://git.kernel.org/stable/c/c0bc4c8bd556cbe036a5b9ed333c0aab9aadfcb8","https://git.kernel.org/stable/c/1ced0f5a851f9cae274545a42a06c459b7fd8881","https://git.kernel.org/stable/c/67915715fd3874057457363c87c63e18829527df","https://git.kernel.org/stable/c/6cfae4914439878b8acb35c7e3b40096eeb2ad9c","https://git.kernel.org/stable/c/1343a480f84b80c1249133a90ef87f8751d65cbb","https://git.kernel.org/stable/c/7666dbb1bacc4ba522b96740cba7283d243d16e1"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:41.951Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/64xxx/CVE-2026-64174.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-64174","state":"PUBLISHED","datePublished":"2026-07-19T15:40:59.360Z","dateUpdated":"2026-07-19T15:40:59.360Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-07-19T07:54:57.039Z"},"containers":{"cna":{"title":"wifi: cfg80211: advance loop vars in cfg80211_merge_profile()","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"fe806e4992c9047affd263bcc13b2c047029a726","status":"affected","lessThan":"5817e1e5205498a5df66eba2b34e817f4210fd0f","versionType":"git"},{"version":"fe806e4992c9047affd263bcc13b2c047029a726","status":"affected","lessThan":"cedbb608494ba1e7a5c6c56b7f1d3fd470094f28","versionType":"git"},{"version":"fe806e4992c9047affd263bcc13b2c047029a726","status":"affected","lessThan":"c0bc4c8bd556cbe036a5b9ed333c0aab9aadfcb8","versionType":"git"},{"version":"fe806e4992c9047affd263bcc13b2c047029a726","status":"affected","lessThan":"1ced0f5a851f9cae274545a42a06c459b7fd8881","versionType":"git"},{"version":"fe806e4992c9047affd263bcc13b2c047029a726","status":"affected","lessThan":"67915715fd3874057457363c87c63e18829527df","versionType":"git"},{"version":"fe806e4992c9047affd263bcc13b2c047029a726","status":"affected","lessThan":"6cfae4914439878b8acb35c7e3b40096eeb2ad9c","versionType":"git"},{"version":"fe806e4992c9047affd263bcc13b2c047029a726","status":"affected","lessThan":"1343a480f84b80c1249133a90ef87f8751d65cbb","versionType":"git"},{"version":"fe806e4992c9047affd263bcc13b2c047029a726","status":"affected","lessThan":"7666dbb1bacc4ba522b96740cba7283d243d16e1","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/wireless/scan.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.2","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.2","versionType":"semver"},{"version":"5.10.258","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.209","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.175","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.142","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.92","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.34","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.11","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/wireless/scan.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/5817e1e5205498a5df66eba2b34e817f4210fd0f"},{"url":"https://git.kernel.org/stable/c/cedbb608494ba1e7a5c6c56b7f1d3fd470094f28"},{"url":"https://git.kernel.org/stable/c/c0bc4c8bd556cbe036a5b9ed333c0aab9aadfcb8"},{"url":"https://git.kernel.org/stable/c/1ced0f5a851f9cae274545a42a06c459b7fd8881"},{"url":"https://git.kernel.org/stable/c/67915715fd3874057457363c87c63e18829527df"},{"url":"https://git.kernel.org/stable/c/6cfae4914439878b8acb35c7e3b40096eeb2ad9c"},{"url":"https://git.kernel.org/stable/c/1343a480f84b80c1249133a90ef87f8751d65cbb"},{"url":"https://git.kernel.org/stable/c/7666dbb1bacc4ba522b96740cba7283d243d16e1"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-07-19T15:40:59.360Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.2","versionEndExcluding":"5.10.258"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.2","versionEndExcluding":"5.15.209"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.2","versionEndExcluding":"6.1.175"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.2","versionEndExcluding":"6.6.142"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.2","versionEndExcluding":"6.12.92"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.2","versionEndExcluding":"6.18.34"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.2","versionEndExcluding":"7.0.11"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.2","versionEndExcluding":"7.1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}