{"id":"CVE-2024-53189","state":"PUBLISHED","title":"wifi: nl80211: fix bounds checker error in nl80211_parse_sched_scan","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: nl80211: fix bounds checker error in nl80211_parse_sched_scan\n\nThe channels array in the cfg80211_scan_request has a __counted_by\nattribute attached to it, which points to the n_channels variable. This\nattribute is used in bounds checking, and if it is not set before the\narray is filled, then the bounds sanitizer will issue a warning or a\nkernel panic if CONFIG_UBSAN_TRAP is set.\n\nThis patch sets the size of allocated memory as the initial value for\nn_channels. It is updated with the actual number of added elements after\nthe array is filled.","publishedAt":"2024-12-27T13:49:31.889Z","updatedAt":"2026-05-11T20:52:33.954Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"aa4ec06c455d0200eea0a4361cc58eb5b8bf68c4","status":"affected","lessThan":"d4ef643ea78c59c22546046c25dc6e7206267672","versionType":"git"},{"version":"aa4ec06c455d0200eea0a4361cc58eb5b8bf68c4","status":"affected","lessThan":"1a7b62ddf2c7642878c24f0e556041bb58c37527","versionType":"git"},{"version":"aa4ec06c455d0200eea0a4361cc58eb5b8bf68c4","status":"affected","lessThan":"9c46a3a5b394d6d123866aa44436fc2cd342eb0d","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/wireless/nl80211.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.11","versionType":"semver"},{"version":"6.11.11","status":"unaffected","lessThanOrEqual":"6.11.*","versionType":"semver"},{"version":"6.12.2","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.13","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/wireless/nl80211.c"]}],"references":["https://git.kernel.org/stable/c/d4ef643ea78c59c22546046c25dc6e7206267672","https://git.kernel.org/stable/c/1a7b62ddf2c7642878c24f0e556041bb58c37527","https://git.kernel.org/stable/c/9c46a3a5b394d6d123866aa44436fc2cd342eb0d"],"weaknesses":[],"ingestedAt":"2026-10-29T20:08:04.920Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/53xxx/CVE-2024-53189.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-53189","state":"PUBLISHED","datePublished":"2024-12-27T13:49:31.889Z","dateUpdated":"2026-05-11T20:52:33.954Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-11-19T17:17:25.013Z"},"containers":{"cna":{"title":"wifi: nl80211: fix bounds checker error in nl80211_parse_sched_scan","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: nl80211: fix bounds checker error in nl80211_parse_sched_scan\n\nThe channels array in the cfg80211_scan_request has a __counted_by\nattribute attached to it, which points to the n_channels variable. This\nattribute is used in bounds checking, and if it is not set before the\narray is filled, then the bounds sanitizer will issue a warning or a\nkernel panic if CONFIG_UBSAN_TRAP is set.\n\nThis patch sets the size of allocated memory as the initial value for\nn_channels. It is updated with the actual number of added elements after\nthe array is filled."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"aa4ec06c455d0200eea0a4361cc58eb5b8bf68c4","status":"affected","lessThan":"d4ef643ea78c59c22546046c25dc6e7206267672","versionType":"git"},{"version":"aa4ec06c455d0200eea0a4361cc58eb5b8bf68c4","status":"affected","lessThan":"1a7b62ddf2c7642878c24f0e556041bb58c37527","versionType":"git"},{"version":"aa4ec06c455d0200eea0a4361cc58eb5b8bf68c4","status":"affected","lessThan":"9c46a3a5b394d6d123866aa44436fc2cd342eb0d","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/wireless/nl80211.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.11","versionType":"semver"},{"version":"6.11.11","status":"unaffected","lessThanOrEqual":"6.11.*","versionType":"semver"},{"version":"6.12.2","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.13","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/wireless/nl80211.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/d4ef643ea78c59c22546046c25dc6e7206267672"},{"url":"https://git.kernel.org/stable/c/1a7b62ddf2c7642878c24f0e556041bb58c37527"},{"url":"https://git.kernel.org/stable/c/9c46a3a5b394d6d123866aa44436fc2cd342eb0d"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T20:52:33.954Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.11","versionEndExcluding":"6.11.11"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.11","versionEndExcluding":"6.12.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.11","versionEndExcluding":"6.13"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}