CVE-2024-56535

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-56535
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-56535.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-56535
Downstream
Related
Published
2024-12-27T14:11:18Z
Modified
2025-10-17T18:09:54.675589Z
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: rtw89: coex: check NULL return of kmalloc in btc_fw_set_monreg()
Details

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

wifi: rtw89: coex: check NULL return of kmalloc in btcfwset_monreg()

kmalloc may fail, return value might be NULL and will cause NULL pointer dereference. Add check NULL return of kmalloc in btcfwset_monreg().

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
b952cb0a6e2d2e6942de3f8c6a1bd985815b9550
Fixed
051577414271961f3f4c3bff87b427924b486219
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
b952cb0a6e2d2e6942de3f8c6a1bd985815b9550
Fixed
64db1a42d98307001a48cec1b3e68ce9f905e73d
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
b952cb0a6e2d2e6942de3f8c6a1bd985815b9550
Fixed
81df5ed446b448bdc327b7c7f0b50121fc1f4aa2

Affected versions

v6.*

v6.10
v6.10-rc1
v6.10-rc2
v6.10-rc3
v6.10-rc4
v6.10-rc5
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.11.1
v6.11.10
v6.11.2
v6.11.3
v6.11.4
v6.11.5
v6.11.6
v6.11.7
v6.11.8
v6.11.9
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.9
v6.9-rc2
v6.9-rc3
v6.9-rc4
v6.9-rc5
v6.9-rc6
v6.9-rc7

Database specific

vanir_signatures

[
    {
        "id": "CVE-2024-56535-17e932bf",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Function",
        "digest": {
            "function_hash": "222494743559013721311726730020670614286",
            "length": 1484.0
        },
        "target": {
            "file": "drivers/net/wireless/realtek/rtw89/coex.c",
            "function": "btc_fw_set_monreg"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@81df5ed446b448bdc327b7c7f0b50121fc1f4aa2"
    },
    {
        "id": "CVE-2024-56535-30e1aa2b",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Function",
        "digest": {
            "function_hash": "222494743559013721311726730020670614286",
            "length": 1484.0
        },
        "target": {
            "file": "drivers/net/wireless/realtek/rtw89/coex.c",
            "function": "btc_fw_set_monreg"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@64db1a42d98307001a48cec1b3e68ce9f905e73d"
    },
    {
        "id": "CVE-2024-56535-5c3ea078",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Line",
        "digest": {
            "line_hashes": [
                "219357832290937309348858732454724939514",
                "251564398982532734553095571091970208269",
                "238632312681682537214384484681601962268",
                "103388710169665882989651623194208903240",
                "212963673098381343815094802165905333428",
                "191276598971628439527724864833953340266",
                "125256270049616076782463007729199405736",
                "105589201926008379832523538442985284238"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "drivers/net/wireless/realtek/rtw89/coex.c"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@051577414271961f3f4c3bff87b427924b486219"
    },
    {
        "id": "CVE-2024-56535-7c4de10c",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Line",
        "digest": {
            "line_hashes": [
                "219357832290937309348858732454724939514",
                "251564398982532734553095571091970208269",
                "238632312681682537214384484681601962268",
                "103388710169665882989651623194208903240",
                "212963673098381343815094802165905333428",
                "191276598971628439527724864833953340266",
                "125256270049616076782463007729199405736",
                "105589201926008379832523538442985284238"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "drivers/net/wireless/realtek/rtw89/coex.c"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@64db1a42d98307001a48cec1b3e68ce9f905e73d"
    },
    {
        "id": "CVE-2024-56535-af639d00",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Line",
        "digest": {
            "line_hashes": [
                "219357832290937309348858732454724939514",
                "251564398982532734553095571091970208269",
                "238632312681682537214384484681601962268",
                "103388710169665882989651623194208903240",
                "212963673098381343815094802165905333428",
                "191276598971628439527724864833953340266",
                "125256270049616076782463007729199405736",
                "105589201926008379832523538442985284238"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "drivers/net/wireless/realtek/rtw89/coex.c"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@81df5ed446b448bdc327b7c7f0b50121fc1f4aa2"
    },
    {
        "id": "CVE-2024-56535-ee1355cb",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Function",
        "digest": {
            "function_hash": "222494743559013721311726730020670614286",
            "length": 1484.0
        },
        "target": {
            "file": "drivers/net/wireless/realtek/rtw89/coex.c",
            "function": "btc_fw_set_monreg"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@051577414271961f3f4c3bff87b427924b486219"
    }
]

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.10.0
Fixed
6.11.11
Type
ECOSYSTEM
Events
Introduced
6.12.0
Fixed
6.12.2