CVE-2023-53199 (GCVE-0-2023-53199)
Vulnerability from cvelistv5
Published
2025-09-15 14:21
Modified
2025-09-15 14:21
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: wifi: ath9k: hif_usb: clean up skbs if ath9k_hif_usb_rx_stream() fails Syzkaller detected a memory leak of skbs in ath9k_hif_usb_rx_stream(). While processing skbs in ath9k_hif_usb_rx_stream(), the already allocated skbs in skb_pool are not freed if ath9k_hif_usb_rx_stream() fails. If we have an incorrect pkt_len or pkt_tag, the input skb is considered invalid and dropped. All the associated packets already in skb_pool should be dropped and freed. Added a comment describing this issue. The patch also makes remain_skb NULL after being processed so that it cannot be referenced after potential free. The initialization of hif_dev fields which are associated with remain_skb (rx_remain_len, rx_transfer_len and rx_pad_len) is moved after a new remain_skb is allocated. Found by Linux Verification Center (linuxtesting.org) with Syzkaller.
Impacted products
Vendor Product Version
Linux Linux Version: 44b23b488d44e56d467764ecb661830e5b02b308
Version: 44b23b488d44e56d467764ecb661830e5b02b308
Version: 44b23b488d44e56d467764ecb661830e5b02b308
Version: 44b23b488d44e56d467764ecb661830e5b02b308
Version: 44b23b488d44e56d467764ecb661830e5b02b308
Version: 44b23b488d44e56d467764ecb661830e5b02b308
Version: 44b23b488d44e56d467764ecb661830e5b02b308
Create a notification for this product.
   Linux Linux Version: 2.6.38
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/wireless/ath/ath9k/hif_usb.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "3fc6401fafde11712a83089fa2cc874cfd10e2cd",
              "status": "affected",
              "version": "44b23b488d44e56d467764ecb661830e5b02b308",
              "versionType": "git"
            },
            {
              "lessThan": "cd8316767099920a5d41feed1afab0c482a43e9f",
              "status": "affected",
              "version": "44b23b488d44e56d467764ecb661830e5b02b308",
              "versionType": "git"
            },
            {
              "lessThan": "f26dd69f61eff2eedf5df2d199bdd23108309947",
              "status": "affected",
              "version": "44b23b488d44e56d467764ecb661830e5b02b308",
              "versionType": "git"
            },
            {
              "lessThan": "61490d2710277e8a55009b7682456ae22f8087cf",
              "status": "affected",
              "version": "44b23b488d44e56d467764ecb661830e5b02b308",
              "versionType": "git"
            },
            {
              "lessThan": "9acdec72787af1bc8ed92711b52118c8e3e638a2",
              "status": "affected",
              "version": "44b23b488d44e56d467764ecb661830e5b02b308",
              "versionType": "git"
            },
            {
              "lessThan": "c766e37fccd5a5c5059be7efcd9618bf8a2c17c3",
              "status": "affected",
              "version": "44b23b488d44e56d467764ecb661830e5b02b308",
              "versionType": "git"
            },
            {
              "lessThan": "0af54343a76263a12dbae7fafb64eb47c4a6ad38",
              "status": "affected",
              "version": "44b23b488d44e56d467764ecb661830e5b02b308",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/wireless/ath/ath9k/hif_usb.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "2.6.38"
            },
            {
              "lessThan": "2.6.38",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.276",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.235",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.173",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.99",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.16",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.2.*",
              "status": "unaffected",
              "version": "6.2.3",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.276",
                  "versionStartIncluding": "2.6.38",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.235",
                  "versionStartIncluding": "2.6.38",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.173",
                  "versionStartIncluding": "2.6.38",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.99",
                  "versionStartIncluding": "2.6.38",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.16",
                  "versionStartIncluding": "2.6.38",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.2.3",
                  "versionStartIncluding": "2.6.38",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.3",
                  "versionStartIncluding": "2.6.38",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: ath9k: hif_usb: clean up skbs if ath9k_hif_usb_rx_stream() fails\n\nSyzkaller detected a memory leak of skbs in ath9k_hif_usb_rx_stream().\nWhile processing skbs in ath9k_hif_usb_rx_stream(), the already allocated\nskbs in skb_pool are not freed if ath9k_hif_usb_rx_stream() fails. If we\nhave an incorrect pkt_len or pkt_tag, the input skb is considered invalid\nand dropped. All the associated packets already in skb_pool should be\ndropped and freed. Added a comment describing this issue.\n\nThe patch also makes remain_skb NULL after being processed so that it\ncannot be referenced after potential free. The initialization of hif_dev\nfields which are associated with remain_skb (rx_remain_len,\nrx_transfer_len and rx_pad_len) is moved after a new remain_skb is\nallocated.\n\nFound by Linux Verification Center (linuxtesting.org) with Syzkaller."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-09-15T14:21:27.451Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/3fc6401fafde11712a83089fa2cc874cfd10e2cd"
        },
        {
          "url": "https://git.kernel.org/stable/c/cd8316767099920a5d41feed1afab0c482a43e9f"
        },
        {
          "url": "https://git.kernel.org/stable/c/f26dd69f61eff2eedf5df2d199bdd23108309947"
        },
        {
          "url": "https://git.kernel.org/stable/c/61490d2710277e8a55009b7682456ae22f8087cf"
        },
        {
          "url": "https://git.kernel.org/stable/c/9acdec72787af1bc8ed92711b52118c8e3e638a2"
        },
        {
          "url": "https://git.kernel.org/stable/c/c766e37fccd5a5c5059be7efcd9618bf8a2c17c3"
        },
        {
          "url": "https://git.kernel.org/stable/c/0af54343a76263a12dbae7fafb64eb47c4a6ad38"
        }
      ],
      "title": "wifi: ath9k: hif_usb: clean up skbs if ath9k_hif_usb_rx_stream() fails",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-53199",
    "datePublished": "2025-09-15T14:21:27.451Z",
    "dateReserved": "2025-09-15T13:59:19.067Z",
    "dateUpdated": "2025-09-15T14:21:27.451Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2023-53199\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-09-15T15:15:46.277\",\"lastModified\":\"2025-09-15T15:22:27.090\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nwifi: ath9k: hif_usb: clean up skbs if ath9k_hif_usb_rx_stream() fails\\n\\nSyzkaller detected a memory leak of skbs in ath9k_hif_usb_rx_stream().\\nWhile processing skbs in ath9k_hif_usb_rx_stream(), the already allocated\\nskbs in skb_pool are not freed if ath9k_hif_usb_rx_stream() fails. If we\\nhave an incorrect pkt_len or pkt_tag, the input skb is considered invalid\\nand dropped. All the associated packets already in skb_pool should be\\ndropped and freed. Added a comment describing this issue.\\n\\nThe patch also makes remain_skb NULL after being processed so that it\\ncannot be referenced after potential free. The initialization of hif_dev\\nfields which are associated with remain_skb (rx_remain_len,\\nrx_transfer_len and rx_pad_len) is moved after a new remain_skb is\\nallocated.\\n\\nFound by Linux Verification Center (linuxtesting.org) with Syzkaller.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/0af54343a76263a12dbae7fafb64eb47c4a6ad38\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/3fc6401fafde11712a83089fa2cc874cfd10e2cd\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/61490d2710277e8a55009b7682456ae22f8087cf\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/9acdec72787af1bc8ed92711b52118c8e3e638a2\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c766e37fccd5a5c5059be7efcd9618bf8a2c17c3\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/cd8316767099920a5d41feed1afab0c482a43e9f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f26dd69f61eff2eedf5df2d199bdd23108309947\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


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.
  • 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…