wifi: wilc1000: avoid buffer overflow in WID string configuration (Linux Linux)

CVE-2025-39952
HIGH 8.8

En bref

Source
NVD
EPSS
EPSS 0.23 % · centile 14 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

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

Faiblesses (CWE)

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 8.8CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 8.8CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected c5c77ba18ea66aa05441c71e38473efb787705a4 < 5f1578a8684794318a60a022cedbffaa3dc444ce ; affected c5c77ba18ea66aa05441c71e38473efb787705a4 < 6085291a1a5865d4ad70f0e5812d524ebd5d1711 ; affected c5c77ba18ea66aa05441c71e38473efb787705a4 < 2203ef417044b10a8563ade6a17c74183745d72e ; affected c5c77ba18ea66aa05441c71e38473efb787705a4 < ae50f8562306a7ea1cf3c9722f97ee244f974729 ; affected c5c77ba18ea66aa05441c71e38473efb787705a4 < fe9e4d0c39311d0f97b024147a0d155333f388b5
Linux · Linuxaffected 4.2 ; unaffected 0 < 4.2 ; unaffected 6.1.191 ≤ 6.1.* ; unaffected 6.6.108 ≤ 6.6.* ; unaffected 6.12.49 ≤ 6.12.* ; unaffected 6.16.9 ≤ 6.16.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD