{"id":"CVE-2023-53641","aliases":["CVE-2023-53641"],"related":[],"kind":"vulnerability","state":"published","title":"wifi: ath9k: hif_usb: fix memory leak of remain_skbs","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: ath9k: hif_usb: fix memory leak of remain_skbs\n\nhif_dev->remain_skb is allocated and used exclusively in\nath9k_hif_usb_rx_stream(). It is implied that an allocated remain_skb is\nprocessed and subsequently freed (in error paths) only during the next\ncall of ath9k_hif_usb_rx_stream().\n\nSo, if the urbs are deallocated between those two calls due to the device\ndeinitialization or suspend, it is possible that ath9k_hif_usb_rx_stream()\nis not called next time and the allocated remain_skb is leaked. Our local\nSyzkaller instance was able to trigger that.\n\nremain_skb makes sense when receiving two consecutive urbs which are\nlogically linked together, i.e. a specific data field from the first skb\nindicates a cached skb to be allocated, memcpy'd with some data and\nsubsequently processed in the next call to ath9k_hif_usb_rx_stream(). Urbs\ndeallocation supposedly makes that link irrelevant so we need to free the\ncached skb in those cases.\n\nFix the leak by introducing a function to explicitly free remain_skb (if\nit is not NULL) when the rx urbs have been deallocated. remain_skb is NULL\nwhen it has not been allocated at all (hif_dev struct is kzalloced) or\nwhen it has been processed in next call to ath9k_hif_usb_rx_stream().\n\nFound by Linux Verification Center (linuxtesting.org) with Syzkaller.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: ath9k: hif_usb: fix memory leak of remain_skbs\n\nhif_dev->remain_skb is allocated and used exclusively in\nath9k_hif_usb_rx_stream(). It is implied that an allocated remain_skb is\nprocessed and subsequently freed (in error paths) only during the next\ncall of ath9k_hif_usb_rx_stream().\n\nSo, if the urbs are deallocated between those two calls due to the device\ndeinitialization or suspend, it is possible that ath9k_hif_usb_rx_stream()\nis not called next time and the allocated remain_skb is leaked. Our local\nSyzkaller instance was able to trigger that.\n\nremain_skb makes sense when receiving two consecutive urbs which are\nlogically linked together, i.e. a specific data field from the first skb\nindicates a cached skb to be allocated, memcpy'd with some data and\nsubsequently processed in the next call to ath9k_hif_usb_rx_stream(). Urbs\ndeallocation supposedly makes that link irrelevant so we need to free the\ncached skb in those cases.\n\nFix the leak by introducing a function to explicitly free remain_skb (if\nit is not NULL) when the rx urbs have been deallocated. remain_skb is NULL\nwhen it has not been allocated at all (hif_dev struct is kzalloced) or\nwhen it has been processed in next call to ath9k_hif_usb_rx_stream().\n\nFound by Linux Verification Center (linuxtesting.org) with Syzkaller.","source":"cvelist"}],"published":"2025-10-07T15:19:41.028Z","modified":"2026-11-05T21:17:30.310Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"fb9987d0f748c983bb795a86f47522313f701a08","fixed":"6719e3797ec52cd144c8a5ba8aaab36674800585","status":"affected"},{"type":"git","introduced":"fb9987d0f748c983bb795a86f47522313f701a08","fixed":"d9899318660791141ea6002fda5577b2c5d7386e","status":"affected"},{"type":"git","introduced":"fb9987d0f748c983bb795a86f47522313f701a08","fixed":"320d760a35273aa815d58b57e4fd9ba5279a3489","status":"affected"},{"type":"git","introduced":"fb9987d0f748c983bb795a86f47522313f701a08","fixed":"59073060fe0950c6ecbe12bdc06469dcac62128d","status":"affected"},{"type":"git","introduced":"fb9987d0f748c983bb795a86f47522313f701a08","fixed":"9b9356a3014123f0ce4b50d9278c1265173150ab","status":"affected"},{"type":"git","introduced":"fb9987d0f748c983bb795a86f47522313f701a08","fixed":"f0931fc8f4b6847c72e170d2326861c0a081d680","status":"affected"},{"type":"git","introduced":"fb9987d0f748c983bb795a86f47522313f701a08","fixed":"8f02d538878c9b1501f624595eb22ee4e5e0ff84","status":"affected"},{"type":"git","introduced":"fb9987d0f748c983bb795a86f47522313f701a08","fixed":"7654cc03eb699297130b693ec34e25f77b17c947","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.35","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.35","status":"unaffected"},{"type":"semver","introduced":"4.19.283","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.243","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.180","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.111","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.28","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.2.15","lastAffected":"6.2.*","status":"unaffected"},{"type":"semver","introduced":"6.3.2","lastAffected":"6.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.4","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"2.6.35","fixed":"4.19.283"},{"status":"affected","introduced":"4.20","fixed":"5.4.243"},{"status":"affected","introduced":"5.5","fixed":"5.10.180"},{"status":"affected","introduced":"5.11","fixed":"5.15.111"},{"status":"affected","introduced":"5.16","fixed":"6.1.28"},{"status":"affected","introduced":"6.2","fixed":"6.2.15"},{"status":"affected","introduced":"6.3","fixed":"6.3.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/6719e3797ec52cd144c8a5ba8aaab36674800585","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d9899318660791141ea6002fda5577b2c5d7386e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/320d760a35273aa815d58b57e4fd9ba5279a3489","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/59073060fe0950c6ecbe12bdc06469dcac62128d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9b9356a3014123f0ce4b50d9278c1265173150ab","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f0931fc8f4b6847c72e170d2326861c0a081d680","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8f02d538878c9b1501f624595eb22ee4e5e0ff84","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7654cc03eb699297130b693ec34e25f77b17c947","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T20:26:20.455Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-53641","url":"https://www.cve.org/CVERecord?id=CVE-2023-53641","licence":"CVE Terms of Use","modified":"2026-11-05T20:31:19.142Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-53641","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53641","licence":"Public domain","modified":"2026-11-05T21:17:30.310Z"}],"updatedAt":"2026-11-25T22:58:34.981Z","epss":{"score":0.0016,"percentile":0.05418,"date":"2026-12-02T12:00:21.000Z"}}