CVE-2023-53717
JSON

Not scored

wifi: ath9k: Fix potential stack-out-of-bounds write in ath9k_wmi_rsp_callback()

Severity
Not scored
Exploit likelihood
0.21% (higher than 11% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: wifi: ath9k: Fix potential stack-out-of-bounds write in ath9k_wmi_rsp_callback() Fix a stack-out-of-bounds write that occurs in a WMI response callback function that is called after a timeout occurs in ath9k_wmi_cmd(). The callback writes to wmi->cmd_rsp_buf, a stack-allocated buffer that could no longer be valid when a timeout occurs. Set wmi->last_seq_id to 0 when a timeout occurred. Found by a modified version of syzkaller. BUG: KASAN: stack-out-of-bounds in ath9k_wmi_ctrl_rx Write of size 4 Call Trace: memcpy ath9k_wmi_ctrl_rx ath9k_htc_rx_msg ath9k_hif_usb_reg_in_cb __usb_hcd_giveback_urb usb_hcd_giveback_urb dummy_timer call_timer_fn run_timer_softirq __do_softirq irq_exit_rcu sysvec_apic_timer_interrupt

Affected

Product or packageVersionsReported by
Linux Linuxfrom fb9987d0f748c983bb795a86f47522313f701a08 before 89a33c3c847b19b19205cde1d924df2a6c70d8eb, from fb9987d0f748c983bb795a86f47522313f701a08 before ae4933b4f17de8e2b7ff6f91b17d3b0099a6d6bc, from fb9987d0f748c983bb795a86f47522313f701a08 before bf6dc175a2b53098a69db1236d9d53982f4b1bc0, from fb9987d0f748c983bb795a86f47522313f701a08 before 78b56b0a613a87b61290b95be497fdfe2fe58aa6, from fb9987d0f748c983bb795a86f47522313f701a08 before 1af7eacfad45149c54893a8a9df9e92ef89f0a90, from fb9987d0f748c983bb795a86f47522313f701a08 before 8f28513d9520184059530c01a9f928a1b3809d3f, from fb9987d0f748c983bb795a86f47522313f701a08 before 554048a72d7ecfdd58cc1bfb56e0a1864e64e82c, from fb9987d0f748c983bb795a86f47522313f701a08 before 8a2f35b9830692f7a616f2f627f943bc748af13a and 1 more
Not affected: before 2.6.35, from 4.14.308 up to 4.14.*, from 4.19.276 up to 4.19.*, from 5.4.235 up to 5.4.*, from 5.10.173 up to 5.10.*, from 5.15.99 up to 5.15.*
CVE List

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: wifi: ath9k: Fix potential stack-out-of-bounds write in ath9k_wmi_rsp_callback() Fix a stack-out-of-bounds write that occurs in a WMI response callback function that is called after a timeout occurs in ath9k_wmi_cmd(). The callback writes to wmi->cmd_rsp_buf, a stack-allocated buffer that could no longer be valid when a timeout occurs. Set wmi->last_seq_id to 0 when a timeout occurred. Found by a modified version of syzkaller. BUG: KASAN: stack-out-of-bounds in ath9k_wmi_ctrl_rx Write of size 4 Call Trace: memcpy ath9k_wmi_ctrl_rx ath9k_htc_rx_msg ath9k_hif_usb_reg_in_cb __usb_hcd_giveback_urb usb_hcd_giveback_urb dummy_timer call_timer_fn run_timer_softirq __do_softirq irq_exit_rcu sysvec_apic_timer_interrupt

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: wifi: ath9k: Corrige una posible escritura fuera de límites de la pila en ath9k_wmi_rsp_callback() Corrige una escritura fuera de límites de la pila que ocurre en una función de callback de respuesta WMI que se llama después de que ocurre un tiempo de espera en ath9k_wmi_cmd(). El callback escribe en wmi -> cmd_rsp_buf, un búfer asignado en la pila que ya no podría ser válido cuando ocurre un tiempo de espera. Establece wmi -> last_seq_id en 0 cuando ocurrió un tiempo de espera. Encontrado por una versión modificada de syzkaller. BUG: KASAN: fuera de límites de la pila en ath9k_wmi_ctrl_rx Escritura de tamaño 4 Traza de Llamada: memcpy ath9k_wmi_ctrl_rx ath9k_htc_rx_msg ath9k_hif_usb_reg_in_cb __usb_hcd_giveback_urb usb_hcd_giveback_urb dummy_timer call_timer_fn run_timer_softirq __do_softirq irq_exit_rcu sysvec_apic_timer_interrupt

References

Sources

SourceRecordLicence
CVE ListCVE-2023-53717 changed 2026-05-11CVE Terms of Use
NVDCVE-2023-53717 changed 2026-10-28Public domain