{"id":"CVE-2026-46307","aliases":["CVE-2026-46307"],"related":[],"kind":"vulnerability","state":"published","title":"wifi: ath5k: do not access array OOB","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: ath5k: do not access array OOB\n\nVincent reports:\n> The ath5k driver seems to do an array-index-out-of-bounds access as\n> shown by the UBSAN kernel message:\n> UBSAN: array-index-out-of-bounds in drivers/net/wireless/ath/ath5k/base.c:1741:20\n> index 4 is out of range for type 'ieee80211_tx_rate [4]'\n> ...\n> Call Trace:\n>  <TASK>\n>  dump_stack_lvl+0x5d/0x80\n>  ubsan_epilogue+0x5/0x2b\n>  __ubsan_handle_out_of_bounds.cold+0x46/0x4b\n>  ath5k_tasklet_tx+0x4e0/0x560 [ath5k]\n>  tasklet_action_common+0xb5/0x1c0\n\nIt is real. 'ts->ts_final_idx' can be 3 on 5212, so:\n   info->status.rates[ts->ts_final_idx + 1].idx = -1;\nwith the array defined as:\n   struct ieee80211_tx_rate rates[IEEE80211_TX_MAX_RATES];\nwhile the size is:\n   #define IEEE80211_TX_MAX_RATES  4\nis indeed bogus.\n\nSet this 'idx = -1' sentinel only if the array index is less than the\narray size. As mac80211 will not look at rates beyond the size\n(IEEE80211_TX_MAX_RATES).\n\nNote: The effect of the OOB write is negligible. It just overwrites the\nnext member of info->status, i.e. ack_signal.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: ath5k: do not access array OOB\n\nVincent reports:\n> The ath5k driver seems to do an array-index-out-of-bounds access as\n> shown by the UBSAN kernel message:\n> UBSAN: array-index-out-of-bounds in drivers/net/wireless/ath/ath5k/base.c:1741:20\n> index 4 is out of range for type 'ieee80211_tx_rate [4]'\n> ...\n> Call Trace:\n>  <TASK>\n>  dump_stack_lvl+0x5d/0x80\n>  ubsan_epilogue+0x5/0x2b\n>  __ubsan_handle_out_of_bounds.cold+0x46/0x4b\n>  ath5k_tasklet_tx+0x4e0/0x560 [ath5k]\n>  tasklet_action_common+0xb5/0x1c0\n\nIt is real. 'ts->ts_final_idx' can be 3 on 5212, so:\n   info->status.rates[ts->ts_final_idx + 1].idx = -1;\nwith the array defined as:\n   struct ieee80211_tx_rate rates[IEEE80211_TX_MAX_RATES];\nwhile the size is:\n   #define IEEE80211_TX_MAX_RATES  4\nis indeed bogus.\n\nSet this 'idx = -1' sentinel only if the array index is less than the\narray size. As mac80211 will not look at rates beyond the size\n(IEEE80211_TX_MAX_RATES).\n\nNote: The effect of the OOB write is negligible. It just overwrites the\nnext member of info->status, i.e. ack_signal.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nwifi: ath5k: no acceder al array OOB\n\nVincent informa:\n> El controlador ath5k parece realizar un acceso de índice de array fuera de límites como\n> mostrado por el mensaje del kernel de UBSAN:\n> UBSAN: índice de array fuera de límites en drivers/net/wireless/ath/ath5k/base.c:1741:20\n> el índice 4 está fuera de rango para el tipo 'ieee80211_tx_rate [4]'\n> ...\n> Traza de Llamada:\n> <TAREA>\n> dump_stack_lvl+0x5d/0x80\n> ubsan_epilogue+0x5/0x2b\n> __ubsan_handle_out_of_bounds.cold+0x46/0x4b\n> ath5k_tasklet_tx+0x4e0/0x560 [ath5k]\n> tasklet_action_common+0xb5/0x1c0\n\nEs real. 'ts->ts_final_idx' puede ser 3 en 5212, así que:\n   info->status.rates[ts->ts_final_idx + 1].idx = -1;\ncon el array definido como:\n   struct ieee80211_tx_rate rates[IEEE80211_TX_MAX_RATES];\nmientras que el tamaño es:\n   #define IEEE80211_TX_MAX_RATES  4\nes de hecho erróneo.\n\nEstablecer este centinela 'idx = -1' solo si el índice del array es menor que el tamaño del array. Ya que mac80211 no buscará tasas más allá del tamaño (IEEE80211_TX_MAX_RATES).\n\nNota: El efecto de la escritura OOB es insignificante. Simplemente sobrescribe el siguiente miembro de info->status, es decir, ack_signal.","source":"nvd"}],"published":"2026-06-08T15:46:35.059Z","modified":"2026-10-15T02:19:53.167Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L","score":8.3,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L","score":8.3,"rating":"HIGH"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"git","introduced":"6d7b97b23e114c8fbb825e6721164d228c1af3fc","fixed":"ecb1c163166759dec004c1fdb9709b8a5992fc8e","status":"affected"},{"type":"git","introduced":"6d7b97b23e114c8fbb825e6721164d228c1af3fc","fixed":"9dd6aae4bc7bfa11088d928670a3315eae542769","status":"affected"},{"type":"git","introduced":"6d7b97b23e114c8fbb825e6721164d228c1af3fc","fixed":"744c19e266b0d2628c5951439195dcef27eadacf","status":"affected"},{"type":"git","introduced":"6d7b97b23e114c8fbb825e6721164d228c1af3fc","fixed":"83226c71af53fb9b3cad40cb9a9a79f36d68c020","status":"affected"},{"type":"git","introduced":"6d7b97b23e114c8fbb825e6721164d228c1af3fc","fixed":"d6869537013b1f21b292342752d97868b79b5934","status":"affected"},{"type":"git","introduced":"6d7b97b23e114c8fbb825e6721164d228c1af3fc","fixed":"e9f1081bc775146156def0dbc821b92f35d56afb","status":"affected"},{"type":"git","introduced":"6d7b97b23e114c8fbb825e6721164d228c1af3fc","fixed":"568173ad9bd0b46cc6cd937dea8791e9b5eefa57","status":"affected"},{"type":"git","introduced":"6d7b97b23e114c8fbb825e6721164d228c1af3fc","fixed":"d748603f12baff112caa3ab7d39f50100f010dbd","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.0","status":"unaffected"},{"type":"semver","introduced":"5.10.258","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.209","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.175","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.140","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.88","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.30","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.0.7","lastAffected":"7.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.0","fixed":"5.10.258"},{"status":"affected","introduced":"5.11","fixed":"5.15.209"},{"status":"affected","introduced":"5.16","fixed":"6.1.175"},{"status":"affected","introduced":"6.2","fixed":"6.6.140"},{"status":"affected","introduced":"6.7","fixed":"6.12.88"},{"status":"affected","introduced":"6.13","fixed":"6.18.30"},{"status":"affected","introduced":"6.19","fixed":"7.0.7"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/ecb1c163166759dec004c1fdb9709b8a5992fc8e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9dd6aae4bc7bfa11088d928670a3315eae542769","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/744c19e266b0d2628c5951439195dcef27eadacf","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/83226c71af53fb9b3cad40cb9a9a79f36d68c020","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d6869537013b1f21b292342752d97868b79b5934","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e9f1081bc775146156def0dbc821b92f35d56afb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/568173ad9bd0b46cc6cd937dea8791e9b5eefa57","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d748603f12baff112caa3ab7d39f50100f010dbd","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-784472.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-46307","url":"https://www.cve.org/CVERecord?id=CVE-2026-46307","licence":"CVE Terms of Use","modified":"2026-10-15T01:21:33.220Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-46307","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46307","licence":"Public domain","modified":"2026-10-15T02:19:53.167Z"}],"updatedAt":"2026-11-25T22:59:24.014Z","epss":{"score":0.00236,"percentile":0.15665,"date":"2026-12-01T12:00:22.000Z"}}