CVE-2024-53060

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-53060
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-53060.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-53060
Downstream
Related
Published
2024-11-19T17:22:31Z
Modified
2025-10-17T17:39:39.993340Z
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
drm/amdgpu: prevent NULL pointer dereference if ATIF is not supported
Details

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

drm/amdgpu: prevent NULL pointer dereference if ATIF is not supported

acpievaluateobject() may return AENOTFOUND (failure), which would result in dereferencing buffer.pointer (obj) while being NULL.

Although this case may be unrealistic for the current code, it is still better to protect against possible bugs.

Bail out also when status is AENOTFOUND.

This fixes 1 FORWARDNULL issue reported by Coverity Report: CID 1600951: Null pointer dereferences (FORWARDNULL)

(cherry picked from commit 91c9e221fe2553edf2db71627d8453f083de87a1)

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
58556dcbd5606a5daccaee73b2130bc16b48e025
Fixed
ce8a00a00e36f61f5a1e47734332420b68784c43
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
43b4fa6e0e238c6e2662f4fb61d9f51c2785fb1d
Fixed
8d7a28eca7553d35d4ce192fa1f390f2357df41b
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
234682910971732cd4da96fd95946e296e486b38
Fixed
2ac7f253deada4d449559b65a1c1cd0a6f6f19b7
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6032287747f874b52dc8b9d7490e2799736e035f
Fixed
27fc29b5376998c126c85cf9b15d9dfc2afc9cbe
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
cd67af3c1762de4c2483ae4dbdd98f9ea8fa56e3
Fixed
1a9f55ed5b512f510ccd21ad527d532e60550e80
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
975ede2a7bec52b5da1428829b3439667c8a234b
Fixed
a613a392417532ca5aaf3deac6e3277aa7aaef2b
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
1d7175f9c57b1abf9ecfbdfd53ea760761f52ffe
Fixed
b9d9881237afeb52eddd70077b7174bf17e2fa30
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
bf58f03931fdcf7b3c45cb76ac13244477a60f44
Fixed
a6dd15981c03f2cdc9a351a278f09b5479d53d2e

Affected versions

v4.*

v4.19.323

v5.*

v5.10.229
v5.15.170
v5.15.171
v5.4.285

v6.*

v6.1.115
v6.1.116
v6.11.6
v6.11.7
v6.12-rc5
v6.12-rc6
v6.6.59
v6.6.60

Database specific

vanir_signatures

