8.8high
wifi: wilc1000: avoid buffer overflow in WID string configuration
- Severity
- 8.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.29% (higher than 23% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: wifi: wilc1000: avoid buffer overflow in WID string configuration Fix the following copy overflow warning identified by Smatch checker. drivers/net/wireless/microchip/wilc1000/wlan_cfg.c:184 wilc_wlan_parse_response_frame() error: '__memcpy()' 'cfg->s[i]->str' copy overflow (512 vs 65537) This patch introduces size check before accessing the memory buffer. The checks are base on the WID type of received data from the firmware. For WID string configuration, the size limit is determined by individual element size in 'struct wilc_cfg_str_vals' that is maintained in 'len' field of 'struct wilc_cfg_str'.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from c5c77ba18ea66aa05441c71e38473efb787705a4 before 5f1578a8684794318a60a022cedbffaa3dc444ce, from c5c77ba18ea66aa05441c71e38473efb787705a4 before 6085291a1a5865d4ad70f0e5812d524ebd5d1711, from c5c77ba18ea66aa05441c71e38473efb787705a4 before 2203ef417044b10a8563ade6a17c74183745d72e, from c5c77ba18ea66aa05441c71e38473efb787705a4 before ae50f8562306a7ea1cf3c9722f97ee244f974729, from c5c77ba18ea66aa05441c71e38473efb787705a4 before fe9e4d0c39311d0f97b024147a0d155333f388b5, 4.2 Not affected: before 4.2, from 6.1.191 up to 6.1.*, from 6.6.108 up to 6.6.*, from 6.12.49 up to 6.12.*, from 6.16.9 up to 6.16.*, from 6.17 up to * | CVE List |
| linux linux_kernel | from 4.2 before 6.6.108, from 6.7 before 6.12.49, from 6.13 before 6.16.9, 6.17 | NVD |
All scores
| Linux | 8.8high CVSS:3.1 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: wifi: wilc1000: avoid buffer overflow in WID string configuration Fix the following copy overflow warning identified by Smatch checker. drivers/net/wireless/microchip/wilc1000/wlan_cfg.c:184 wilc_wlan_parse_response_frame() error: '__memcpy()' 'cfg->s[i]->str' copy overflow (512 vs 65537) This patch introduces size check before accessing the memory buffer. The checks are base on the WID type of received data from the firmware. For WID string configuration, the size limit is determined by individual element size in 'struct wilc_cfg_str_vals' that is maintained in 'len' field of 'struct wilc_cfg_str'.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: wifi: wilc1000: evitar desbordamiento de búfer en la configuración de cadena WID Corrige la siguiente advertencia de desbordamiento de copia identificada por el verificador Smatch. drivers/net/wireless/microchip/wilc1000/wlan_cfg.c:184 wilc_wlan_parse_response_frame() error: '__memcpy()' 'cfg->s[i]->str' desbordamiento de copia (512 vs 65537) Este parche introduce una comprobación de tamaño antes de acceder al búfer de memoria. Las comprobaciones se basan en el tipo WID de los datos recibidos del firmware. Para la configuración de cadena WID, el límite de tamaño está determinado por el tamaño de elemento individual en 'struct wilc_cfg_str_vals' que se mantiene en el campo 'len' de 'struct wilc_cfg_str'.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-39952 changed 2026-10-30 | CVE Terms of Use |
| NVD | CVE-2025-39952 changed 2026-10-30 | Public domain |