---
id: CVE-2025-39952
title: 'wifi: wilc1000: avoid buffer overflow in WID string configuration'
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/microchi…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cvssSource: cna
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= c5c77ba18ea66aa05441c71e38473efb787705a4 <
    5f1578a8684794318a60a022cedbffaa3dc444ce
  - >-
    Linux >= c5c77ba18ea66aa05441c71e38473efb787705a4 <
    6085291a1a5865d4ad70f0e5812d524ebd5d1711
  - >-
    Linux >= c5c77ba18ea66aa05441c71e38473efb787705a4 <
    2203ef417044b10a8563ade6a17c74183745d72e
  - >-
    Linux >= c5c77ba18ea66aa05441c71e38473efb787705a4 <
    ae50f8562306a7ea1cf3c9722f97ee244f974729
  - >-
    Linux >= c5c77ba18ea66aa05441c71e38473efb787705a4 <
    fe9e4d0c39311d0f97b024147a0d155333f388b5
  - Linux 4.2
published: '2025-10-04'
updated: '2026-10-30'
sourceUpdated: '2026-10-30T12:22:39.571Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2025-39952'
references:
  - url: 'https://git.kernel.org/stable/c/5f1578a8684794318a60a022cedbffaa3dc444ce'
  - url: 'https://git.kernel.org/stable/c/6085291a1a5865d4ad70f0e5812d524ebd5d1711'
  - url: 'https://git.kernel.org/stable/c/2203ef417044b10a8563ade6a17c74183745d72e'
  - url: 'https://git.kernel.org/stable/c/ae50f8562306a7ea1cf3c9722f97ee244f974729'
  - url: 'https://git.kernel.org/stable/c/fe9e4d0c39311d0f97b024147a0d155333f388b5'
tags:
  - cve.org
epss: 0.00293
epssPercentile: 0.22046
ingestedAt: '2026-11-03T21:55:50.623Z'
---

## Overview

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

- `Linux >= c5c77ba18ea66aa05441c71e38473efb787705a4 < 5f1578a8684794318a60a022cedbffaa3dc444ce`
- `Linux >= c5c77ba18ea66aa05441c71e38473efb787705a4 < 6085291a1a5865d4ad70f0e5812d524ebd5d1711`
- `Linux >= c5c77ba18ea66aa05441c71e38473efb787705a4 < 2203ef417044b10a8563ade6a17c74183745d72e`
- `Linux >= c5c77ba18ea66aa05441c71e38473efb787705a4 < ae50f8562306a7ea1cf3c9722f97ee244f974729`
- `Linux >= c5c77ba18ea66aa05441c71e38473efb787705a4 < fe9e4d0c39311d0f97b024147a0d155333f388b5`
- `Linux 4.2`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
