{"id":"CVE-2023-54286","aliases":["CVE-2023-54286"],"related":[],"kind":"vulnerability","state":"published","title":"wifi: iwlwifi: dvm: Fix memcpy: detected field-spanning write backtrace","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: iwlwifi: dvm: Fix memcpy: detected field-spanning write backtrace\n\nA received TKIP key may be up to 32 bytes because it may contain\nMIC rx/tx keys too. These are not used by iwl and copying these\nover overflows the iwl_keyinfo.key field.\n\nAdd a check to not copy more data to iwl_keyinfo.key then will fit.\n\nThis fixes backtraces like this one:\n\n memcpy: detected field-spanning write (size 32) of single field \"sta_cmd.key.key\" at drivers/net/wireless/intel/iwlwifi/dvm/sta.c:1103 (size 16)\n WARNING: CPU: 1 PID: 946 at drivers/net/wireless/intel/iwlwifi/dvm/sta.c:1103 iwlagn_send_sta_key+0x375/0x390 [iwldvm]\n <snip>\n Hardware name: Dell Inc. Latitude E6430/0H3MT5, BIOS A21 05/08/2017\n RIP: 0010:iwlagn_send_sta_key+0x375/0x390 [iwldvm]\n <snip>\n Call Trace:\n  <TASK>\n  iwl_set_dynamic_key+0x1f0/0x220 [iwldvm]\n  iwlagn_mac_set_key+0x1e4/0x280 [iwldvm]\n  drv_set_key+0xa4/0x1b0 [mac80211]\n  ieee80211_key_enable_hw_accel+0xa8/0x2d0 [mac80211]\n  ieee80211_key_replace+0x22d/0x8e0 [mac80211]\n <snip>","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: iwlwifi: dvm: Fix memcpy: detected field-spanning write backtrace\n\nA received TKIP key may be up to 32 bytes because it may contain\nMIC rx/tx keys too. These are not used by iwl and copying these\nover overflows the iwl_keyinfo.key field.\n\nAdd a check to not copy more data to iwl_keyinfo.key then will fit.\n\nThis fixes backtraces like this one:\n\n memcpy: detected field-spanning write (size 32) of single field \"sta_cmd.key.key\" at drivers/net/wireless/intel/iwlwifi/dvm/sta.c:1103 (size 16)\n WARNING: CPU: 1 PID: 946 at drivers/net/wireless/intel/iwlwifi/dvm/sta.c:1103 iwlagn_send_sta_key+0x375/0x390 [iwldvm]\n <snip>\n Hardware name: Dell Inc. Latitude E6430/0H3MT5, BIOS A21 05/08/2017\n RIP: 0010:iwlagn_send_sta_key+0x375/0x390 [iwldvm]\n <snip>\n Call Trace:\n  <TASK>\n  iwl_set_dynamic_key+0x1f0/0x220 [iwldvm]\n  iwlagn_mac_set_key+0x1e4/0x280 [iwldvm]\n  drv_set_key+0xa4/0x1b0 [mac80211]\n  ieee80211_key_enable_hw_accel+0xa8/0x2d0 [mac80211]\n  ieee80211_key_replace+0x22d/0x8e0 [mac80211]\n <snip>","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nwifi: iwlwifi: dvm: Corrección de memcpy: se detectó un rastreo de pila de escritura que abarca campos\n\nUna clave TKIP recibida puede tener hasta 32 bytes porque también puede contener claves MIC rx/tx. Estas no son utilizadas por iwl y copiarlas desborda el campo iwl_keyinfo.key.\n\nAñadir una comprobación para no copiar más datos a iwl_keyinfo.key de los que caben.\n\nEsto corrige rastreos de pila como este:\n\n memcpy: se detectó una escritura que abarca campos (tamaño 32) de un solo campo 'sta_cmd.key.key' en drivers/net/wireless/intel/iwlwifi/dvm/sta.c:1103 (tamaño 16)\n ADVERTENCIA: CPU: 1 PID: 946 en drivers/net/wireless/intel/iwlwifi/dvm/sta.c:1103 iwlagn_send_sta_key+0x375/0x390 [iwldvm]\n \n Nombre del hardware: Dell Inc. Latitude E6430/0H3MT5, BIOS A21 05/08/2017\n RIP: 0010:iwlagn_send_sta_key+0x375/0x390 [iwldvm]\n \n Rastreo de Llamadas:\n  \n  iwl_set_dynamic_key+0x1f0/0x220 [iwldvm]\n  iwlagn_mac_set_key+0x1e4/0x280 [iwldvm]\n  drv_set_key+0xa4/0x1b0 [mac80211]\n  ieee80211_key_enable_hw_accel+0xa8/0x2d0 [mac80211]\n  ieee80211_key_replace+0x22d/0x8e0 [mac80211]","source":"nvd"}],"published":"2025-12-30T12:23:26.421Z","modified":"2026-08-05T09:18:59.341Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H","score":7.6,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H","score":7.6,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"5a3d9882b84edf5fa8e8ca33a5d6df25e2e727a5","fixed":"76b5ea43ad2fb4f726ddfaff839430a706e7d7c2","status":"affected"},{"type":"git","introduced":"5a3d9882b84edf5fa8e8ca33a5d6df25e2e727a5","fixed":"3ed3c1c2fc3482b72e755820261779cd2e2c5a3e","status":"affected"},{"type":"git","introduced":"5a3d9882b84edf5fa8e8ca33a5d6df25e2e727a5","fixed":"fa57021262e998e2229d6383b1081638df2fe238","status":"affected"},{"type":"git","introduced":"5a3d9882b84edf5fa8e8ca33a5d6df25e2e727a5","fixed":"91ad1ab3cc7e981cb6d6ee100686baed64e1277e","status":"affected"},{"type":"git","introduced":"5a3d9882b84edf5fa8e8ca33a5d6df25e2e727a5","fixed":"87940e4030e4705e1f3fd2bbb1854eae8308314b","status":"affected"},{"type":"git","introduced":"5a3d9882b84edf5fa8e8ca33a5d6df25e2e727a5","fixed":"57189c885149825be8eb8c3524b5af017fdeb941","status":"affected"},{"type":"git","introduced":"5a3d9882b84edf5fa8e8ca33a5d6df25e2e727a5","fixed":"6cd644f66b43709816561d63e0173cb0c7aab159","status":"affected"},{"type":"git","introduced":"5a3d9882b84edf5fa8e8ca33a5d6df25e2e727a5","fixed":"ef16799640865f937719f0771c93be5dca18adc6","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.1","status":"unaffected"},{"type":"semver","introduced":"4.14.316","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.284","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.244","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.181","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.113","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.30","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.3.4","lastAffected":"6.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.4","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/76b5ea43ad2fb4f726ddfaff839430a706e7d7c2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3ed3c1c2fc3482b72e755820261779cd2e2c5a3e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fa57021262e998e2229d6383b1081638df2fe238","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/91ad1ab3cc7e981cb6d6ee100686baed64e1277e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/87940e4030e4705e1f3fd2bbb1854eae8308314b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/57189c885149825be8eb8c3524b5af017fdeb941","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6cd644f66b43709816561d63e0173cb0c7aab159","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ef16799640865f937719f0771c93be5dca18adc6","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-54286","url":"https://www.cve.org/CVERecord?id=CVE-2023-54286","licence":"CVE Terms of Use","modified":"2026-08-05T09:18:59.341Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-54286","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54286","licence":"Public domain","modified":"2026-08-04T11:16:39.357Z"}],"updatedAt":"2026-11-25T22:58:35.259Z","epss":{"score":0.00467,"percentile":0.32495,"date":"2026-11-30T12:00:22.000Z"}}