CVE-2024-58062

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-58062
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-58062.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-58062
Downstream
Related
Published
2025-03-06T15:54:04.590Z
Modified
2025-11-20T07:53:10.590083Z
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: iwlwifi: mvm: avoid NULL pointer dereference
Details

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

wifi: iwlwifi: mvm: avoid NULL pointer dereference

When iterating over the links of a vif, we need to make sure that the pointer is valid (in other words - that the link exists) before dereferncing it. Use foreachvifactivelink that also does the check.

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
2b7ee1a10a72ef8f3df621133ac04e80e8214037
Fixed
fbb563ad5032a07ac83c746ce5c8de5f25b5ffd0
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
2b7ee1a10a72ef8f3df621133ac04e80e8214037
Fixed
7f6fb4b7611eb6371c493c42fefad84a1742bcbb
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
2b7ee1a10a72ef8f3df621133ac04e80e8214037
Fixed
cf704a7624f99eb2ffca1a16c69183e85544a613

Affected versions

v6.*

v6.11
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": "Line",
        "signature_version": "v1",
        "id": "CVE-2024-58062-209eb89c",
        "digest": {
            "line_hashes": [
                "101660891173093355708161333152379164296",
                "67774130312209086859569414414389797524",
                "55456297983504227037787164190990085043",
                "236223234343565149745437884206581730597",
                "103792894629523381408865620073213807418",
                "150361833600260143931016878498809953442",
                "126111236224086439326434676361891521545",
                "187700620683710146941359160617736097438",
                "36338851657797598904534546548080634076",
                "192219910001968505433118753934670535016",
                "305143971795823859357109087483055350380",
                "30675528517099442313739548507736441651",
                "280145178693341291434580188561345199630"
            ],
            "threshold": 0.9
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cf704a7624f99eb2ffca1a16c69183e85544a613",
        "deprecated": false,
        "target": {
            "file": "drivers/net/wireless/intel/iwlwifi/mvm/coex.c"
        }
    },
    {
        "signature_type": "Function",
        "signature_version": "v1",
        "id": "CVE-2024-58062-a1e0b8ec",
        "digest": {
            "length": 515.0,
            "function_hash": "90194934109630646446802323008259572315"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7f6fb4b7611eb6371c493c42fefad84a1742bcbb",
        "deprecated": false,
        "target": {
            "file": "drivers/net/wireless/intel/iwlwifi/mvm/coex.c",
            "function": "iwl_mvm_bt_coex_notif_iterator"
        }
    },
    {
        "signature_type": "Function",
        "signature_version": "v1",
        "id": "CVE-2024-58062-c3601ab8",
        "digest": {
            "length": 515.0,
            "function_hash": "90194934109630646446802323008259572315"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fbb563ad5032a07ac83c746ce5c8de5f25b5ffd0",
        "deprecated": false,
        "target": {
            "file": "drivers/net/wireless/intel/iwlwifi/mvm/coex.c",
            "function": "iwl_mvm_bt_coex_notif_iterator"
        }
    },
    {
        "signature_type": "Function",
        "signature_version": "v1",
        "id": "CVE-2024-58062-ca944336",
        "digest": {
            "length": 515.0,
            "function_hash": "90194934109630646446802323008259572315"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cf704a7624f99eb2ffca1a16c69183e85544a613",
        "deprecated": false,
        "target": {
            "file": "drivers/net/wireless/intel/iwlwifi/mvm/coex.c",
            "function": "iwl_mvm_bt_coex_notif_iterator"
        }
    },
    {
        "signature_type": "Line",
        "signature_version": "v1",
        "id": "CVE-2024-58062-cb127ea5",
        "digest": {
            "line_hashes": [
                "101660891173093355708161333152379164296",
                "67774130312209086859569414414389797524",
                "55456297983504227037787164190990085043",
                "236223234343565149745437884206581730597",
                "103792894629523381408865620073213807418",
                "150361833600260143931016878498809953442",
                "126111236224086439326434676361891521545",
                "187700620683710146941359160617736097438",
                "36338851657797598904534546548080634076",
                "192219910001968505433118753934670535016",
                "305143971795823859357109087483055350380",
                "30675528517099442313739548507736441651",
                "280145178693341291434580188561345199630"
            ],
            "threshold": 0.9
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7f6fb4b7611eb6371c493c42fefad84a1742bcbb",
        "deprecated": false,
        "target": {
            "file": "drivers/net/wireless/intel/iwlwifi/mvm/coex.c"
        }
    },
    {
        "signature_type": "Line",
        "signature_version": "v1",
        "id": "CVE-2024-58062-f03e8b03",
        "digest": {
            "line_hashes": [
                "101660891173093355708161333152379164296",
                "67774130312209086859569414414389797524",
                "55456297983504227037787164190990085043",
                "236223234343565149745437884206581730597",
                "103792894629523381408865620073213807418",
                "150361833600260143931016878498809953442",
                "126111236224086439326434676361891521545",
                "187700620683710146941359160617736097438",
                "36338851657797598904534546548080634076",
                "192219910001968505433118753934670535016",
                "305143971795823859357109087483055350380",
                "30675528517099442313739548507736441651",
                "280145178693341291434580188561345199630"
            ],
            "threshold": 0.9
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fbb563ad5032a07ac83c746ce5c8de5f25b5ffd0",
        "deprecated": false,
        "target": {
            "file": "drivers/net/wireless/intel/iwlwifi/mvm/coex.c"
        }
    }
]

Linux / Kernel

Package

Name
Kernel

Affected ranges

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