CVE-2022-50321 (GCVE-0-2022-50321)

Vulnerability from cvelistv5 – Published: 2025-09-15 14:48 – Updated: 2025-09-15 14:48
VLAI?
Title
wifi: brcmfmac: fix potential memory leak in brcmf_netdev_start_xmit()
Summary
In the Linux kernel, the following vulnerability has been resolved: wifi: brcmfmac: fix potential memory leak in brcmf_netdev_start_xmit() The brcmf_netdev_start_xmit() returns NETDEV_TX_OK without freeing skb in case of pskb_expand_head() fails, add dev_kfree_skb() to fix it. Compile tested only.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 270a6c1f65fe68a28a5d39cd405592c550b496c7 , < 4c55fdebc1c358de96bfab52ed309d58a3ba66ef (git)
Affected: 270a6c1f65fe68a28a5d39cd405592c550b496c7 , < e5d01e85cf46628647cd696cb72ba4659b18967f (git)
Affected: 270a6c1f65fe68a28a5d39cd405592c550b496c7 , < d869a189505224601e310c7769cb90b0e2f60b31 (git)
Affected: 270a6c1f65fe68a28a5d39cd405592c550b496c7 , < e08e6812efb6a8c676e733de0518594d1517e0d9 (git)
Affected: 270a6c1f65fe68a28a5d39cd405592c550b496c7 , < e8ef89e5b89ee041a94eecfb6c31fcc237f9168c (git)
Affected: 270a6c1f65fe68a28a5d39cd405592c550b496c7 , < 7f159116d620615779adbf88a5d94713702216d8 (git)
Affected: 270a6c1f65fe68a28a5d39cd405592c550b496c7 , < 3a4d18318f473e97d628f410215b3fac32d07aed (git)
Affected: 270a6c1f65fe68a28a5d39cd405592c550b496c7 , < 212fde3fe76e962598ce1d47b97cc78afdfc71b3 (git)
Create a notification for this product.
    Linux Linux Affected: 4.13
Unaffected: 0 , < 4.13 (semver)
Unaffected: 4.14.308 , ≤ 4.14.* (semver)
Unaffected: 4.19.276 , ≤ 4.19.* (semver)
Unaffected: 5.4.235 , ≤ 5.4.* (semver)
Unaffected: 5.10.173 , ≤ 5.10.* (semver)
Unaffected: 5.15.99 , ≤ 5.15.* (semver)
Unaffected: 6.1.16 , ≤ 6.1.* (semver)
Unaffected: 6.2.3 , ≤ 6.2.* (semver)
Unaffected: 6.3 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "4c55fdebc1c358de96bfab52ed309d58a3ba66ef",
              "status": "affected",
              "version": "270a6c1f65fe68a28a5d39cd405592c550b496c7",
              "versionType": "git"
            },
            {
              "lessThan": "e5d01e85cf46628647cd696cb72ba4659b18967f",
              "status": "affected",
              "version": "270a6c1f65fe68a28a5d39cd405592c550b496c7",
              "versionType": "git"
            },
            {
              "lessThan": "d869a189505224601e310c7769cb90b0e2f60b31",
              "status": "affected",
              "version": "270a6c1f65fe68a28a5d39cd405592c550b496c7",
              "versionType": "git"
            },
            {
              "lessThan": "e08e6812efb6a8c676e733de0518594d1517e0d9",
              "status": "affected",
              "version": "270a6c1f65fe68a28a5d39cd405592c550b496c7",
              "versionType": "git"
            },
            {
              "lessThan": "e8ef89e5b89ee041a94eecfb6c31fcc237f9168c",
              "status": "affected",
              "version": "270a6c1f65fe68a28a5d39cd405592c550b496c7",
              "versionType": "git"
            },
            {
              "lessThan": "7f159116d620615779adbf88a5d94713702216d8",
              "status": "affected",
              "version": "270a6c1f65fe68a28a5d39cd405592c550b496c7",
              "versionType": "git"
            },
            {
              "lessThan": "3a4d18318f473e97d628f410215b3fac32d07aed",
              "status": "affected",
              "version": "270a6c1f65fe68a28a5d39cd405592c550b496c7",
              "versionType": "git"
            },
            {
              "lessThan": "212fde3fe76e962598ce1d47b97cc78afdfc71b3",
              "status": "affected",
              "version": "270a6c1f65fe68a28a5d39cd405592c550b496c7",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.13"
            },
            {
              "lessThan": "4.13",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.308",
              "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.14.308",
                  "versionStartIncluding": "4.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.276",
                  "versionStartIncluding": "4.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.235",
                  "versionStartIncluding": "4.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.173",
                  "versionStartIncluding": "4.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.99",
                  "versionStartIncluding": "4.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.16",
                  "versionStartIncluding": "4.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.2.3",
                  "versionStartIncluding": "4.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.3",
                  "versionStartIncluding": "4.13",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: brcmfmac: fix potential memory leak in brcmf_netdev_start_xmit()\n\nThe brcmf_netdev_start_xmit() returns NETDEV_TX_OK without freeing skb\nin case of pskb_expand_head() fails, add dev_kfree_skb() to fix it.\nCompile tested only."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-09-15T14:48:54.808Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/4c55fdebc1c358de96bfab52ed309d58a3ba66ef"
        },
        {
          "url": "https://git.kernel.org/stable/c/e5d01e85cf46628647cd696cb72ba4659b18967f"
        },
        {
          "url": "https://git.kernel.org/stable/c/d869a189505224601e310c7769cb90b0e2f60b31"
        },
        {
          "url": "https://git.kernel.org/stable/c/e08e6812efb6a8c676e733de0518594d1517e0d9"
        },
        {
          "url": "https://git.kernel.org/stable/c/e8ef89e5b89ee041a94eecfb6c31fcc237f9168c"
        },
        {
          "url": "https://git.kernel.org/stable/c/7f159116d620615779adbf88a5d94713702216d8"
        },
        {
          "url": "https://git.kernel.org/stable/c/3a4d18318f473e97d628f410215b3fac32d07aed"
        },
        {
          "url": "https://git.kernel.org/stable/c/212fde3fe76e962598ce1d47b97cc78afdfc71b3"
        }
      ],
      "title": "wifi: brcmfmac: fix potential memory leak in brcmf_netdev_start_xmit()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-50321",
    "datePublished": "2025-09-15T14:48:54.808Z",
    "dateReserved": "2025-09-15T14:18:36.814Z",
    "dateUpdated": "2025-09-15T14:48:54.808Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1"
}


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 observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…