CVE-2024-46778

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-46778
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-46778.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-46778
Downstream
Related
Published
2024-09-18T07:12:35Z
Modified
2025-10-15T14:51:10.228210Z
Summary
drm/amd/display: Check UnboundedRequestEnabled's value
Details

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

drm/amd/display: Check UnboundedRequestEnabled's value

CalculateSwathAndDETConfigurationparamsst's UnboundedRequestEnabled is a pointer (i.e. dmlboolt *UnboundedRequestEnabled), and thus if (p->UnboundedRequestEnabled) checks its address, not bool value.

This fixes 1 REVERSE_INULL issue reported by Coverity.

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
7966f319c66d9468623c6a6a017ecbc0dd79be75
Fixed
4e2b49a85e7974d21364798c5d4aa8070aa864d9
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7966f319c66d9468623c6a6a017ecbc0dd79be75
Fixed
a7b38c7852093385d0605aa3c8a2efd6edd1edfd

Affected versions

v6.*

v6.10
v6.10-rc1
v6.10-rc2
v6.10-rc3
v6.10-rc4
v6.10-rc5
v6.10-rc6
v6.10-rc7
v6.10.1
v6.10.2
v6.10.3
v6.10.4
v6.10.5
v6.10.6
v6.10.7
v6.10.8
v6.10.9
v6.5
v6.6
v6.6-rc1
v6.6-rc2
v6.6-rc3
v6.6-rc4
v6.6-rc5
v6.6-rc6
v6.6-rc7
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.8
v6.8-rc1
v6.8-rc2
v6.8-rc3
v6.8-rc4
v6.8-rc5
v6.8-rc6
v6.8-rc7
v6.9
v6.9-rc1
v6.9-rc2
v6.9-rc3
v6.9-rc4
v6.9-rc5
v6.9-rc6
v6.9-rc7

Database specific

{
    "vanir_signatures": [
        {
            "signature_version": "v1",
            "signature_type": "Function",
            "target": {
                "file": "drivers/gpu/drm/amd/display/dc/dml2/display_mode_core.c",
                "function": "CalculateSwathAndDETConfiguration"
            },
            "deprecated": false,
            "digest": {
                "length": 9062.0,
                "function_hash": "11064038576347541969847707561635160123"
            },
            "id": "CVE-2024-46778-60f38172",
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4e2b49a85e7974d21364798c5d4aa8070aa864d9"
        },
        {
            "signature_version": "v1",
            "signature_type": "Line",
            "target": {
                "file": "drivers/gpu/drm/amd/display/dc/dml2/display_mode_core.c"
            },
            "deprecated": false,
            "digest": {
                "line_hashes": [
                    "205434963553193480674945458966071379704",
                    "44555036333008023695412693605990409592",
                    "320306887004307786073880469417744529966",
                    "35825154273453849742974712260238499066"
                ],
                "threshold": 0.9
            },
            "id": "CVE-2024-46778-6568b64b",
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4e2b49a85e7974d21364798c5d4aa8070aa864d9"
        }
    ]
}

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.10.10