CVE-2024-53189
wifi: nl80211: fix bounds checker error in nl80211_parse_sched_scan
Reported by linux · Published December 27, 2024
In the Linux kernel, the following vulnerability has been resolved: wifi: nl80211: fix bounds checker error in nl80211_parse_sched_scan The channels array in the cfg80211_scan_request has a __counted_by attribute attached to it, which points to the n_channels variable. This attribute is used in bounds checking, and if it is not set before the array is filled, then the bounds sanitizer will issue a warning or a kernel panic if CONFIG_UBSAN_TRAP is set. This patch sets the size of allocated memory as the initial value for n_channels. It is updated with the actual number of added elements after the array is filled.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Linux | Linux | d4ef643ea78c59c22546046c25dc6e7206267672, 9c46a3a5b394d6d123866aa44436fc2cd342eb0d, 1a7b62ddf2c7642878c24f0e556041bb58c37527 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | aa4ec06c455d0200eea0a4361cc58eb5b8bf68c4, aa4ec06c455d0200eea0a4361cc58eb5b8bf68c4, aa4ec06c455d0200eea0a4361cc58eb5b8bf68c4 |
| Linux | Linux | 6.11, 0, 6.11.11 |
| Linux | Linux | 6.13, 0, 6.11.11 |
| linux | linux_kernel | 6.11, 6.11, 6.11 |
Timeline
- Dec 27, 2024 CVE Published
- Dec 28, 2024 EPSS Score (30 in total, the first dated here)
- Mar 4, 2025 Coalition ESS Score (14 in total, the first dated here)
- Dec 31, 2025 Security Advisory (448 in total, the first dated here)
- Apr 29, 2026 Distribution Patch (365 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-53189
vulnetix vdb fixes CVE-2024-53189
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-53189/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart