CVE-2023-53641
wifi: ath9k: hif_usb: fix memory leak of remain_skbs
Mitigation
- Upgrade Linux to 7654cc03eb699297130b693ec34e25f77b17c947 or later.
Who should check
- Anyone running Linux >= fb9987d0f748c983bb795a86f47522313f701a08, < 6719e3797ec52cd144c8a5ba8aaab36674800585; >= fb9987d0f748c983bb795a86f47522313f701a08, < d9899318660791141ea6002fda5577b2c5d7386e; >= fb9987d0f748c983bb795a86f47522313f701a08, < 320d760a35273aa815d58b57e4fd9ba5279a3489; >= fb9987d0f748c983bb795a86f47522313f701a08, < 59073060fe0950c6ecbe12bdc06469dcac62128d; >= fb9987d0f748c983bb795a86f47522313f701a08, < 9b9356a3014123f0ce4b50d9278c1265173150ab; >= fb9987d0f748c983bb795a86f47522313f701a08, < f0931fc8f4b6847c72e170d2326861c0a081d680; >= fb9987d0f748c983bb795a86f47522313f701a08, < 8f02d538878c9b1501f624595eb22ee4e5e0ff84; >= fb9987d0f748c983bb795a86f47522313f701a08, < 7654cc03eb699297130b693ec34e25f77b17c947
- Anyone running Linux 2.6.35
Vulnerability facts
- Affected
- Linux >= fb9987d0f748c983bb795a86f47522313f701a08, < 6719e3797ec52cd144c8a5ba8aaab36674800585; >= fb9987d0f748c983bb795a86f47522313f701a08, < d9899318660791141ea6002fda5577b2c5d7386e; >= fb9987d0f748c983bb795a86f47522313f701a08, < 320d760a35273aa815d58b57e4fd9ba5279a3489; >= fb9987d0f748c983bb795a86f47522313f701a08, < 59073060fe0950c6ecbe12bdc06469dcac62128d; >= fb9987d0f748c983bb795a86f47522313f701a08, < 9b9356a3014123f0ce4b50d9278c1265173150ab; >= fb9987d0f748c983bb795a86f47522313f701a08, < f0931fc8f4b6847c72e170d2326861c0a081d680; >= fb9987d0f748c983bb795a86f47522313f701a08, < 8f02d538878c9b1501f624595eb22ee4e5e0ff84; >= fb9987d0f748c983bb795a86f47522313f701a08, < 7654cc03eb699297130b693ec34e25f77b17c947; Linux 2.6.35
- Fixed in
- Linux 6719e3797ec52cd144c8a5ba8aaab36674800585, Linux 320d760a35273aa815d58b57e4fd9ba5279a3489, Linux 59073060fe0950c6ecbe12bdc06469dcac62128d, Linux 9b9356a3014123f0ce4b50d9278c1265173150ab, Linux 8f02d538878c9b1501f624595eb22ee4e5e0ff84, Linux 7654cc03eb699297130b693ec34e25f77b17c947
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.22% chance of exploitation in 30 days (percentile 7, 2026-11-26)
- CWE
- CWE-401
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: wifi: ath9k: hif_usb: fix memory leak of remain_skbs hif_dev->remain_skb is allocated and used exclusively in ath9k_hif_usb_rx_stream(). It is implied that an allocated remain_skb is processed and subsequently freed (in error paths) only during the next call of ath9k_hif_usb_rx_stream(). So, if the urbs are deallocated between those two calls due to the device deinitialization or suspend, it is possible that ath9k_hif_usb_rx_stream() is not called next time and the allocated remain_skb is leaked. Our local Syzkaller instance was able to trigger that. remain_skb makes sense when receiving two consecutive urbs which are logically linked together, i.e. a specific data field from the first skb indicates a cached skb to be allocated, memcpy'd with some data and subsequently processed in the next call to ath9k_hif_usb_rx_stream(). Urbs deallocation supposedly makes that link irrelevant so we need to free the cached skb in those cases. Fix the leak by introducing a function to explicitly free remain_skb (if it is not NULL) when the rx urbs have been deallocated. remain_skb is NULL when it has not been allocated at all (hif_dev struct is kzalloced) or when it has been processed in next call to ath9k_hif_usb_rx_stream(). Found by Linux Verification Center (linuxtesting.org) with Syzkaller.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= fb9987d0f748c983bb795a86f47522313f701a08, < 6719e3797ec52cd144c8a5ba8aaab36674800585; >= fb9987d0f748c983bb795a86f47522313f701a08, < d9899318660791141ea6002fda5577b2c5d7386e; >= fb9987d0f748c983bb795a86f47522313f701a08, < 320d760a35273aa815d58b57e4fd9ba5279a3489; >= fb9987d0f748c983bb795a86f47522313f701a08, < 59073060fe0950c6ecbe12bdc06469dcac62128d; >= fb9987d0f748c983bb795a86f47522313f701a08, < 9b9356a3014123f0ce4b50d9278c1265173150ab; >= fb9987d0f748c983bb795a86f47522313f701a08, < f0931fc8f4b6847c72e170d2326861c0a081d680; >= fb9987d0f748c983bb795a86f47522313f701a08, < 8f02d538878c9b1501f624595eb22ee4e5e0ff84; >= fb9987d0f748c983bb795a86f47522313f701a08, < 7654cc03eb699297130b693ec34e25f77b17c947 | — | cvelist |
| Linux | 2.6.35 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-53641. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-53641.md Affected: Linux >= fb9987d0f748c983bb795a86f47522313f701a08, < 6719e3797ec52cd144c8a5ba8aaab36674800585; >= fb9987d0f748c983bb795a86f47522313f701a08, < d9899318660791141ea6002fda5577b2c5d7386e; >= fb9987d0f748c983bb795a86f47522313f701a08, < 320d760a35273aa815d58b57e4fd9ba5279a3489; >= fb9987d0f748c983bb795a8… Fixed in: Linux 6719e3797ec52cd144c8a5ba8aaab36674800585, Linux 320d760a35273aa815d58b57e4fd9ba5279a3489, Linux 59073060fe0950c6ecbe12bdc06469dcac62128d, Linux 9b9356a3014123f0ce4b50d9278c1265173150ab, Linux 8f02d538878c9b1501f624595eb22ee4e5e0ff84, Linux 7654cc03eb699297130b693ec34e25f77b17c947 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/6719e3797ec52cd144c8a5ba8aaab36674800585
- https://git.kernel.org/stable/c/d9899318660791141ea6002fda5577b2c5d7386e
- https://git.kernel.org/stable/c/320d760a35273aa815d58b57e4fd9ba5279a3489
- https://git.kernel.org/stable/c/59073060fe0950c6ecbe12bdc06469dcac62128d
- https://git.kernel.org/stable/c/9b9356a3014123f0ce4b50d9278c1265173150ab
- https://git.kernel.org/stable/c/f0931fc8f4b6847c72e170d2326861c0a081d680
- https://git.kernel.org/stable/c/8f02d538878c9b1501f624595eb22ee4e5e0ff84
- https://git.kernel.org/stable/c/7654cc03eb699297130b693ec34e25f77b17c947
FAQ
Is CVE-2023-53641 being exploited?
There is no confirmed exploitation: CVE-2023-53641 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-53641?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2023-53641?
Linux >= fb9987d0f748c983bb795a86f47522313f701a08, < 6719e3797ec52cd144c8a5ba8aaab36674800585; >= fb9987d0f748c983bb795a86f47522313f701a08, < d9899318660791141ea6002fda5577b2c5d7386e; >= fb9987d0f748c983bb795a86f47522313f701a08, < 320d760a35273aa815d58b57e4fd9ba5279a3489; >= fb9987d0f748c983bb795a86f47522313f701a08, < 59073060fe0950c6ecbe12bdc06469dcac62128d; >= fb9987d0f748c983bb795a86f47522313f701a08, < 9b9356a3014123f0ce4b50d9278c1265173150ab; >= fb9987d0f748c983bb795a86f47522313f701a08, < f0931fc8f4b6847c72e170d2326861c0a081d680; >= fb9987d0f748c983bb795a86f47522313f701a08, < 8f02d538878c9b1501f624595eb22ee4e5e0ff84; >= fb9987d0f748c983bb795a86f47522313f701a08, < 7654cc03eb699297130b693ec34e25f77b17c947; Linux 2.6.35.
Is there a fix for CVE-2023-53641?
Yes. Fixed in Linux 6719e3797ec52cd144c8a5ba8aaab36674800585, Linux 320d760a35273aa815d58b57e4fd9ba5279a3489, Linux 59073060fe0950c6ecbe12bdc06469dcac62128d, Linux 9b9356a3014123f0ce4b50d9278c1265173150ab, Linux 8f02d538878c9b1501f624595eb22ee4e5e0ff84, Linux 7654cc03eb699297130b693ec34e25f77b17c947. Upgrade Linux to 7654cc03eb699297130b693ec34e25f77b17c947 or later.
How do I check if I'm affected by CVE-2023-53641?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.