{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2022-50294",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2025-09-15T14:18:36.811Z",
        "datePublished": "2025-09-15T14:45:50.252Z",
        "dateUpdated": "2026-05-11T19:16:31.892Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-05-11T19:16:31.892Z"
            },
            "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."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/net/wireless/marvell/libertas/main.c"
                    ],
                    "versions": [
                        {
                            "version": "7919b89c8276d657976d4d4d6b7cb58ea1aa08c3",
                            "lessThan": "4c102ad59bfa66c0f6662af64fa3b9007b02c20f",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "7919b89c8276d657976d4d4d6b7cb58ea1aa08c3",
                            "lessThan": "98e0ff6980c89239d9e5d3da90d791c2383dc23a",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "7919b89c8276d657976d4d4d6b7cb58ea1aa08c3",
                            "lessThan": "23b34e08de5c2380414c9d3c33e8235094bcccae",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "7919b89c8276d657976d4d4d6b7cb58ea1aa08c3",
                            "lessThan": "9c8f50c7433bdfba1588831c413136ecc3f29f99",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "7919b89c8276d657976d4d4d6b7cb58ea1aa08c3",
                            "lessThan": "037f84c0bfae5c436c651d0e804264e2648010ec",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "7919b89c8276d657976d4d4d6b7cb58ea1aa08c3",
                            "lessThan": "653d13a73e498d0bb6aeaf689aaa960defa7878b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "7919b89c8276d657976d4d4d6b7cb58ea1aa08c3",
                            "lessThan": "d46c33f667b05c22bc5c5b69aa730349c4b6fe31",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "7919b89c8276d657976d4d4d6b7cb58ea1aa08c3",
                            "lessThan": "16a03958618fb91bb1bc7077cf3211055162cc2f",
                            "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/marvell/libertas/main.c"
                    ],
                    "versions": [
                        {
                            "version": "2.6.26",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "2.6.26",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "4.14.308",
                            "lessThanOrEqual": "4.14.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "4.19.276",
                            "lessThanOrEqual": "4.19.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.4.235",
                            "lessThanOrEqual": "5.4.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.173",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.99",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.16",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.2.3",
                            "lessThanOrEqual": "6.2.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.3",
                            "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": "2.6.26",
                                    "versionEndExcluding": "4.14.308"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.26",
                                    "versionEndExcluding": "4.19.276"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.26",
                                    "versionEndExcluding": "5.4.235"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.26",
                                    "versionEndExcluding": "5.10.173"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.26",
                                    "versionEndExcluding": "5.15.99"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.26",
                                    "versionEndExcluding": "6.1.16"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.26",
                                    "versionEndExcluding": "6.2.3"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.26",
                                    "versionEndExcluding": "6.3"
                                }
                            ]
                        }
                    ]
                }
            ],
            "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"
            }
        }
    }
}