CVE-2022-49230

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-49230
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49230.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-49230
Downstream
Related
Published
2025-02-26T01:55:57Z
Modified
2025-10-21T09:24:05.528770Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
mt76: mt7915: fix possible memory leak in mt7915_mcu_add_sta
Details

In the Linux kernel, the following vulnerability has been resolved:

mt76: mt7915: fix possible memory leak in mt7915mcuadd_sta

Free allocated skb in mt7915mcuadd_sta routine in case of failures.

References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
89bbd3730f382f15cfcc2c9264c65b5901ce02fa
Fixed
daf02c7e3c3dc82ffa925999597bd455cf799551
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
89bbd3730f382f15cfcc2c9264c65b5901ce02fa
Fixed
b334a245ff1d76b1e97af8cea648ea6798b9eb87
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
89bbd3730f382f15cfcc2c9264c65b5901ce02fa
Fixed
a43736cd12d82913102eb49cb56787a5553e028f

Affected versions

v5.*

v5.15
v5.15-rc5
v5.15-rc6
v5.15-rc7
v5.16
v5.16-rc1
v5.16-rc2
v5.16-rc3
v5.16-rc4
v5.16-rc5
v5.16-rc6
v5.16-rc7
v5.16-rc8
v5.16.1
v5.16.10
v5.16.11
v5.16.12
v5.16.13
v5.16.14
v5.16.15
v5.16.16
v5.16.17
v5.16.18
v5.16.2
v5.16.3
v5.16.4
v5.16.5
v5.16.6
v5.16.7
v5.16.8
v5.16.9
v5.17
v5.17-rc1
v5.17-rc2
v5.17-rc3
v5.17-rc4
v5.17-rc5
v5.17-rc6
v5.17-rc7
v5.17-rc8
v5.17.1

Database specific

vanir_signatures

[
    {
        "id": "CVE-2022-49230-2a3194b3",
        "signature_version": "v1",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@daf02c7e3c3dc82ffa925999597bd455cf799551",
        "signature_type": "Function",
        "digest": {
            "function_hash": "187059020570520984385914864887010137942",
            "length": 1027.0
        },
        "deprecated": false,
        "target": {
            "file": "drivers/net/wireless/mediatek/mt76/mt7915/mcu.c",
            "function": "mt7915_mcu_add_sta"
        }
    },
    {
        "id": "CVE-2022-49230-6da9a8eb",
        "signature_version": "v1",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a43736cd12d82913102eb49cb56787a5553e028f",
        "signature_type": "Line",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "131727708533993442974301907960880863255",
                "96898526581221041798647168356336436989",
                "240054330846239404882571409876001119172",
                "234692666449803869760814189016464040124",
                "329891506452671615071144103806977822393",
                "49488641466770025754879993521171865159",
                "227882585395299918316072073534752383113",
                "167513890052545797146550251547852433824",
                "36439731312194997392705457681331290867",
                "121626953927637598391044280006959825125"
            ]
        },
        "deprecated": false,
        "target": {
            "file": "drivers/net/wireless/mediatek/mt76/mt7915/mcu.c"
        }
    },
    {
        "id": "CVE-2022-49230-8cf06682",
        "signature_version": "v1",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b334a245ff1d76b1e97af8cea648ea6798b9eb87",
        "signature_type": "Line",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "189541008537056901677398456373966136627",
                "96898526581221041798647168356336436989",
                "240054330846239404882571409876001119172",
                "234692666449803869760814189016464040124",
                "329891506452671615071144103806977822393",
                "49488641466770025754879993521171865159",
                "227882585395299918316072073534752383113",
                "167513890052545797146550251547852433824",
                "36439731312194997392705457681331290867",
                "121626953927637598391044280006959825125"
            ]
        },
        "deprecated": false,
        "target": {
            "file": "drivers/net/wireless/mediatek/mt76/mt7915/mcu.c"
        }
    },
    {
        "id": "CVE-2022-49230-d4fba941",
        "signature_version": "v1",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a43736cd12d82913102eb49cb56787a5553e028f",
        "signature_type": "Function",
        "digest": {
            "function_hash": "323044417233070461816564778348089501556",
            "length": 1035.0
        },
        "deprecated": false,
        "target": {
            "file": "drivers/net/wireless/mediatek/mt76/mt7915/mcu.c",
            "function": "mt7915_mcu_add_sta"
        }
    },
    {
        "id": "CVE-2022-49230-df004069",
        "signature_version": "v1",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b334a245ff1d76b1e97af8cea648ea6798b9eb87",
        "signature_type": "Function",
        "digest": {
            "function_hash": "235152863300049833011900716681147753039",
            "length": 1032.0
        },
        "deprecated": false,
        "target": {
            "file": "drivers/net/wireless/mediatek/mt76/mt7915/mcu.c",
            "function": "mt7915_mcu_add_sta"
        }
    },
    {
        "id": "CVE-2022-49230-e2e6ed47",
        "signature_version": "v1",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@daf02c7e3c3dc82ffa925999597bd455cf799551",
        "signature_type": "Line",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "189541008537056901677398456373966136627",
                "96898526581221041798647168356336436989",
                "240054330846239404882571409876001119172",
                "234692666449803869760814189016464040124",
                "329891506452671615071144103806977822393",
                "49488641466770025754879993521171865159",
                "227882585395299918316072073534752383113",
                "167513890052545797146550251547852433824",
                "36439731312194997392705457681331290867",
                "121626953927637598391044280006959825125"
            ]
        },
        "deprecated": false,
        "target": {
            "file": "drivers/net/wireless/mediatek/mt76/mt7915/mcu.c"
        }
    }
]

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
5.16.19
Type
ECOSYSTEM
Events
Introduced
5.17.0
Fixed
5.17.2