{"id":"CVE-2025-39952","summary":"wifi: wilc1000: avoid buffer overflow in WID string configuration","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: wilc1000: avoid buffer overflow in WID string configuration\n\nFix the following copy overflow warning identified by Smatch checker.\n\n drivers/net/wireless/microchip/wilc1000/wlan_cfg.c:184 wilc_wlan_parse_response_frame()\n        error: '__memcpy()' 'cfg-\u003es[i]-\u003estr' copy overflow (512 vs 65537)\n\nThis patch introduces size check before accessing the memory buffer.\nThe checks are base on the WID type of received data from the firmware.\nFor WID string configuration, the size limit is determined by individual\nelement size in 'struct wilc_cfg_str_vals' that is maintained in 'len' field\nof 'struct wilc_cfg_str'.","modified":"2026-03-20T12:43:06.965865Z","published":"2025-10-04T07:31:12.445Z","related":["MGASA-2025-0309","MGASA-2025-0310","SUSE-SU-2025:21040-1","SUSE-SU-2025:21052-1","SUSE-SU-2025:21056-1","SUSE-SU-2025:21064-1","SUSE-SU-2025:21074-1","SUSE-SU-2025:21139-1","SUSE-SU-2025:21179-1","SUSE-SU-2025:4057-1","SUSE-SU-2025:4128-1","SUSE-SU-2025:4132-1","SUSE-SU-2025:4140-1","SUSE-SU-2025:4141-1","SUSE-SU-2025:4301-1","openSUSE-SU-2025:20081-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39952.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2203ef417044b10a8563ade6a17c74183745d72e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6085291a1a5865d4ad70f0e5812d524ebd5d1711"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ae50f8562306a7ea1cf3c9722f97ee244f974729"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fe9e4d0c39311d0f97b024147a0d155333f388b5"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39952.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39952"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"c5c77ba18ea66aa05441c71e38473efb787705a4"},{"fixed":"6085291a1a5865d4ad70f0e5812d524ebd5d1711"},{"fixed":"2203ef417044b10a8563ade6a17c74183745d72e"},{"fixed":"ae50f8562306a7ea1cf3c9722f97ee244f974729"},{"fixed":"fe9e4d0c39311d0f97b024147a0d155333f388b5"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-39952.json"}}],"schema_version":"1.7.5"}