{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2021-47017",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2024-02-27T18:42:55.954Z",
        "datePublished": "2024-02-28T08:13:32.739Z",
        "dateUpdated": "2026-08-05T08:45:36.642Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-05T08:45:36.642Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nath10k: Fix a use after free in ath10k_htc_send_bundle\n\nIn ath10k_htc_send_bundle, the bundle_skb could be freed by\ndev_kfree_skb_any(bundle_skb). But the bundle_skb is used later\nby bundle_skb->len.\n\nAs skb_len = bundle_skb->len, my patch replaces bundle_skb->len to\nskb_len after the bundle_skb was freed."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
                        "baseScore": 8.8,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:A - The UAF is in the ath10k SDIO/HL WiFi HTT TX bundle path (ath10k_htc_send_hl → bundle_tx_work → ath10k_htc_send_bundle), reached when the host transmits over QCA SDIO WiFi; an in-range attacker on a hotspot/AP or busy STA link can induce that TX, so reachability is Adjacent 802.11, not routable Network or Local-only.\nAC:L - The free occurs on the documented send-failure path (credit consume returning -EAGAIN after the non-consuming build-time check, or hif_tx_sg failure), which an adjacent attacker can drive with sustained TX load; no race or layout outside attacker influence is required once bundling is active.\nPR:N - Triggering outbound WiFi TX and credit pressure needs no account or capability on the victim OS—association/traffic from an adjacent peer is enough, with no CAP_NET_ADMIN or local login gate on this driver path.\nUI:N - Once the ath10k SDIO interface is up, the attacker can unilaterally generate traffic that queues bundled HTT TX; no extra victim action such as mounting a device or clicking is required.\nS:U - The dangling sk_buff access corrupts/discloses host-kernel heap state within the same kernel authority and does not cross a VM, IOMMU, or other distinct trust boundary.\nC:H - This is a use-after-free of a kmalloc-backed sk_buff (bundle_skb) after dev_kfree_skb_any; per kernel UAF guidance, reclaim of the freed object enables arbitrary kernel memory disclosure.\nI:H - The same sk_buff UAF is exploitable heap corruption that enables heap spray, arbitrary write, and control-flow hijack primitives beyond a pure crash.\nA:H - Post-free dereference of bundle_skb can oops/panic if the object/page is reclaimed or unmapped, so availability impact is High even without a full exploit."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/net/wireless/ath/ath10k/htc.c"
                    ],
                    "versions": [
                        {
                            "version": "c8334512f3dd1b94844baca629f9bedca4271593",
                            "lessThan": "8bb054fb336f4250002fff4e0b075221c05c3c65",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "c8334512f3dd1b94844baca629f9bedca4271593",
                            "lessThan": "3b1ac40c6012140828caa79e592a438a18ebf71b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "c8334512f3dd1b94844baca629f9bedca4271593",
                            "lessThan": "5e413c0831ff4700d1739db3fa3ae9f859744676",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "c8334512f3dd1b94844baca629f9bedca4271593",
                            "lessThan": "8392df5d7e0b6a7d21440da1fc259f9938f4dec3",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/net/wireless/ath/ath10k/htc.c"
                    ],
                    "versions": [
                        {
                            "version": "5.8",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.8",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.37",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.11.21",
                            "lessThanOrEqual": "5.11.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.12.4",
                            "lessThanOrEqual": "5.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.13",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.8",
                                    "versionEndExcluding": "5.10.37"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.8",
                                    "versionEndExcluding": "5.11.21"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.8",
                                    "versionEndExcluding": "5.12.4"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.8",
                                    "versionEndExcluding": "5.13"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/8bb054fb336f4250002fff4e0b075221c05c3c65"
                },
                {
                    "url": "https://git.kernel.org/stable/c/3b1ac40c6012140828caa79e592a438a18ebf71b"
                },
                {
                    "url": "https://git.kernel.org/stable/c/5e413c0831ff4700d1739db3fa3ae9f859744676"
                },
                {
                    "url": "https://git.kernel.org/stable/c/8392df5d7e0b6a7d21440da1fc259f9938f4dec3"
                }
            ],
            "title": "ath10k: Fix a use after free in ath10k_htc_send_bundle",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-04T05:24:39.550Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://git.kernel.org/stable/c/8bb054fb336f4250002fff4e0b075221c05c3c65",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://git.kernel.org/stable/c/3b1ac40c6012140828caa79e592a438a18ebf71b",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://git.kernel.org/stable/c/5e413c0831ff4700d1739db3fa3ae9f859744676",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://git.kernel.org/stable/c/8392df5d7e0b6a7d21440da1fc259f9938f4dec3",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            },
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "id": "CVE-2021-47017",
                                "role": "CISA Coordinator",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "version": "2.0.3",
                                "timestamp": "2024-09-10T15:58:09.590731Z"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-09-11T17:33:30.771Z"
                }
            }
        ]
    }
}