8.1high
wifi: ath6kl: clamp assoc request/response lengths before subtracting IE offsets
- Severity
- 8.1high CVSS:3.1 by Linux
- Exploit likelihood
- 0.27% (higher than 21% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: wifi: ath6kl: clamp assoc request/response lengths before subtracting IE offsets ath6kl_cfg80211_connect_event() subtracts fixed IE offsets from assoc_req_len (-= 4) and assoc_resp_len (-= 6), both u8, with no lower bound. The aggregate check recently added to ath6kl_wmi_connect_event_rx() bounds the declared lengths from above (their sum must fit the received event), but an assoc request/response shorter than its fixed offset still underflows here: the u8 wraps to ~250, and cfg80211_connect_result() / cfg80211_roamed() then treat that wrapped value as the IE length and copy that many bytes out of the small assoc_info buffer to user space via nl80211, disclosing adjacent slab memory. Clamp both lengths to their offsets before subtracting. Found by 0sec (https://0sec.ai) using automated source analysis; the missing lower bound is evident from source. Compile-tested.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from bdcd81707973cf8aa9305337166f8ee842a050d4 before 225587bdbf4b0eb5265a71ee4dc183561a1857fc, from bdcd81707973cf8aa9305337166f8ee842a050d4 before d337213a889705a69735079606d0b4c672b17605, from bdcd81707973cf8aa9305337166f8ee842a050d4 before e11d5ae96d5e52cb48fa27c6ad352d766d0322fb, from bdcd81707973cf8aa9305337166f8ee842a050d4 before 6deb4d7a0c3d91821b2a8d5239e3d9933d9217d9, from bdcd81707973cf8aa9305337166f8ee842a050d4 before e3619bed5da125713b29ac881dc66f5e06606f88, from bdcd81707973cf8aa9305337166f8ee842a050d4 before e1330d719c047c4d8190a16be034b29fc601a815, from bdcd81707973cf8aa9305337166f8ee842a050d4 before 8eb73016fb3968cf2db3987a92764563a3af773a, from bdcd81707973cf8aa9305337166f8ee842a050d4 before 3bbd05723d15dd06f0560bcd94fbf9a91b5f5613 and 1 more Not affected: before 3.2, from 5.10.270 up to 5.10.*, from 5.15.221 up to 5.15.*, from 6.1.188 up to 6.1.*, from 6.6.157 up to 6.6.*, from 6.12.109 up to 6.12.* | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-89524 changed 2026-10-19 | CVE Terms of Use |
| NVD | CVE-2026-89524 changed 2026-10-19 | Public domain |