CVE-2024-42125

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-42125
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-42125.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-42125
Downstream
Related
Published
2024-07-30T07:46:22Z
Modified
2025-10-17T09:05:40.057078Z
Summary
wifi: rtw89: fw: scan offload prohibit all 6 GHz channel if no 6 GHz sband
Details

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

wifi: rtw89: fw: scan offload prohibit all 6 GHz channel if no 6 GHz sband

We have some policy via BIOS to block uses of 6 GHz. In this case, 6 GHz sband will be NULL even if it is WiFi 7 chip. So, add NULL handling here to avoid crash.

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
4ba24331c973eb1df0d3b67b0e3f8b7cde7765a7
Fixed
ce4ba62f8bc5195a9a0d49c6235a9c99e619cadc
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
4ba24331c973eb1df0d3b67b0e3f8b7cde7765a7
Fixed
bb38626f3f97e16e6d368a9ff6daf320f3fe31d9

Affected versions

v6.*

v6.8
v6.8-rc2
v6.8-rc3
v6.8-rc4
v6.8-rc5
v6.8-rc6
v6.8-rc7
v6.9
v6.9-rc1
v6.9-rc2
v6.9-rc3
v6.9-rc4
v6.9-rc5
v6.9-rc6
v6.9-rc7
v6.9.1
v6.9.2
v6.9.3
v6.9.4
v6.9.5
v6.9.6
v6.9.7
v6.9.8

Database specific

vanir_signatures

[
    {
        "signature_type": "Function",
        "target": {
            "function": "rtw89_scan_get_6g_disabled_chan",
            "file": "drivers/net/wireless/realtek/rtw89/fw.c"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bb38626f3f97e16e6d368a9ff6daf320f3fe31d9",
        "deprecated": false,
        "id": "CVE-2024-42125-35b0eb8c",
        "signature_version": "v1",
        "digest": {
            "length": 383.0,
            "function_hash": "174794912769533290443961525122695877427"
        }
    },
    {
        "signature_type": "Line",
        "target": {
            "file": "drivers/net/wireless/realtek/rtw89/fw.c"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ce4ba62f8bc5195a9a0d49c6235a9c99e619cadc",
        "deprecated": false,
        "id": "CVE-2024-42125-4b6ce356",
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "265293873447902673825298205454554602461",
                "132943951986367165633317955052459921293",
                "207407153257960400655001127034876845043",
                "262234632981967569610309951972820891427"
            ],
            "threshold": 0.9
        }
    },
    {
        "signature_type": "Line",
        "target": {
            "file": "drivers/net/wireless/realtek/rtw89/fw.c"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bb38626f3f97e16e6d368a9ff6daf320f3fe31d9",
        "deprecated": false,
        "id": "CVE-2024-42125-839c0608",
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "265293873447902673825298205454554602461",
                "132943951986367165633317955052459921293",
                "207407153257960400655001127034876845043",
                "262234632981967569610309951972820891427"
            ],
            "threshold": 0.9
        }
    },
    {
        "signature_type": "Function",
        "target": {
            "function": "rtw89_scan_get_6g_disabled_chan",
            "file": "drivers/net/wireless/realtek/rtw89/fw.c"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ce4ba62f8bc5195a9a0d49c6235a9c99e619cadc",
        "deprecated": false,
        "id": "CVE-2024-42125-890f02cf",
        "signature_version": "v1",
        "digest": {
            "length": 383.0,
            "function_hash": "174794912769533290443961525122695877427"
        }
    }
]

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.9.0
Fixed
6.9.9