Bug 2266588 (CVE-2021-47017) - CVE-2021-47017 kernel: use after free in ath10k_htc_send_bundle
Summary: CVE-2021-47017 kernel: use after free in ath10k_htc_send_bundle
Keywords:
Status: NEW
Alias: CVE-2021-47017
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2266589
Blocks: 2266587
TreeView+ depends on / blocked
 
Reported: 2024-02-28 12:33 UTC by Rohit Keshri
Modified: 2024-04-16 13:54 UTC (History)
50 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A use-after-free flaw was found in ath10k_htc_send_bundle in ath10k in the Linux Kernel.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Rohit Keshri 2024-02-28 12:33:50 UTC
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.

https://git.kernel.org/stable/c/3b1ac40c6012140828caa79e592a438a18ebf71b
https://git.kernel.org/stable/c/5e413c0831ff4700d1739db3fa3ae9f859744676
https://git.kernel.org/stable/c/8392df5d7e0b6a7d21440da1fc259f9938f4dec3
https://git.kernel.org/stable/c/8bb054fb336f4250002fff4e0b075221c05c3c65

Comment 1 Rohit Keshri 2024-02-28 12:36:33 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2266589]

Comment 3 Justin M. Forbes 2024-02-28 18:50:48 UTC
This was fixed for Fedora with the 5.12.4 stable kernel update.


Note You need to log in before you can comment on or make changes to this bug.