7.8
CWE
129
Advisory Published
Updated

CVE-2024-53156: wifi: ath9k: add range check for conn_rsp_epid in htc_connect_service()

First published: Tue Dec 24 2024(Updated: )

In the Linux kernel, the following vulnerability has been resolved: wifi: ath9k: add range check for conn_rsp_epid in htc_connect_service() I found the following bug in my fuzzer: UBSAN: array-index-out-of-bounds in drivers/net/wireless/ath/ath9k/htc_hst.c:26:51 index 255 is out of range for type 'htc_endpoint [22]' CPU: 0 UID: 0 PID: 8 Comm: kworker/0:0 Not tainted 6.11.0-rc6-dirty #14 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.15.0-1 04/01/2014 Workqueue: events request_firmware_work_func Call Trace: <TASK> dump_stack_lvl+0x180/0x1b0 __ubsan_handle_out_of_bounds+0xd4/0x130 htc_issue_send.constprop.0+0x20c/0x230 ? _raw_spin_unlock_irqrestore+0x3c/0x70 ath9k_wmi_cmd+0x41d/0x610 ? mark_held_locks+0x9f/0xe0 ... Since this bug has been confirmed to be caused by insufficient verification of conn_rsp_epid, I think it would be appropriate to add a range check for conn_rsp_epid to htc_connect_service() to prevent the bug from occurring.

Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Affected SoftwareAffected VersionHow to fix
Linux Kernel>=2.6.35<4.19.325
Linux Kernel>=4.20<5.4.287
Linux Kernel>=5.5<5.10.231
Linux Kernel>=5.11<5.15.174
Linux Kernel>=5.16<6.1.120
Linux Kernel>=6.2<6.6.64
Linux Kernel>=6.7<6.11.11
Linux Kernel>=6.12<6.12.2
debian/linux<=5.10.223-1<=5.10.226-1
6.1.123-1
6.1.128-1
6.12.12-1
6.12.15-1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2024-53156?

    CVE-2024-53156 is classified with a medium severity due to the potential for array index out of bounds vulnerability in the Linux kernel.

  • How do I fix CVE-2024-53156?

    To fix CVE-2024-53156, upgrade your Linux kernel to a version that includes the patch for this vulnerability.

  • Which Linux kernel versions are affected by CVE-2024-53156?

    CVE-2024-53156 affects multiple versions of the Linux kernel from 2.6.35 up to 6.12.2.

  • What is the impact of CVE-2024-53156?

    The impact of CVE-2024-53156 includes potential system instability or the crashing of applications due to an out-of-bounds read.

  • Is there a workaround for CVE-2024-53156?

    There are no known effective workarounds for CVE-2024-53156; applying the kernel update is recommended.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203