[
    {
        "digest": {
            "length": 934.0,
            "function_hash": "316101783723947147963435893084213461627"
        },
        "target": {
            "function": "amdgpu_atif_call",
            "file": "drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c"
        },
        "signature_type": "Function",
        "deprecated": false,
        "signature_version": "v1",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ce8a00a00e36f61f5a1e47734332420b68784c43",
        "id": "CVE-2024-53060-272ebb83"
    },
    {
        "digest": {
            "length": 934.0,
            "function_hash": "316101783723947147963435893084213461627"
        },
        "target": {
            "function": "amdgpu_atif_call",
            "file": "drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c"
        },
        "signature_type": "Function",
        "deprecated": false,
        "signature_version": "v1",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1a9f55ed5b512f510ccd21ad527d532e60550e80",
        "id": "CVE-2024-53060-3178bcf2"
    },
    {
        "digest": {
            "length": 934.0,
            "function_hash": "316101783723947147963435893084213461627"
        },
        "target": {
            "function": "amdgpu_atif_call",
            "file": "drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c"
        },
        "signature_type": "Function",
        "deprecated": false,
        "signature_version": "v1",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@27fc29b5376998c126c85cf9b15d9dfc2afc9cbe",
        "id": "CVE-2024-53060-3dcf47f1"
    },
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "64739647217816601714146246554923673812",
                "74025728295475823817698037063334704483",
                "281667206466404338406298670876501947482",
                "298788055728053384708495946311843673448"
            ]
        },
        "target": {
            "file": "drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c"
        },
        "signature_type": "Line",
        "deprecated": false,
        "signature_version": "v1",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1a9f55ed5b512f510ccd21ad527d532e60550e80",
        "id": "CVE-2024-53060-4a140363"
    },
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "64739647217816601714146246554923673812",
                "74025728295475823817698037063334704483",
                "281667206466404338406298670876501947482",
                "298788055728053384708495946311843673448"
            ]
        },
        "target": {
            "file": "drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c"
        },
        "signature_type": "Line",
        "deprecated": false,
        "signature_version": "v1",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2ac7f253deada4d449559b65a1c1cd0a6f6f19b7",
        "id": "CVE-2024-53060-56b71fd7"
    },
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "64739647217816601714146246554923673812",
                "74025728295475823817698037063334704483",
                "281667206466404338406298670876501947482",
                "298788055728053384708495946311843673448"
            ]
        },
        "target": {
            "file": "drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c"
        },
        "signature_type": "Line",
        "deprecated": false,
        "signature_version": "v1",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a6dd15981c03f2cdc9a351a278f09b5479d53d2e",
        "id": "CVE-2024-53060-665209a5"
    },
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "64739647217816601714146246554923673812",
                "74025728295475823817698037063334704483",
                "281667206466404338406298670876501947482",
                "298788055728053384708495946311843673448"
            ]
        },
        "target": {
            "file": "drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c"
        },
        "signature_type": "Line",
        "deprecated": false,
        "signature_version": "v1",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b9d9881237afeb52eddd70077b7174bf17e2fa30",
        "id": "CVE-2024-53060-86699051"
    },
    {
        "digest": {
            "length": 934.0,
            "function_hash": "316101783723947147963435893084213461627"
        },
        "target": {
            "function": "amdgpu_atif_call",
            "file": "drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c"
        },
        "signature_type": "Function",
        "deprecated": false,
        "signature_version": "v1",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a6dd15981c03f2cdc9a351a278f09b5479d53d2e",
        "id": "CVE-2024-53060-95bc3dde"
    },
    {
        "digest": {
            "length": 934.0,
            "function_hash": "316101783723947147963435893084213461627"
        },
        "target": {
            "function": "amdgpu_atif_call",
            "file": "drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c"
        },
        "signature_type": "Function",
        "deprecated": false,
        "signature_version": "v1",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2ac7f253deada4d449559b65a1c1cd0a6f6f19b7",
        "id": "CVE-2024-53060-a7ea3e28"
    },
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "64739647217816601714146246554923673812",
                "74025728295475823817698037063334704483",
                "281667206466404338406298670876501947482",
                "298788055728053384708495946311843673448"
            ]
        },
        "target": {
            "file": "drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c"
        },
        "signature_type": "Line",
        "deprecated": false,
        "signature_version": "v1",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a613a392417532ca5aaf3deac6e3277aa7aaef2b",
        "id": "CVE-2024-53060-bcd0e015"
    },
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "64739647217816601714146246554923673812",
                "74025728295475823817698037063334704483",
                "281667206466404338406298670876501947482",
                "298788055728053384708495946311843673448"
            ]
        },
        "target": {
            "file": "drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c"
        },
        "signature_type": "Line",
        "deprecated": false,
        "signature_version": "v1",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ce8a00a00e36f61f5a1e47734332420b68784c43",
        "id": "CVE-2024-53060-c128f909"
    },
    {
        "digest": {
            "length": 934.0,
            "function_hash": "316101783723947147963435893084213461627"
        },
        "target": {
            "function": "amdgpu_atif_call",
            "file": "drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c"
        },
        "signature_type": "Function",
        "deprecated": false,
        "signature_version": "v1",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b9d9881237afeb52eddd70077b7174bf17e2fa30",
        "id": "CVE-2024-53060-c33ee771"
    },
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "64739647217816601714146246554923673812",
                "74025728295475823817698037063334704483",
                "281667206466404338406298670876501947482",
                "298788055728053384708495946311843673448"
            ]
        },
        "target": {
            "file": "drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c"
        },
        "signature_type": "Line",
        "deprecated": false,
        "signature_version": "v1",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8d7a28eca7553d35d4ce192fa1f390f2357df41b",
        "id": "CVE-2024-53060-defbc017"
    },
    {
        "digest": {
            "length": 934.0,
            "function_hash": "316101783723947147963435893084213461627"
        },
        "target": {
            "function": "amdgpu_atif_call",
            "file": "drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c"
        },
        "signature_type": "Function",
        "deprecated": false,
        "signature_version": "v1",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a613a392417532ca5aaf3deac6e3277aa7aaef2b",
        "id": "CVE-2024-53060-e9f2880f"
    },
    {
        "digest": {
            "length": 934.0,
            "function_hash": "316101783723947147963435893084213461627"
        },
        "target": {
            "function": "amdgpu_atif_call",
            "file": "drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c"
        },
        "signature_type": "Function",
        "deprecated": false,
        "signature_version": "v1",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8d7a28eca7553d35d4ce192fa1f390f2357df41b",
        "id": "CVE-2024-53060-fb88b215"
    },
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "64739647217816601714146246554923673812",
                "74025728295475823817698037063334704483",
                "281667206466404338406298670876501947482",
                "298788055728053384708495946311843673448"
            ]
        },
        "target": {
            "file": "drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c"
        },
        "signature_type": "Line",
        "deprecated": false,
        "signature_version": "v1",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@27fc29b5376998c126c85cf9b15d9dfc2afc9cbe",
        "id": "CVE-2024-53060-fe2f8379"
    }
]

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.19.323
Fixed
4.19.324
Type
ECOSYSTEM
Events
Introduced
5.4.285
Fixed
5.4.286
Type
ECOSYSTEM
Events
Introduced
5.10.229
Fixed
5.10.230
Type
ECOSYSTEM
Events
Introduced
5.15.170
Fixed
5.15.172
Type
ECOSYSTEM
Events
Introduced
6.1.115
Fixed
6.1.117
Type
ECOSYSTEM
Events
Introduced
6.6.59
Fixed
6.6.61
Type
ECOSYSTEM
Events
Introduced
6.11.6
Fixed
6.11.8