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

High 7.8 Published Updated

A missing range check in the ath9k WiFi driver allows an out-of-bounds array index, potentially causing a kernel crash or denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-53156?

CVE-2024-53156 is a high-severity vulnerability in Linux kernel, published on 24 Dec 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-129

Which versions are affected by CVE-2024-53156?

It affects 1 product.

Linux distribution packages (3)
kgraft-patch-SLE12-SP5_Update_63 SUSE:Linux Enterprise Live Patching 12 SP5All versions4-2.1
kernel-livepatch-SLE15-SP3_Update_51 SUSE:Linux Enterprise Live Patching 15 SP3All versions5-150300.2.3
kernel-livepatch-SLE15-SP4_Update_34 SUSE:Linux Enterprise Live Patching 15 SP4All versions6-150400.2.2

Products include Linux kernel.

How do I fix CVE-2024-53156?

Apply the vendor's patch.

Is CVE-2024-53156 being exploited?

There is no known exploitation of CVE-2024-53156 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as AZL-54936, AZL-54951, BELL-CVE-2024-53156, DEBIAN-CVE-2024-53156, GHSA-v5hm-gx5h-94jm, SUSE-SU-2025:01598-1 and 3 more.

Is CVE-2024-53156 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free