{"id":"CVE-2023-53199","summary":"wifi: ath9k: hif_usb: clean up skbs if ath9k_hif_usb_rx_stream() fails","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: ath9k: hif_usb: clean up skbs if ath9k_hif_usb_rx_stream() fails\n\nSyzkaller detected a memory leak of skbs in ath9k_hif_usb_rx_stream().\nWhile processing skbs in ath9k_hif_usb_rx_stream(), the already allocated\nskbs in skb_pool are not freed if ath9k_hif_usb_rx_stream() fails. If we\nhave an incorrect pkt_len or pkt_tag, the input skb is considered invalid\nand dropped. All the associated packets already in skb_pool should be\ndropped and freed. Added a comment describing this issue.\n\nThe patch also makes remain_skb NULL after being processed so that it\ncannot be referenced after potential free. The initialization of hif_dev\nfields which are associated with remain_skb (rx_remain_len,\nrx_transfer_len and rx_pad_len) is moved after a new remain_skb is\nallocated.\n\nFound by Linux Verification Center (linuxtesting.org) with Syzkaller.","modified":"2026-04-11T12:46:42.873638Z","published":"2025-09-15T14:21:27.451Z","related":["SUSE-SU-2025:03614-1","SUSE-SU-2025:03615-1","SUSE-SU-2025:03628-1","SUSE-SU-2025:3716-1","SUSE-SU-2025:3761-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53199.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0af54343a76263a12dbae7fafb64eb47c4a6ad38"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3fc6401fafde11712a83089fa2cc874cfd10e2cd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/61490d2710277e8a55009b7682456ae22f8087cf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9acdec72787af1bc8ed92711b52118c8e3e638a2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c766e37fccd5a5c5059be7efcd9618bf8a2c17c3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cd8316767099920a5d41feed1afab0c482a43e9f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f26dd69f61eff2eedf5df2d199bdd23108309947"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53199.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53199"},{"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":"44b23b488d44e56d467764ecb661830e5b02b308"},{"fixed":"3fc6401fafde11712a83089fa2cc874cfd10e2cd"},{"fixed":"cd8316767099920a5d41feed1afab0c482a43e9f"},{"fixed":"f26dd69f61eff2eedf5df2d199bdd23108309947"},{"fixed":"61490d2710277e8a55009b7682456ae22f8087cf"},{"fixed":"9acdec72787af1bc8ed92711b52118c8e3e638a2"},{"fixed":"c766e37fccd5a5c5059be7efcd9618bf8a2c17c3"},{"fixed":"0af54343a76263a12dbae7fafb64eb47c4a6ad38"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53199.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.38"},{"fixed":"4.19.276"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.20.0"},{"fixed":"5.4.235"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.173"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.99"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.16"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.2.3"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53199.json"}}],"schema_version":"1.7.5"}