CVE-2026-68196: wifi: wilc1000: validate assoc response length before subtracting header
In the Linux kernel, the following vulnerability has been resolved:
wifi: wilc1000: validate assoc response length before subtracting header
wilcparseassocrespinfo() computes the trailing IE length as
ieslen = bufferlen - sizeof(res);
without first checking that bufferlen is at least sizeof(struct wilcassocresp) (6 bytes). bufferlen is the length reported for a received association response (hostintparseassocrespinfo() passes hifdrv->assocresp / assocrespinfolen straight in) and must be validated before the driver accesses the fixed header.
For a frame shorter than the 6-byte fixed header, the subtraction wraps. For a four-byte response the result is truncated to a u16 ieslen of 65534, so kmemdup() then attempts to copy 65534 bytes starting at buffer + sizeof(res), beyond the valid association-response data (CWE-125). A response shorter than four bytes can also cause an out-of-bounds read of res->statuscode at offsets 2 and 3.
Reject frames too short to hold the fixed header before touching the header or computing ieslen. Also set the connection status to a failure on this path: the caller falls through to a "conninfo->status == WLANSTATUSSUCCESS" check after the parser returns, so leaving the status untouched could let a malformed short response be treated as a successful association.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Configuration
Apply the kernel fix for “wifi: wilc1000: validate assoc response length before subtracting header”: reject association response frames whose buffer_len is less than sizeof(struct wilc_assoc_resp) (6 bytes) before subtracting the header size or computing ies_len.
Linux kernel (wifi: wilc1000) assoc response length validation = Reject frames too short to hold the fixed header before touching the buffer (buffer_len < 6 bytes)
Event History
Frequently Asked Questions
What is the severity of CVE-2026-68196?
CVE-2026-68196 has a risk score of 45, indicating a moderate severity level.
How do I fix CVE-2026-68196?
To fix CVE-2026-68196, ensure you update to the patched version of the Linux kernel where this issue has been resolved.
What systems are affected by CVE-2026-68196?
CVE-2026-68196 affects devices using the Linux kernel that employ the wilc1000 Wi-Fi driver.
What are the potential impacts of CVE-2026-68196?
CVE-2026-68196 may lead to unexpected behavior or crashes when handling association response packets.
How was CVE-2026-68196 discovered?
CVE-2026-68196 was identified during a review of how the wilc_parse_assoc_resp_info() function processes association response lengths.