Skip to main content
← All vulnerabilities
CVE-2025-39952

wifi: wilc1000: avoid buffer overflow in WID string configuration

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.6.108, 6.12.49, 6.16.9
None on Exploit-DB, Metasploit or GitHub

Summary

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'.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    Version range not reported

  • Linux Linux

    4.2

  • KernelLinux

    From 4.2.0 · fixed in 6.6.108; From 6.7.0 · fixed in 6.12.49; From 6.13.0 · fixed in 6.16.9

References 5

git.kernel.org