CVE-2024-27048

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-27048
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-27048.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-27048
Downstream
Related
Published
2024-05-01T12:54:28Z
Modified
2025-10-21T20:23:16.350006Z
Summary
wifi: brcm80211: handle pmk_op allocation failure
Details

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

wifi: brcm80211: handle pmk_op allocation failure

The kzalloc() in brcmfpmksav3_op() will return null if the physical memory has run out. As a result, if we dereference the null value, the null pointer dereference bug will happen.

Return -ENOMEM from brcmfpmksav3op() if kzalloc() fails for pmkop.

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
a96202acaea47fa8377088e0952bb63bd02a3bab
Fixed
df62e22c2e27420e8990a4f09e30d7bf56c2036f
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a96202acaea47fa8377088e0952bb63bd02a3bab
Fixed
9975908315c13bae2f2ed5ba92870fa935180b0e
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a96202acaea47fa8377088e0952bb63bd02a3bab
Fixed
6138a82f3bccfc67ed7ac059493579fc326c02e5
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a96202acaea47fa8377088e0952bb63bd02a3bab
Fixed
b4152222e04cb8afeeca239c90e3fcaf4c553b42

Affected versions

v6.*

v6.2
v6.3
v6.3-rc1
v6.3-rc2
v6.3-rc3
v6.3-rc4
v6.3-rc5
v6.3-rc6
v6.3-rc7
v6.4
v6.4-rc1
v6.4-rc2
v6.4-rc3
v6.4-rc4
v6.4-rc5
v6.4-rc6
v6.4-rc7
v6.5
v6.5-rc1
v6.5-rc2
v6.5-rc3
v6.5-rc4
v6.5-rc5
v6.5-rc6
v6.5-rc7
v6.6
v6.6-rc1
v6.6-rc2
v6.6-rc3
v6.6-rc4
v6.6-rc5
v6.6-rc6
v6.6-rc7
v6.6.1
v6.6.10
v6.6.11
v6.6.12
v6.6.13
v6.6.14
v6.6.15
v6.6.16
v6.6.17
v6.6.18
v6.6.19
v6.6.2
v6.6.20
v6.6.21
v6.6.22
v6.6.3
v6.6.4
v6.6.5
v6.6.6
v6.6.7
v6.6.8
v6.6.9
v6.7
v6.7-rc1
v6.7-rc2
v6.7-rc3
v6.7-rc4
v6.7-rc5
v6.7-rc6
v6.7-rc7
v6.7-rc8
v6.7.1
v6.7.10
v6.7.2
v6.7.3
v6.7.4
v6.7.5
v6.7.6
v6.7.7
v6.7.8
v6.7.9
v6.8
v6.8-rc1
v6.8-rc2
v6.8-rc3
v6.8-rc4
v6.8-rc5
v6.8-rc6
v6.8-rc7
v6.8.1

Database specific

vanir_signatures

[
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b4152222e04cb8afeeca239c90e3fcaf4c553b42",
        "target": {
            "function": "brcmf_pmksa_v3_op",
            "file": "drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c"
        },
        "signature_type": "Function",
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "function_hash": "120884980098900276530385347431009996306",
            "length": 770.0
        },
        "id": "CVE-2024-27048-7462c4c8"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6138a82f3bccfc67ed7ac059493579fc326c02e5",
        "target": {
            "function": "brcmf_pmksa_v3_op",
            "file": "drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c"
        },
        "signature_type": "Function",
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "function_hash": "120884980098900276530385347431009996306",
            "length": 770.0
        },
        "id": "CVE-2024-27048-7acc93b6"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9975908315c13bae2f2ed5ba92870fa935180b0e",
        "target": {
            "file": "drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c"
        },
        "signature_type": "Line",
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "293944734575098697563413318144781010637",
                "317249824330149778897167966933217319181",
                "337407900651346625224246632083789121436",
                "313436322670951527380316871721556687956"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2024-27048-7c4a6ffd"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6138a82f3bccfc67ed7ac059493579fc326c02e5",
        "target": {
            "file": "drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c"
        },
        "signature_type": "Line",
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "293944734575098697563413318144781010637",
                "317249824330149778897167966933217319181",
                "337407900651346625224246632083789121436",
                "313436322670951527380316871721556687956"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2024-27048-b8718212"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b4152222e04cb8afeeca239c90e3fcaf4c553b42",
        "target": {
            "file": "drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c"
        },
        "signature_type": "Line",
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "293944734575098697563413318144781010637",
                "317249824330149778897167966933217319181",
                "337407900651346625224246632083789121436",
                "313436322670951527380316871721556687956"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2024-27048-cee40a20"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9975908315c13bae2f2ed5ba92870fa935180b0e",
        "target": {
            "function": "brcmf_pmksa_v3_op",
            "file": "drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c"
        },
        "signature_type": "Function",
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "function_hash": "120884980098900276530385347431009996306",
            "length": 770.0
        },
        "id": "CVE-2024-27048-fc2dcdf6"
    }
]

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.4.0
Fixed
6.6.23
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.7.11
Type
ECOSYSTEM
Events
Introduced
6.8.0
Fixed
6.8.2