CVE-2024-38542

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-38542
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-38542.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-38542
Downstream
Published
2024-06-19T13:35:17Z
Modified
2025-10-21T22:28:11.928607Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H CVSS Calculator
Summary
RDMA/mana_ib: boundary check before installing cq callbacks
Details

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

RDMA/mana_ib: boundary check before installing cq callbacks

Add a boundary check inside manaibinstallcqcb to prevent index overflow.

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
cf9cc859d6ff37ce52c09dfbb169b9ee25595a3f
Fixed
f12afddfb142587d786df9e3cc4862190d3e2ec8
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
2a31c5a7e0d87959a03e846523013c75f4395a91
Fixed
168f6fbde0eabd71d1f4133df7d001a950b96977
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
2a31c5a7e0d87959a03e846523013c75f4395a91
Fixed
f79edef79b6a2161f4124112f9b0c46891bb0b74

Affected versions

v6.*

v6.8
v6.8-rc2
v6.8-rc3
v6.8-rc4
v6.8-rc5
v6.8-rc6
v6.8-rc7
v6.8.10
v6.8.11
v6.8.2
v6.8.3
v6.8.4
v6.8.5
v6.8.6
v6.8.7
v6.8.8
v6.8.9
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

Database specific

vanir_signatures

[
    {
        "signature_type": "Line",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "38789086856306125119111557274464972625",
                "282593175176160652065210194160070003493",
                "75191523463053490486178158984775190599"
            ]
        },
        "target": {
            "file": "drivers/infiniband/hw/mana/cq.c"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f79edef79b6a2161f4124112f9b0c46891bb0b74",
        "id": "CVE-2024-38542-537f7577",
        "deprecated": false,
        "signature_version": "v1"
    },
    {
        "signature_type": "Line",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "38789086856306125119111557274464972625",
                "282593175176160652065210194160070003493",
                "75191523463053490486178158984775190599"
            ]
        },
        "target": {
            "file": "drivers/infiniband/hw/mana/cq.c"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@168f6fbde0eabd71d1f4133df7d001a950b96977",
        "id": "CVE-2024-38542-551691fd",
        "deprecated": false,
        "signature_version": "v1"
    },
    {
        "signature_type": "Line",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "38789086856306125119111557274464972625",
                "282593175176160652065210194160070003493",
                "75191523463053490486178158984775190599"
            ]
        },
        "target": {
            "file": "drivers/infiniband/hw/mana/cq.c"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f12afddfb142587d786df9e3cc4862190d3e2ec8",
        "id": "CVE-2024-38542-67ae2730",
        "deprecated": false,
        "signature_version": "v1"
    },
    {
        "signature_type": "Function",
        "digest": {
            "function_hash": "179958501015756533099221106740362371553",
            "length": 435.0
        },
        "target": {
            "file": "drivers/infiniband/hw/mana/cq.c",
            "function": "mana_ib_install_cq_cb"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@168f6fbde0eabd71d1f4133df7d001a950b96977",
        "id": "CVE-2024-38542-9729e37c",
        "deprecated": false,
        "signature_version": "v1"
    },
    {
        "signature_type": "Function",
        "digest": {
            "function_hash": "179958501015756533099221106740362371553",
            "length": 435.0
        },
        "target": {
            "file": "drivers/infiniband/hw/mana/cq.c",
            "function": "mana_ib_install_cq_cb"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f79edef79b6a2161f4124112f9b0c46891bb0b74",
        "id": "CVE-2024-38542-c13ebc91",
        "deprecated": false,
        "signature_version": "v1"
    },
    {
        "signature_type": "Function",
        "digest": {
            "function_hash": "179958501015756533099221106740362371553",
            "length": 435.0
        },
        "target": {
            "file": "drivers/infiniband/hw/mana/cq.c",
            "function": "mana_ib_install_cq_cb"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f12afddfb142587d786df9e3cc4862190d3e2ec8",
        "id": "CVE-2024-38542-e4d37651",
        "deprecated": false,
        "signature_version": "v1"
    }
]

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.8.12
Type
ECOSYSTEM
Events
Introduced
6.9.0
Fixed
6.9.3