GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2022-50294 (GCVE-0-2022-50294)

Vulnerability from cvelistv5 – Published: 2025-09-15 14:45 – Updated: 2026-05-11 19:16
VLAI
Title
wifi: libertas: fix memory leak in lbs_init_adapter()
Summary
In the Linux kernel, the following vulnerability has been resolved: wifi: libertas: fix memory leak in lbs_init_adapter() When kfifo_alloc() failed in lbs_init_adapter(), cmd buffer is not released. Add free memory to processing error path.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 7919b89c8276d657976d4d4d6b7cb58ea1aa08c3 , < 4c102ad59bfa66c0f6662af64fa3b9007b02c20f (git)
Affected: 7919b89c8276d657976d4d4d6b7cb58ea1aa08c3 , < 98e0ff6980c89239d9e5d3da90d791c2383dc23a (git)
Affected: 7919b89c8276d657976d4d4d6b7cb58ea1aa08c3 , < 23b34e08de5c2380414c9d3c33e8235094bcccae (git)
Affected: 7919b89c8276d657976d4d4d6b7cb58ea1aa08c3 , < 9c8f50c7433bdfba1588831c413136ecc3f29f99 (git)
Affected: 7919b89c8276d657976d4d4d6b7cb58ea1aa08c3 , < 037f84c0bfae5c436c651d0e804264e2648010ec (git)
Affected: 7919b89c8276d657976d4d4d6b7cb58ea1aa08c3 , < 653d13a73e498d0bb6aeaf689aaa960defa7878b (git)
Affected: 7919b89c8276d657976d4d4d6b7cb58ea1aa08c3 , < d46c33f667b05c22bc5c5b69aa730349c4b6fe31 (git)
Affected: 7919b89c8276d657976d4d4d6b7cb58ea1aa08c3 , < 16a03958618fb91bb1bc7077cf3211055162cc2f (git)
guessed Create a notification for this product.
Linux Linux Affected: 2.6.26
Unaffected: 0 , < 2.6.26 (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)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/wireless/marvell/libertas/main.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "4c102ad59bfa66c0f6662af64fa3b9007b02c20f",
              "status": "affected",
              "version": "7919b89c8276d657976d4d4d6b7cb58ea1aa08c3",
              "versionType": "git"
            },
            {
              "lessThan": "98e0ff6980c89239d9e5d3da90d791c2383dc23a",
              "status": "affected",
              "version": "7919b89c8276d657976d4d4d6b7cb58ea1aa08c3",
              "versionType": "git"
            },
            {
              "lessThan": "23b34e08de5c2380414c9d3c33e8235094bcccae",
              "status": "affected",
              "version": "7919b89c8276d657976d4d4d6b7cb58ea1aa08c3",
              "versionType": "git"
            },
            {
              "lessThan": "9c8f50c7433bdfba1588831c413136ecc3f29f99",
              "status": "affected",
              "version": "7919b89c8276d657976d4d4d6b7cb58ea1aa08c3",
              "versionType": "git"
            },
            {
              "lessThan": "037f84c0bfae5c436c651d0e804264e2648010ec",
              "status": "affected",
              "version": "7919b89c8276d657976d4d4d6b7cb58ea1aa08c3",
              "versionType": "git"
            },
            {
              "lessThan": "653d13a73e498d0bb6aeaf689aaa960defa7878b",
              "status": "affected",
              "version": "7919b89c8276d657976d4d4d6b7cb58ea1aa08c3",
              "versionType": "git"
            },
            {
              "lessThan": "d46c33f667b05c22bc5c5b69aa730349c4b6fe31",
              "status": "affected",
              "version": "7919b89c8276d657976d4d4d6b7cb58ea1aa08c3",
              "versionType": "git"
            },
            {
              "lessThan": "16a03958618fb91bb1bc7077cf3211055162cc2f",
              "status": "affected",
              "version": "7919b89c8276d657976d4d4d6b7cb58ea1aa08c3",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/wireless/marvell/libertas/main.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "2.6.26"
            },
            {
              "lessThan": "2.6.26",
              "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": "2.6.26",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.276",
                  "versionStartIncluding": "2.6.26",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.235",
                  "versionStartIncluding": "2.6.26",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.173",
                  "versionStartIncluding": "2.6.26",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.99",
                  "versionStartIncluding": "2.6.26",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.16",
                  "versionStartIncluding": "2.6.26",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.2.3",
                  "versionStartIncluding": "2.6.26",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.3",
                  "versionStartIncluding": "2.6.26",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: libertas: fix memory leak in lbs_init_adapter()\n\nWhen kfifo_alloc() failed in lbs_init_adapter(), cmd buffer is not\nreleased. Add free memory to processing error path."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-11T19:16:31.892Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/4c102ad59bfa66c0f6662af64fa3b9007b02c20f"
        },
        {
          "url": "https://git.kernel.org/stable/c/98e0ff6980c89239d9e5d3da90d791c2383dc23a"
        },
        {
          "url": "https://git.kernel.org/stable/c/23b34e08de5c2380414c9d3c33e8235094bcccae"
        },
        {
          "url": "https://git.kernel.org/stable/c/9c8f50c7433bdfba1588831c413136ecc3f29f99"
        },
        {
          "url": "https://git.kernel.org/stable/c/037f84c0bfae5c436c651d0e804264e2648010ec"
        },
        {
          "url": "https://git.kernel.org/stable/c/653d13a73e498d0bb6aeaf689aaa960defa7878b"
        },
        {
          "url": "https://git.kernel.org/stable/c/d46c33f667b05c22bc5c5b69aa730349c4b6fe31"
        },
        {
          "url": "https://git.kernel.org/stable/c/16a03958618fb91bb1bc7077cf3211055162cc2f"
        }
      ],
      "title": "wifi: libertas: fix memory leak in lbs_init_adapter()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-50294",
    "datePublished": "2025-09-15T14:45:50.252Z",
    "dateReserved": "2025-09-15T14:18:36.811Z",
    "dateUpdated": "2026-05-11T19:16:31.892Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2022-50294",
      "date": "2026-09-19",
      "epss": "0.00156",
      "percentile": "0.05159"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "drivers/net/wireless/marvell/libertas/main.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "4c102ad59bfa66c0f6662af64fa3b9007b02c20f",
                    "status": "affected",
                    "version": "7919b89c8276d657976d4d4d6b7cb58ea1aa08c3",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "98e0ff6980c89239d9e5d3da90d791c2383dc23a",
                    "status": "affected",
                    "version": "7919b89c8276d657976d4d4d6b7cb58ea1aa08c3",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "23b34e08de5c2380414c9d3c33e8235094bcccae",
                    "status": "affected",
                    "version": "7919b89c8276d657976d4d4d6b7cb58ea1aa08c3",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "9c8f50c7433bdfba1588831c413136ecc3f29f99",
                    "status": "affected",
                    "version": "7919b89c8276d657976d4d4d6b7cb58ea1aa08c3",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "037f84c0bfae5c436c651d0e804264e2648010ec",
                    "status": "affected",
                    "version": "7919b89c8276d657976d4d4d6b7cb58ea1aa08c3",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "653d13a73e498d0bb6aeaf689aaa960defa7878b",
                    "status": "affected",
                    "version": "7919b89c8276d657976d4d4d6b7cb58ea1aa08c3",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "d46c33f667b05c22bc5c5b69aa730349c4b6fe31",
                    "status": "affected",
                    "version": "7919b89c8276d657976d4d4d6b7cb58ea1aa08c3",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "16a03958618fb91bb1bc7077cf3211055162cc2f",
                    "status": "affected",
                    "version": "7919b89c8276d657976d4d4d6b7cb58ea1aa08c3",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "drivers/net/wireless/marvell/libertas/main.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "2.6.26"
                  },
                  {
                    "lessThan": "2.6.26",
                    "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"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "D401D86C-6019-4095-9535-6970C4B8FC7A",
                    "versionEndExcluding": "4.14.308",
                    "versionStartIncluding": "2.6.26",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "C902FC54-DDBD-4DA6-BFEF-26889A267464",
                    "versionEndExcluding": "4.19.276",
                    "versionStartIncluding": "4.15",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "13DD5E68-8CB4-46EE-9A8F-C7F6C1A84430",
                    "versionEndExcluding": "5.4.235",
                    "versionStartIncluding": "4.20",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "4D810CFB-B7C5-493C-B98A-0D5F0D8A47B6",
                    "versionEndExcluding": "5.10.173",
                    "versionStartIncluding": "5.5",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "5B8B2AC9-2F31-4A0F-96F5-7E26B50B27BB",
                    "versionEndExcluding": "5.15.99",
                    "versionStartIncluding": "5.11",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "0FD95FDA-6525-4B13-B3FB-49D9995FD8ED",
                    "versionEndExcluding": "6.1.16",
                    "versionStartIncluding": "5.16",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "88C67289-22AD-4CA9-B202-5F5A80E5BA4B",
                    "versionEndExcluding": "6.2.3",
                    "versionStartIncluding": "6.2",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: libertas: fix memory leak in lbs_init_adapter()\n\nWhen kfifo_alloc() failed in lbs_init_adapter(), cmd buffer is not\nreleased. Add free memory to processing error path."
          }
        ],
        "id": "CVE-2022-50294",
        "lastModified": "2026-06-17T05:23:10.337",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 5.5,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "NONE",
                "integrityImpact": "NONE",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 3.6,
              "source": "nvd@nist.gov",
              "type": "Primary"
            }
          ]
        },
        "published": "2025-09-15T15:15:40.757",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/037f84c0bfae5c436c651d0e804264e2648010ec"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/16a03958618fb91bb1bc7077cf3211055162cc2f"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/23b34e08de5c2380414c9d3c33e8235094bcccae"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/4c102ad59bfa66c0f6662af64fa3b9007b02c20f"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/653d13a73e498d0bb6aeaf689aaa960defa7878b"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/98e0ff6980c89239d9e5d3da90d791c2383dc23a"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/9c8f50c7433bdfba1588831c413136ecc3f29f99"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/d46c33f667b05c22bc5c5b69aa730349c4b6fe31"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Analyzed",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-401"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      }
    },
    "redhat_vex": {
      "aggregate_severity": "None",
      "current_release_date": "2026-06-30T10:30:05+00:00",
      "cve": "CVE-2022-50294",
      "id": "CVE-2022-50294",
      "initial_release_date": "2022-01-01T00:00:00+00:00",
      "product_status:known_not_affected": "274",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: wifi: libertas: fix memory leak in lbs_init_adapter()",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-50294.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

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…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…