{"id":"CVE-2024-53108","state":"PUBLISHED","title":"drm/amd/display: Adjust VSDB parser for replay feature","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: Adjust VSDB parser for replay feature\n\nAt some point, the IEEE ID identification for the replay check in the\nAMD EDID was added. However, this check causes the following\nout-of-bounds issues when using KASAN:\n\n[   27.804016] BUG: KASAN: slab-out-of-bounds in amdgpu_dm_update_freesync_caps+0xefa/0x17a0 [amdgpu]\n[   27.804788] Read of size 1 at addr ffff8881647fdb00 by task systemd-udevd/383\n\n...\n\n[   27.821207] Memory state around the buggy address:\n[   27.821215]  ffff8881647fda00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\n[   27.821224]  ffff8881647fda80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\n[   27.821234] >ffff8881647fdb00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc\n[   27.821243]                    ^\n[   27.821250]  ffff8881647fdb80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc\n[   27.821259]  ffff8881647fdc00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\n[   27.821268] ==================================================================\n\nThis is caused because the ID extraction happens outside of the range of\nthe edid lenght. This commit addresses this issue by considering the\namd_vsdb_block size.\n\n(cherry picked from commit b7e381b1ccd5e778e3d9c44c669ad38439a861d8)","publishedAt":"2024-12-02T13:44:40.707Z","updatedAt":"2026-08-05T11:43:46.603Z","severity":{"score":7.3,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ec8e59cb4e0c1a52d5a541fff9dcec398b48f7b4","status":"affected","lessThan":"0a326fbc8f72a320051f27328d4d4e7abdfe68d7","versionType":"git"},{"version":"ec8e59cb4e0c1a52d5a541fff9dcec398b48f7b4","status":"affected","lessThan":"8db867061f4c76505ad62422b65d666b45289217","versionType":"git"},{"version":"ec8e59cb4e0c1a52d5a541fff9dcec398b48f7b4","status":"affected","lessThan":"16dd2825c23530f2259fc671960a3a65d2af69bd","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.6","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.6","versionType":"semver"},{"version":"6.6.63","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.11.10","status":"unaffected","lessThanOrEqual":"6.11.*","versionType":"semver"},{"version":"6.12","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"]}],"references":["https://git.kernel.org/stable/c/0a326fbc8f72a320051f27328d4d4e7abdfe68d7","https://git.kernel.org/stable/c/8db867061f4c76505ad62422b65d666b45289217","https://git.kernel.org/stable/c/16dd2825c23530f2259fc671960a3a65d2af69bd"],"weaknesses":["CWE-125"],"ingestedAt":"2026-10-29T20:08:04.920Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/53xxx/CVE-2024-53108.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-53108","state":"PUBLISHED","datePublished":"2024-12-02T13:44:40.707Z","dateUpdated":"2026-08-05T11:43:46.603Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-11-19T17:17:24.992Z"},"containers":{"cna":{"title":"drm/amd/display: Adjust VSDB parser for replay feature","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: Adjust VSDB parser for replay feature\n\nAt some point, the IEEE ID identification for the replay check in the\nAMD EDID was added. However, this check causes the following\nout-of-bounds issues when using KASAN:\n\n[   27.804016] BUG: KASAN: slab-out-of-bounds in amdgpu_dm_update_freesync_caps+0xefa/0x17a0 [amdgpu]\n[   27.804788] Read of size 1 at addr ffff8881647fdb00 by task systemd-udevd/383\n\n...\n\n[   27.821207] Memory state around the buggy address:\n[   27.821215]  ffff8881647fda00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\n[   27.821224]  ffff8881647fda80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\n[   27.821234] >ffff8881647fdb00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc\n[   27.821243]                    ^\n[   27.821250]  ffff8881647fdb80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc\n[   27.821259]  ffff8881647fdc00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\n[   27.821268] ==================================================================\n\nThis is caused because the ID extraction happens outside of the range of\nthe edid lenght. This commit addresses this issue by considering the\namd_vsdb_block size.\n\n(cherry picked from commit b7e381b1ccd5e778e3d9c44c669ad38439a861d8)"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ec8e59cb4e0c1a52d5a541fff9dcec398b48f7b4","status":"affected","lessThan":"0a326fbc8f72a320051f27328d4d4e7abdfe68d7","versionType":"git"},{"version":"ec8e59cb4e0c1a52d5a541fff9dcec398b48f7b4","status":"affected","lessThan":"8db867061f4c76505ad62422b65d666b45289217","versionType":"git"},{"version":"ec8e59cb4e0c1a52d5a541fff9dcec398b48f7b4","status":"affected","lessThan":"16dd2825c23530f2259fc671960a3a65d2af69bd","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.6","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.6","versionType":"semver"},{"version":"6.6.63","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.11.10","status":"unaffected","lessThanOrEqual":"6.11.*","versionType":"semver"},{"version":"6.12","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/0a326fbc8f72a320051f27328d4d4e7abdfe68d7"},{"url":"https://git.kernel.org/stable/c/8db867061f4c76505ad62422b65d666b45289217"},{"url":"https://git.kernel.org/stable/c/16dd2825c23530f2259fc671960a3a65d2af69bd"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H","baseScore":7.3,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The vulnerable parser is reached through the local DRM connector-probe path (`DRM_IOCTL_MODE_GETCONNECTOR` → `drm_helper_probe_single_connector_modes` → `amdgpu_dm_connector_get_modes`/`dm_dp_mst_get_modes` → `amdgpu_dm_update_freesync_caps`), requiring access to `/dev/dri/card0` rather than any network or physical-device interaction. No attacker-supplied monitor is needed since the out-of-bounds read occurs for ordinary EDIDs.\nAC:L - The overread is unconditional for any EDID containing an extension block without an AMD VSDB v3 entry — the loop always walks j to 127 — so it triggers reliably on every probe with no race, timing window, or attacker-uncontrollable precondition.\nPR:L - An unprivileged local user with a normal desktop session (logind ACL / `video` group access to the primary DRM node) can trigger connector re-probes; `DRM_IOCTL_MODE_GETCONNECTOR` is registered with flags 0 and needs no root or CAP_SYS_ADMIN.\nUI:N - Connector probing happens automatically at boot, on hotplug, and via the DRM poll loop, and can be driven directly by the attacker's own ioctls; no action by another user is required.\nS:U - The out-of-bounds access stays within the kernel's own heap and security authority, with no crossing into a hypervisor, IOMMU, or other protection domain.\nC:H - Adjacent slab memory beyond the EDID allocation is read into `ieeeId`/`version`/`feature_caps`, and consistent with this CNA's scoring of the analogous EDID out-of-bounds read (CVE-2026-64546) the disclosure of heap contents past the object boundary is treated as High.\nI:L - There is no out-of-bounds write, but a local attacker who heap-grooms the neighbouring object so the leaked bytes match AMD's IEEE ID and version 3 can force `vsdb_info->replay_mode` and `as_type = ADAPTIVE_SYNC_TYPE_EDP`, making the driver program Replay on a panel that never advertised it — a bounded, unauthorized modification of driver state.\nA:H - The slab out-of-bounds read faults immediately on KASAN/hardened builds and can hit an unmapped page when the EDID allocation ends on a page boundary, producing a kernel oops during connector probe."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T11:43:46.603Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"6.6.63"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"6.11.10"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"6.12"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.1,"attackVector":"LOCAL","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"id":"CVE-2024-53108","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2025-10-01T20:10:47.739124Z"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-125","lang":"en","type":"CWE","description":"CWE-125 Out-of-bounds Read"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-10-01T20:17:11.628Z"}}]}}}