CVE-2021-47017 (GCVE-0-2021-47017)
Vulnerability from cvelistv5
Published
2024-02-28 08:13
Modified
2026-08-05 08:45
Summary
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.
Impacted products
Vendor Product Version
Linux Linux Version: c8334512f3dd1b94844baca629f9bedca4271593
Version: c8334512f3dd1b94844baca629f9bedca4271593
Version: c8334512f3dd1b94844baca629f9bedca4271593
Version: c8334512f3dd1b94844baca629f9bedca4271593
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-04T05:24:39.550Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "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"
          }
        ],
        "title": "CVE Program Container"
      },
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2021-47017",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-09-10T15:58:09.590731Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-09-11T17:33:30.771Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/wireless/ath/ath10k/htc.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "8bb054fb336f4250002fff4e0b075221c05c3c65",
              "status": "affected",
              "version": "c8334512f3dd1b94844baca629f9bedca4271593",
              "versionType": "git"
            },
            {
              "lessThan": "3b1ac40c6012140828caa79e592a438a18ebf71b",
              "status": "affected",
              "version": "c8334512f3dd1b94844baca629f9bedca4271593",
              "versionType": "git"
            },
            {
              "lessThan": "5e413c0831ff4700d1739db3fa3ae9f859744676",
              "status": "affected",
              "version": "c8334512f3dd1b94844baca629f9bedca4271593",
              "versionType": "git"
            },
            {
              "lessThan": "8392df5d7e0b6a7d21440da1fc259f9938f4dec3",
              "status": "affected",
              "version": "c8334512f3dd1b94844baca629f9bedca4271593",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/wireless/ath/ath10k/htc.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.8"
            },
            {
              "lessThan": "5.8",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.37",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.11.*",
              "status": "unaffected",
              "version": "5.11.21",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.12.*",
              "status": "unaffected",
              "version": "5.12.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "5.13",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.37",
                  "versionStartIncluding": "5.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.11.21",
                  "versionStartIncluding": "5.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.12.4",
                  "versionStartIncluding": "5.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.13",
                  "versionStartIncluding": "5.8",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "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-\u003elen.\n\nAs skb_len = bundle_skb-\u003elen, my patch replaces bundle_skb-\u003elen to\nskb_len after the bundle_skb was freed."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 8.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:A - The UAF is in the ath10k SDIO/HL WiFi HTT TX bundle path (ath10k_htc_send_hl \u2192 bundle_tx_work \u2192 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\u2014association/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."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T08:45:36.642Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "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"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2021-47017",
    "datePublished": "2024-02-28T08:13:32.739Z",
    "dateReserved": "2024-02-27T18:42:55.954Z",
    "dateUpdated": "2026-08-05T08:45:36.642Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"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\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-04T05:24:39.550Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"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\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-09-11T12:42:17.072Z\"}}], \"cna\": {\"title\": \"ath10k: Fix a use after free in ath10k_htc_send_bundle\", \"metrics\": [{\"cvssV3_1\": {\"version\": \"3.1\", \"baseScore\": 8.8, \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"AV:A - The UAF is in the ath10k SDIO/HL WiFi HTT TX bundle path (ath10k_htc_send_hl \\u2192 bundle_tx_work \\u2192 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\\u2014association/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\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"c8334512f3dd1b94844baca629f9bedca4271593\", \"lessThan\": \"8bb054fb336f4250002fff4e0b075221c05c3c65\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"c8334512f3dd1b94844baca629f9bedca4271593\", \"lessThan\": \"3b1ac40c6012140828caa79e592a438a18ebf71b\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"c8334512f3dd1b94844baca629f9bedca4271593\", \"lessThan\": \"5e413c0831ff4700d1739db3fa3ae9f859744676\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"c8334512f3dd1b94844baca629f9bedca4271593\", \"lessThan\": \"8392df5d7e0b6a7d21440da1fc259f9938f4dec3\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/net/wireless/ath/ath10k/htc.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"5.8\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"5.8\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"5.10.37\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.11.21\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.11.*\"}, {\"status\": \"unaffected\", \"version\": \"5.12.4\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.12.*\"}, {\"status\": \"unaffected\", \"version\": \"5.13\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/net/wireless/ath/ath10k/htc.c\"], \"defaultStatus\": \"affected\"}], \"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\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"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-\u003elen.\\n\\nAs skb_len = bundle_skb-\u003elen, my patch replaces bundle_skb-\u003elen to\\nskb_len after the bundle_skb was freed.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.10.37\", \"versionStartIncluding\": \"5.8\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.11.21\", \"versionStartIncluding\": \"5.8\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.12.4\", \"versionStartIncluding\": \"5.8\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.13\", \"versionStartIncluding\": \"5.8\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-08-05T08:45:36.642Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2021-47017\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-08-05T08:45:36.642Z\", \"dateReserved\": \"2024-02-27T18:42:55.954Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-02-28T08:13:32.739Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…