{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-53641","id":"CVE-2023-53641","title":"wifi: ath9k: hif_usb: fix memory leak of remain_skbs","description":"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 ","descriptionLong":"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.","published":"2025-10-07T15:19:41.028Z","updated":"2026-11-07T02:30:36.571311003Z","reserved":"2025-10-07T15:16:59.658Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"fb9987d0f748c983bb795a86f47522313f701a08","lessThan":"6719e3797ec52cd144c8a5ba8aaab36674800585","status":"affected","versionType":"git"},{"version":"fb9987d0f748c983bb795a86f47522313f701a08","lessThan":"d9899318660791141ea6002fda5577b2c5d7386e","status":"affected","versionType":"git"},{"version":"fb9987d0f748c983bb795a86f47522313f701a08","lessThan":"320d760a35273aa815d58b57e4fd9ba5279a3489","status":"affected","versionType":"git"},{"version":"fb9987d0f748c983bb795a86f47522313f701a08","lessThan":"59073060fe0950c6ecbe12bdc06469dcac62128d","status":"affected","versionType":"git"},{"version":"fb9987d0f748c983bb795a86f47522313f701a08","lessThan":"9b9356a3014123f0ce4b50d9278c1265173150ab","status":"affected","versionType":"git"},{"version":"fb9987d0f748c983bb795a86f47522313f701a08","lessThan":"f0931fc8f4b6847c72e170d2326861c0a081d680","status":"affected","versionType":"git"},{"version":"fb9987d0f748c983bb795a86f47522313f701a08","lessThan":"8f02d538878c9b1501f624595eb22ee4e5e0ff84","status":"affected","versionType":"git"},{"version":"fb9987d0f748c983bb795a86f47522313f701a08","lessThan":"7654cc03eb699297130b693ec34e25f77b17c947","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.35","status":"affected"},{"version":"0","lessThan":"2.6.35","status":"unaffected","versionType":"semver"},{"version":"4.19.283","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.243","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.180","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.111","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.28","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.2.15","lessThanOrEqual":"6.2.*","status":"unaffected","versionType":"semver"},{"version":"6.3.2","lessThanOrEqual":"6.3.*","status":"unaffected","versionType":"semver"},{"version":"6.4","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-401"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/6719e3797ec52cd144c8a5ba8aaab36674800585","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/d9899318660791141ea6002fda5577b2c5d7386e","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/320d760a35273aa815d58b57e4fd9ba5279a3489","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/59073060fe0950c6ecbe12bdc06469dcac62128d","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/9b9356a3014123f0ce4b50d9278c1265173150ab","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/f0931fc8f4b6847c72e170d2326861c0a081d680","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/8f02d538878c9b1501f624595eb22ee4e5e0ff84","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/7654cc03eb699297130b693ec34e25f77b17c947","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53641.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53641","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.0016,"epssPercentile":0.05183,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-53641","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53641","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-53641","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-53641","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}