CVE-2024-57989

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-57989
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-57989.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-57989
Downstream
Related
Published
2025-02-27T02:07:12.286Z
Modified
2025-11-20T07:36:34.943004Z
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
wifi: mt76: mt7925: fix NULL deref check in mt7925_change_vif_links
Details

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

wifi: mt76: mt7925: fix NULL deref check in mt7925changevif_links

In mt7925changeviflinks() devmkzalloc() may return NULL but this returned value is not checked.

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
69acd6d910b0c83842bd45c36224d4f8fe59d1d4
Fixed
5872530c2862700070223a2c2ea85642bf2f8875
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
69acd6d910b0c83842bd45c36224d4f8fe59d1d4
Fixed
2f709fe755c16b811ba7339ae4c3ee2c72323d3d
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
69acd6d910b0c83842bd45c36224d4f8fe59d1d4
Fixed
5cd0bd815c8a48862a296df9b30e0ea0da14acd3

Affected versions

v6.*

v6.10
v6.10-rc6
v6.10-rc7
v6.11
v6.11-rc1
v6.11-rc2
v6.11-rc3
v6.11-rc4
v6.11-rc5
v6.11-rc6
v6.11-rc7
v6.12
v6.12-rc1
v6.12-rc2
v6.12-rc3
v6.12-rc4
v6.12-rc5
v6.12-rc6
v6.12-rc7
v6.12.1
v6.12.10
v6.12.11
v6.12.12
v6.12.2
v6.12.3
v6.12.4
v6.12.5
v6.12.6
v6.12.7
v6.12.8
v6.12.9
v6.13
v6.13-rc1
v6.13-rc2
v6.13-rc3
v6.13-rc4
v6.13-rc5
v6.13-rc6
v6.13-rc7
v6.13.1

Database specific

vanir_signatures

[
    {
        "signature_type": "Function",
        "deprecated": false,
        "target": {
            "file": "drivers/net/wireless/mediatek/mt76/mt7925/main.c",
            "function": "mt7925_change_vif_links"
        },
        "digest": {
            "length": 2566.0,
            "function_hash": "278663227852371193958662489211948136296"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2f709fe755c16b811ba7339ae4c3ee2c72323d3d",
        "signature_version": "v1",
        "id": "CVE-2024-57989-047ad308"
    },
    {
        "signature_type": "Line",
        "deprecated": false,
        "target": {
            "file": "drivers/net/wireless/mediatek/mt76/mt7925/main.c"
        },
        "digest": {
            "line_hashes": [
                "70626116822157176576886418902208784708",
                "60749543206942603076017954285466291470",
                "203366092129604207482084603068077059213",
                "240005682004574083869202464515241100687"
            ],
            "threshold": 0.9
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2f709fe755c16b811ba7339ae4c3ee2c72323d3d",
        "signature_version": "v1",
        "id": "CVE-2024-57989-c090201f"
    }
]

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.11.0
Fixed
6.12.13
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.13.2