{"id":"CVE-2023-54300","summary":"wifi: ath9k: avoid referencing uninit memory in ath9k_wmi_ctrl_rx","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: ath9k: avoid referencing uninit memory in ath9k_wmi_ctrl_rx\n\nFor the reasons also described in commit b383e8abed41 (\"wifi: ath9k: avoid\nuninit memory read in ath9k_htc_rx_msg()\"), ath9k_htc_rx_msg() should\nvalidate pkt_len before accessing the SKB.\n\nFor example, the obtained SKB may have been badly constructed with\npkt_len = 8. In this case, the SKB can only contain a valid htc_frame_hdr\nbut after being processed in ath9k_htc_rx_msg() and passed to\nath9k_wmi_ctrl_rx() endpoint RX handler, it is expected to have a WMI\ncommand header which should be located inside its data payload.\n\nImplement sanity checking inside ath9k_wmi_ctrl_rx(). Otherwise, uninit\nmemory can be referenced.\n\nTested on Qualcomm Atheros Communications AR9271 802.11n .\n\nFound by Linux Verification Center (linuxtesting.org) with Syzkaller.","modified":"2026-03-31T17:29:27.149398Z","published":"2025-12-30T12:23:35.819Z","related":["SUSE-SU-2026:0263-1","SUSE-SU-2026:0278-1","SUSE-SU-2026:0281-1","SUSE-SU-2026:0293-1","SUSE-SU-2026:0315-1","SUSE-SU-2026:0316-1","SUSE-SU-2026:0317-1","SUSE-SU-2026:0411-1","SUSE-SU-2026:0617-1","SUSE-SU-2026:20477-1","SUSE-SU-2026:20498-1","SUSE-SU-2026:20845-1","SUSE-SU-2026:20876-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54300.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0bc12e41af4e3ae1f0efecc377f0514459df0707"},{"type":"WEB","url":"https://git.kernel.org/stable/c/250efb4d3f5b32a115ea6bf25437ba44a1b3c04f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/28259ce4f1f1f9ab37fa817756c89098213d2fc0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/75acec91aeaa07375cd5f418069e61b16d39bbad"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8ed572e52714593b209e3aa352406aff84481179"},{"type":"WEB","url":"https://git.kernel.org/stable/c/90e3c10177573b8662ac9858abd9bf731d5d98e0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ad5425e70789c29b93acafb5bb4629e4eb908296"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d1c2ff2bd84c3692c9df267a2b991ce92bfca8ef"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f24292e827088bba8de7158501ac25a59b064953"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54300.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54300"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"fb9987d0f748c983bb795a86f47522313f701a08"},{"fixed":"0bc12e41af4e3ae1f0efecc377f0514459df0707"},{"fixed":"28259ce4f1f1f9ab37fa817756c89098213d2fc0"},{"fixed":"90e3c10177573b8662ac9858abd9bf731d5d98e0"},{"fixed":"250efb4d3f5b32a115ea6bf25437ba44a1b3c04f"},{"fixed":"ad5425e70789c29b93acafb5bb4629e4eb908296"},{"fixed":"d1c2ff2bd84c3692c9df267a2b991ce92bfca8ef"},{"fixed":"8ed572e52714593b209e3aa352406aff84481179"},{"fixed":"75acec91aeaa07375cd5f418069e61b16d39bbad"},{"fixed":"f24292e827088bba8de7158501ac25a59b064953"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-54300.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.35"},{"fixed":"4.14.322"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.15.0"},{"fixed":"4.19.291"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.20.0"},{"fixed":"5.4.251"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.188"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.121"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.39"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.3.13"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.4.0"},{"fixed":"6.4.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-54300.json"}}],"schema_version":"1.7.5"}