{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2024-46730", "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "state": "PUBLISHED", "assignerShortName": "Linux", "dateReserved": "2024-09-11T15:12:18.256Z", "datePublished": "2024-09-18T06:32:25.524Z", "dateUpdated": "2026-08-05T11:38:10.644Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux", "dateUpdated": "2026-08-05T11:38:10.644Z" }, "descriptions": [ { "lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: Ensure array index tg_inst won't be -1\n\n[WHY & HOW]\ntg_inst will be a negative if timing_generator_count equals 0, which\nshould be checked before used.\n\nThis fixes 2 OVERRUN issues reported by Coverity." } ], "metrics": [ { "cvssV3_1": { "version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.8, "baseSeverity": "HIGH" }, "scenarios": [ { "lang": "en", "value": "AV:L - The vulnerable code is reached only through DRM modeset ioctls on /dev/dri/card* (DRM_IOCTL_MODE_ATOMIC / SETCRTC) via amdgpu_dm_atomic_check() → dc_state_add_stream() → resource_map_pool_resources(). No network or remote input reaches this path.\nAC:L - Within an affected resource-pool configuration the negative index is taken deterministically on every stream-add whose pipe_idx exceeds timing_generator_count; there is no race to win and no memory-layout condition the attacker must guess, and the attacker chooses when to issue the modeset.\nPR:L - A local unprivileged user with a DRM fd holding master — the ordinary case for a logged-in console/graphical session, an Android compositor client, or a kiosk display stack — can issue the atomic modeset; no capability check exists anywhere on the path from the ioctl to acquire_otg_master_pipe_for_stream().\nUI:N - The attacker performs the modeset/stream-add entirely on their own; no action by another user or administrator is required.\nS:U - The corruption and its consequences stay inside the kernel's amdgpu display driver under the same security authority; no VM, IOMMU, or sandbox boundary is crossed.\nC:H - The −1 index reads pointers outside the intended arrays and installs them as wrongly-typed objects, so subsequent accesses read struct fields (funcs, inst, dc_context contents) at mismatched offsets from adjacent kernel objects, exposing kernel pointers and enabling further disclosure through the type-confused reads.\nI:H - stream_res.opp — actually a struct dpp * — is written through (opp->mpcc_disconnect_pending[] stores and mpc_tree_params list manipulation corrupt the DPP object), and both stream_res.tg->funcs and stream_res.opp->funcs are read from offsets holding non-vtable data, including gamma-LUT bytes supplied by userspace, giving an indirect call through attacker-influenced memory and thus a control-flow hijack primitive.\nA:H - At minimum the wrongly-typed or NULL pointer is dereferenced and called through during pipe programming, producing an immediate kernel oops/panic in the display pipeline, repeatable at will by the local attacker." } ] } ], "affected": [ { "product": "Linux", "vendor": "Linux", "defaultStatus": "unaffected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "drivers/gpu/drm/amd/display/dc/core/dc_resource.c" ], "versions": [ { "version": "4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c", "lessThan": "a64284b9e1999ad5580debced4bc6d6adb28aad4", "status": "affected", "versionType": "git" }, { "version": "4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c", "lessThan": "687fe329f18ab0ab0496b20ed2cb003d4879d931", "status": "affected", "versionType": "git" } ] }, { "product": "Linux", "vendor": "Linux", "defaultStatus": "affected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "drivers/gpu/drm/amd/display/dc/core/dc_resource.c" ], "versions": [ { "version": "4.15", "status": "affected" }, { "version": "0", "lessThan": "4.15", "status": "unaffected", "versionType": "semver" }, { "version": "6.10.9", "lessThanOrEqual": "6.10.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.11", "lessThanOrEqual": "*", "status": "unaffected", "versionType": "original_commit_for_fix" } ] } ], "cpeApplicability": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.15", "versionEndExcluding": "6.10.9" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.15", "versionEndExcluding": "6.11" } ] } ] } ], "references": [ { "url": "https://git.kernel.org/stable/c/a64284b9e1999ad5580debced4bc6d6adb28aad4" }, { "url": "https://git.kernel.org/stable/c/687fe329f18ab0ab0496b20ed2cb003d4879d931" } ], "title": "drm/amd/display: Ensure array index tg_inst won't be -1", "x_generator": { "engine": "bippy-1.2.0" } }, "adp": [ { "metrics": [ { "other": { "type": "ssvc", "content": { "timestamp": "2024-09-29T14:54:24.683078Z", "id": "CVE-2024-46730", "options": [ { "Exploitation": "none" }, { "Automatable": "no" }, { "Technical Impact": "partial" } ], "role": "CISA Coordinator", "version": "2.0.3" } } } ], "title": "CISA ADP Vulnrichment", "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2024-09-29T14:54:39.429Z" } } ] } }