CVE-2023-53504

Source
https://cve.org/CVERecord?id=CVE-2023-53504
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53504.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-53504
Downstream
Related
Published
2025-10-01T11:45:54.977Z
Modified
2026-02-21T07:24:28.035283Z
Summary
RDMA/bnxt_re: Properly order ib_device_unalloc() to avoid UAF
Details

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

RDMA/bnxtre: Properly order ibdevice_unalloc() to avoid UAF

ibdeallocdevice() should be called only after device cleanup. Fix the dealloc sequence.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53504.json"
}
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
6d758147c7b80a46465f72e9e6294d244ee98a21
Fixed
c95863f6d970ef968e7c1f3c481f72a4b0734654
Fixed
5363fc488da579923edf6a2fdca3d3b651dd800b

Affected versions

v6.*
v6.2
v6.2-rc7
v6.2-rc8
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.4.1
v6.4.10
v6.4.2
v6.4.3
v6.4.4
v6.4.5
v6.4.6
v6.4.7
v6.4.8
v6.4.9
v6.5-rc1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53504.json"
vanir_signatures
[
    {
        "id": "CVE-2023-53504-0100e7f1",
        "target": {
            "function": "bnxt_re_remove",
            "file": "drivers/infiniband/hw/bnxt_re/main.c"
        },
        "signature_version": "v1",
        "deprecated": false,
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c95863f6d970ef968e7c1f3c481f72a4b0734654",
        "digest": {
            "function_hash": "119041180092051050873436265504585587075",
            "length": 409.0
        },
        "signature_type": "Function"
    },
    {
        "id": "CVE-2023-53504-0e416d5e",
        "target": {
            "function": "bnxt_re_remove",
            "file": "drivers/infiniband/hw/bnxt_re/main.c"
        },
        "signature_version": "v1",
        "deprecated": false,
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5363fc488da579923edf6a2fdca3d3b651dd800b",
        "digest": {
            "function_hash": "119041180092051050873436265504585587075",
            "length": 409.0
        },
        "signature_type": "Function"
    },
    {
        "id": "CVE-2023-53504-3011f39a",
        "target": {
            "file": "drivers/infiniband/hw/bnxt_re/main.c"
        },
        "signature_version": "v1",
        "deprecated": false,
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5363fc488da579923edf6a2fdca3d3b651dd800b",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "86627150847329461660919895748630119785",
                "49019723015521871780742331073035338001",
                "206582945748920151253321112807926735023",
                "195175675580878745655418721680781588603",
                "235349539804439685886758421596017488457"
            ]
        },
        "signature_type": "Line"
    },
    {
        "id": "CVE-2023-53504-9af65afa",
        "target": {
            "file": "drivers/infiniband/hw/bnxt_re/main.c"
        },
        "signature_version": "v1",
        "deprecated": false,
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c95863f6d970ef968e7c1f3c481f72a4b0734654",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "86627150847329461660919895748630119785",
                "49019723015521871780742331073035338001",
                "206582945748920151253321112807926735023",
                "195175675580878745655418721680781588603",
                "235349539804439685886758421596017488457"
            ]
        },
        "signature_type": "Line"
    }
]

Git / github.com/gregkh/linux

Affected ranges

Type
GIT
Repo
https://github.com/gregkh/linux
Events

Affected versions

v6.*
v6.3
v6.4
v6.4-rc1
v6.4-rc2
v6.4-rc3
v6.4-rc4
v6.4-rc5
v6.4-rc6
v6.4-rc7
v6.4.1
v6.4.10
v6.4.2
v6.4.3
v6.4.4
v6.4.5
v6.4.6
v6.4.7
v6.4.8
v6.4.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53504.json"