CVE-2023-54300

wifi: ath9k: avoid referencing uninit memory in ath9k_wmi_ctrl_rx

State
Published
Severity
Not scored
Published
Dec 30, 2025
Updated
May 11, 2026
Reserved
Dec 30, 2025

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

wifi: ath9k: avoid referencing uninit memory in ath9k_wmi_ctrl_rx

For the reasons also described in commit b383e8abed41 ("wifi: ath9k: avoid uninit memory read in ath9k_htc_rx_msg()"), ath9k_htc_rx_msg() should validate pkt_len before accessing the SKB.

For example, the obtained SKB may have been badly constructed with pkt_len = 8. In this case, the SKB can only contain a valid htc_frame_hdr but after being processed in ath9k_htc_rx_msg() and passed to ath9k_wmi_ctrl_rx() endpoint RX handler, it is expected to have a WMI command header which should be located inside its data payload.

Implement sanity checking inside ath9k_wmi_ctrl_rx(). Otherwise, uninit memory can be referenced.

Tested on Qualcomm Atheros Communications AR9271 802.11n .

Found by Linux Verification Center (linuxtesting.org) with Syzkaller.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • fb9987d0f748c983bb795a86f47522313f701a08 to before 0bc12e41af4e3ae1f0efecc377f0514459df0707Affected
  • fb9987d0f748c983bb795a86f47522313f701a08 to before 28259ce4f1f1f9ab37fa817756c89098213d2fc0Affected
  • fb9987d0f748c983bb795a86f47522313f701a08 to before 90e3c10177573b8662ac9858abd9bf731d5d98e0Affected
  • fb9987d0f748c983bb795a86f47522313f701a08 to before 250efb4d3f5b32a115ea6bf25437ba44a1b3c04fAffected
  • fb9987d0f748c983bb795a86f47522313f701a08 to before ad5425e70789c29b93acafb5bb4629e4eb908296Affected
  • fb9987d0f748c983bb795a86f47522313f701a08 to before d1c2ff2bd84c3692c9df267a2b991ce92bfca8efAffected
  • fb9987d0f748c983bb795a86f47522313f701a08 to before 8ed572e52714593b209e3aa352406aff84481179Affected
  • fb9987d0f748c983bb795a86f47522313f701a08 to before 75acec91aeaa07375cd5f418069e61b16d39bbadAffected
  • fb9987d0f748c983bb795a86f47522313f701a08 to before f24292e827088bba8de7158501ac25a59b064953Affected
LinuxLinux
  • 2.6.35Affected
  • before 2.6.35Not affected
  • 4.14.322 through 4.14.*Not affected
  • 4.19.291 through 4.19.*Not affected
  • 5.4.251 through 5.4.*Not affected
  • 5.10.188 through 5.10.*Not affected
  • 5.15.121 through 5.15.*Not affected
  • 6.1.39 through 6.1.*Not affected
  • 6.3.13 through 6.3.*Not affected
  • 6.4.4 through 6.4.*Not affected
  • 6.5 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.