CVE-2023-53036

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-53036
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53036.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-53036
Downstream
Related
Published
2025-05-02T15:54:55Z
Modified
2025-10-15T05:22:31.896922Z
Summary
drm/amdgpu: Fix call trace warning and hang when removing amdgpu device
Details

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

drm/amdgpu: Fix call trace warning and hang when removing amdgpu device

On GPUs with RAS enabled, below call trace and hang are observed when shutting down device.

v2: use DRM device unplugged flag instead of shutdown flag as the check to prevent memory wipe in shutdown stage.

[ +0.000000] RIP: 0010:amdgpuvrammgrfini+0x18d/0x1c0 [amdgpu] [ +0.000001] PKRU: 55555554 [ +0.000001] Call Trace: [ +0.000001] <TASK> [ +0.000002] amdgputtmfini+0x140/0x1c0 [amdgpu] [ +0.000183] amdgpubofini+0x27/0xa0 [amdgpu] [ +0.000184] gmcv110swfini+0x2b/0x40 [amdgpu] [ +0.000163] amdgpudevicefinisw+0xb6/0x510 [amdgpu] [ +0.000152] amdgpudriverreleasekms+0x16/0x30 [amdgpu] [ +0.000090] drmdevrelease+0x28/0x50 [drm] [ +0.000016] devmdrmdevinitrelease+0x38/0x60 [drm] [ +0.000011] devmactionrelease+0x15/0x20 [ +0.000003] releasenodes+0x40/0xc0 [ +0.000001] devresreleaseall+0x9e/0xe0 [ +0.000001] deviceunbindcleanup+0x12/0x80 [ +0.000003] devicereleasedriverinternal+0xff/0x160 [ +0.000001] driverdetach+0x4a/0x90 [ +0.000001] busremovedriver+0x6c/0xf0 [ +0.000001] driverunregister+0x31/0x50 [ +0.000001] pciunregisterdriver+0x40/0x90 [ +0.000003] amdgpuexit+0x15/0x120 [amdgpu]

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
32f90e65251981f061eec883b0fe9e75d74e9665
Fixed
f06b902511ea05526f405ee64da54a8313d91831
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
32f90e65251981f061eec883b0fe9e75d74e9665
Fixed
9a02dae3bbfe2df8e1c81e61a08695709e9588f9
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
32f90e65251981f061eec883b0fe9e75d74e9665
Fixed
93bb18d2a873d2fa9625c8ea927723660a868b95

Affected versions

v5.*

v5.17
v5.17-rc7
v5.17-rc8
v5.18
v5.18-rc1
v5.18-rc2
v5.18-rc3
v5.18-rc4
v5.18-rc5
v5.18-rc6
v5.18-rc7
v5.19
v5.19-rc1
v5.19-rc2
v5.19-rc3
v5.19-rc4
v5.19-rc5
v5.19-rc6
v5.19-rc7
v5.19-rc8

v6.*

v6.0
v6.0-rc1
v6.0-rc2
v6.0-rc3
v6.0-rc4
v6.0-rc5
v6.0-rc6
v6.0-rc7
v6.1
v6.1-rc1
v6.1-rc2
v6.1-rc3
v6.1-rc4
v6.1-rc5
v6.1-rc6
v6.1-rc7
v6.1-rc8
v6.1.1
v6.1.10
v6.1.11
v6.1.12
v6.1.13
v6.1.14
v6.1.15
v6.1.16
v6.1.17
v6.1.18
v6.1.19
v6.1.2
v6.1.20
v6.1.21
v6.1.3
v6.1.4
v6.1.5
v6.1.6
v6.1.7
v6.1.8
v6.1.9
v6.2
v6.2-rc1
v6.2-rc2
v6.2-rc3
v6.2-rc4
v6.2-rc5
v6.2-rc6
v6.2-rc7
v6.2-rc8
v6.2.1
v6.2.2
v6.2.3
v6.2.4
v6.2.5
v6.2.6
v6.2.7
v6.2.8
v6.3-rc1

Database specific

{
    "vanir_signatures": [
        {
            "signature_version": "v1",
            "target": {
                "function": "amdgpu_bo_release_notify",
                "file": "drivers/gpu/drm/amd/amdgpu/amdgpu_object.c"
            },
            "signature_type": "Function",
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f06b902511ea05526f405ee64da54a8313d91831",
            "deprecated": false,
            "digest": {
                "length": 848.0,
                "function_hash": "86468457906502471540702329837627303161"
            },
            "id": "CVE-2023-53036-08d9e1c2"
        },
        {
            "signature_version": "v1",
            "target": {
                "file": "drivers/gpu/drm/amd/amdgpu/amdgpu_object.c"
            },
            "signature_type": "Line",
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@93bb18d2a873d2fa9625c8ea927723660a868b95",
            "deprecated": false,
            "digest": {
                "line_hashes": [
                    "60028342854467098312046198041514623725",
                    "335103521634050463436828177037948286540",
                    "172923858725928191611428543649821766453",
                    "269580294160453283966170182692147495636"
                ],
                "threshold": 0.9
            },
            "id": "CVE-2023-53036-3247ccec"
        },
        {
            "signature_version": "v1",
            "target": {
                "file": "drivers/gpu/drm/amd/amdgpu/amdgpu_object.c"
            },
            "signature_type": "Line",
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f06b902511ea05526f405ee64da54a8313d91831",
            "deprecated": false,
            "digest": {
                "line_hashes": [
                    "60028342854467098312046198041514623725",
                    "335103521634050463436828177037948286540",
                    "172923858725928191611428543649821766453",
                    "269580294160453283966170182692147495636"
                ],
                "threshold": 0.9
            },
            "id": "CVE-2023-53036-4ae41d9d"
        },
        {
            "signature_version": "v1",
            "target": {
                "function": "amdgpu_bo_release_notify",
                "file": "drivers/gpu/drm/amd/amdgpu/amdgpu_object.c"
            },
            "signature_type": "Function",
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@93bb18d2a873d2fa9625c8ea927723660a868b95",
            "deprecated": false,
            "digest": {
                "length": 848.0,
                "function_hash": "86468457906502471540702329837627303161"
            },
            "id": "CVE-2023-53036-8bdadb4e"
        },
        {
            "signature_version": "v1",
            "target": {
                "function": "amdgpu_bo_release_notify",
                "file": "drivers/gpu/drm/amd/amdgpu/amdgpu_object.c"
            },
            "signature_type": "Function",
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9a02dae3bbfe2df8e1c81e61a08695709e9588f9",
            "deprecated": false,
            "digest": {
                "length": 848.0,
                "function_hash": "86468457906502471540702329837627303161"
            },
            "id": "CVE-2023-53036-94cefdf7"
        },
        {
            "signature_version": "v1",
            "target": {
                "file": "drivers/gpu/drm/amd/amdgpu/amdgpu_object.c"
            },
            "signature_type": "Line",
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9a02dae3bbfe2df8e1c81e61a08695709e9588f9",
            "deprecated": false,
            "digest": {
                "line_hashes": [
                    "60028342854467098312046198041514623725",
                    "335103521634050463436828177037948286540",
                    "172923858725928191611428543649821766453",
                    "269580294160453283966170182692147495636"
                ],
                "threshold": 0.9
            },
            "id": "CVE-2023-53036-dc1fd391"
        }
    ]
}

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.18.0
Fixed
6.1.22
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.2.9