CVE-2025-39952

wifi: wilc1000: avoid buffer overflow in WID string configuration

State
Published
Severity
8.8 High
Published
Oct 4, 2025
Updated
Oct 30, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
3.18.8 HighCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • c5c77ba18ea66aa05441c71e38473efb787705a4 to before 5f1578a8684794318a60a022cedbffaa3dc444ceAffected
  • c5c77ba18ea66aa05441c71e38473efb787705a4 to before 6085291a1a5865d4ad70f0e5812d524ebd5d1711Affected
  • c5c77ba18ea66aa05441c71e38473efb787705a4 to before 2203ef417044b10a8563ade6a17c74183745d72eAffected
  • c5c77ba18ea66aa05441c71e38473efb787705a4 to before ae50f8562306a7ea1cf3c9722f97ee244f974729Affected
  • c5c77ba18ea66aa05441c71e38473efb787705a4 to before fe9e4d0c39311d0f97b024147a0d155333f388b5Affected
LinuxLinux
  • 4.2Affected
  • before 4.2Not affected
  • 6.1.191 through 6.1.*Not affected
  • 6.6.108 through 6.6.*Not affected
  • 6.12.49 through 6.12.*Not affected
  • 6.16.9 through 6.16.*Not affected
  • 6.17 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.