# CVE-2021-47017: ath10k: Fix a use after free in ath10k_htc_send_bundle

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-01)
- Published: 2024-02-28T08:13:32.739Z
- Modified: 2026-08-05T08:45:36.642Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

ath10k: Fix a use after free in ath10k_htc_send_bundle

In ath10k_htc_send_bundle, the bundle_skb could be freed by
dev_kfree_skb_any(bundle_skb). But the bundle_skb is used later
by bundle_skb->len.

As skb_len = bundle_skb->len, my patch replaces bundle_skb->len to
skb_len after the bundle_skb was freed.

(As written by CVE List.)

## Affected

- Linux Linux: from c8334512f3dd1b94844baca629f9bedca4271593 before 8bb054fb336f4250002fff4e0b075221c05c3c65; from c8334512f3dd1b94844baca629f9bedca4271593 before 3b1ac40c6012140828caa79e592a438a18ebf71b; from c8334512f3dd1b94844baca629f9bedca4271593 before 5e413c0831ff4700d1739db3fa3ae9f859744676; from c8334512f3dd1b94844baca629f9bedca4271593 before 8392df5d7e0b6a7d21440da1fc259f9938f4dec3; 5.8 (not affected: before 5.8; from 5.10.37 up to 5.10.*; from 5.11.21 up to 5.11.*; from 5.12.4 up to 5.12.*; from 5.13 up to *)
- linux linux_kernel: from 5.8 before 5.10.37; from 5.11 before 5.11.21; from 5.12 before 5.12.4

## Every score

- Linux: CVSS:3.1 8.8 High `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/8bb054fb336f4250002fff4e0b075221c05c3c65> (patch)
- <https://git.kernel.org/stable/c/3b1ac40c6012140828caa79e592a438a18ebf71b> (patch)
- <https://git.kernel.org/stable/c/5e413c0831ff4700d1739db3fa3ae9f859744676> (patch)
- <https://git.kernel.org/stable/c/8392df5d7e0b6a7d21440da1fc259f9938f4dec3> (patch)

## Sources

- CVE List: [CVE-2021-47017](https://www.cve.org/CVERecord?id=CVE-2021-47017), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2021-47017](https://nvd.nist.gov/vuln/detail/CVE-2021-47017), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2021-47017 · Whole record: https://cve.day/CVE-2021-47017.json · Rebuilt by cve.day 2026-11-25T22:58:08.618Z
