CVE-2023-52461

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-52461
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-52461.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-52461
Downstream
Related
Published
2024-02-23T14:46:22Z
Modified
2025-10-08T15:12:29.529537Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
drm/sched: Fix bounds limiting when given a malformed entity
Details

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

drm/sched: Fix bounds limiting when given a malformed entity

If we're given a malformed entity in drmschedentity_init()--shouldn't happen, but we verify--with out-of-bounds priority value, we set it to an allowed value. Fix the expression which sets this limit.

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
56e449603f0ac580700621a356d35d5716a62ce5
Fixed
1470d173925d697b497656b93f7c5bddae2e64b2
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
56e449603f0ac580700621a356d35d5716a62ce5
Fixed
2bbe6ab2be53858507f11f99f856846d04765ae3

Affected versions

v6.*

v6.6
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.7.1

Database specific

{
    "vanir_signatures": [
        {
            "signature_version": "v1",
            "digest": {
                "length": 1047.0,
                "function_hash": "213069331288625870848110470977512409705"
            },
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2bbe6ab2be53858507f11f99f856846d04765ae3",
            "deprecated": false,
            "target": {
                "file": "drivers/gpu/drm/scheduler/sched_entity.c",
                "function": "drm_sched_entity_init"
            },
            "signature_type": "Function",
            "id": "CVE-2023-52461-00dddea4"
        },
        {
            "signature_version": "v1",
            "digest": {
                "length": 1047.0,
                "function_hash": "213069331288625870848110470977512409705"
            },
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1470d173925d697b497656b93f7c5bddae2e64b2",
            "deprecated": false,
            "target": {
                "file": "drivers/gpu/drm/scheduler/sched_entity.c",
                "function": "drm_sched_entity_init"
            },
            "signature_type": "Function",
            "id": "CVE-2023-52461-570150c9"
        },
        {
            "signature_version": "v1",
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "243651923409131166429187501872206893427",
                    "1756989752430420221823425177873478707",
                    "308341256498311151656487096822420982423",
                    "332060884627566510480996393263325549422",
                    "191096346422042738598015014384826324844",
                    "159216093466953353890635548234221594072"
                ]
            },
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1470d173925d697b497656b93f7c5bddae2e64b2",
            "deprecated": false,
            "target": {
                "file": "drivers/gpu/drm/scheduler/sched_entity.c"
            },
            "signature_type": "Line",
            "id": "CVE-2023-52461-5bda7dc0"
        },
        {
            "signature_version": "v1",
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "243651923409131166429187501872206893427",
                    "1756989752430420221823425177873478707",
                    "308341256498311151656487096822420982423",
                    "332060884627566510480996393263325549422",
                    "191096346422042738598015014384826324844",
                    "159216093466953353890635548234221594072"
                ]
            },
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2bbe6ab2be53858507f11f99f856846d04765ae3",
            "deprecated": false,
            "target": {
                "file": "drivers/gpu/drm/scheduler/sched_entity.c"
            },
            "signature_type": "Line",
            "id": "CVE-2023-52461-c341c6a4"
        }
    ]
}

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.7.2