{"id":"CVE-2026-139674","aliases":["CVE-2026-139674"],"related":[],"kind":"vulnerability","state":"published","title":"drm/amd/pm: bound SCLK FCW range entries to the table size","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/pm: bound SCLK FCW range entries to the table size\n\natomctrl_get_smc_sclk_range_table() copies ucSclkEntryNum entries from\nthe VBIOS SMU_Info table into pp_atom_ctrl_sclk_range_table. Both the\nsource (asSclkFcwRangeEntry[]) and destination (table->entry[]) arrays\nare fixed at MAX_SCLK_RANGE (8) entries, but ucSclkEntryNum is an\nunchecked u8 read straight from the VBIOS, so it can be up to 255. The\ndestination is stack-allocated in both callers\n(polaris10_get_sclk_range_table(), vegam_get_sclk_range_table()), so a\ncount above 8 overflows a stack buffer, not just a heap read.\n\nReject counts above MAX_SCLK_RANGE rather than clamping to it. Only\none version of this VBIOS struct (ATOM_SMU_INFO_V2_1) has ever\nexisted, so a count above 8 corresponds to no legitimate table format\nand means either a corrupted or a tampered VBIOS.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/pm: bound SCLK FCW range entries to the table size\n\natomctrl_get_smc_sclk_range_table() copies ucSclkEntryNum entries from\nthe VBIOS SMU_Info table into pp_atom_ctrl_sclk_range_table. Both the\nsource (asSclkFcwRangeEntry[]) and destination (table->entry[]) arrays\nare fixed at MAX_SCLK_RANGE (8) entries, but ucSclkEntryNum is an\nunchecked u8 read straight from the VBIOS, so it can be up to 255. The\ndestination is stack-allocated in both callers\n(polaris10_get_sclk_range_table(), vegam_get_sclk_range_table()), so a\ncount above 8 overflows a stack buffer, not just a heap read.\n\nReject counts above MAX_SCLK_RANGE rather than clamping to it. Only\none version of this VBIOS struct (ATOM_SMU_INFO_V2_1) has ever\nexisted, so a count above 8 corresponds to no legitimate table format\nand means either a corrupted or a tampered VBIOS.","source":"cvelist"}],"published":"2026-11-30T13:36:56.092Z","modified":"2026-11-30T14:19:54.710Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"a23eefa2f4615af91ea496ca5b55c9e7c6fa934c","fixed":"4fc26611a8c65039f569dd7b15a1bcfac234d2be","status":"affected"},{"type":"git","introduced":"a23eefa2f4615af91ea496ca5b55c9e7c6fa934c","fixed":"126909d75548ffca71edbacf108c1b6b0c5b5bdb","status":"affected"},{"type":"git","introduced":"a23eefa2f4615af91ea496ca5b55c9e7c6fa934c","fixed":"65d9be4bd9587c3d6bcfda749c61dbfd792f793c","status":"affected"},{"type":"git","introduced":"a23eefa2f4615af91ea496ca5b55c9e7c6fa934c","fixed":"a73e358809d769cf3c9711931d78859c9c748872","status":"affected"},{"type":"git","introduced":"a23eefa2f4615af91ea496ca5b55c9e7c6fa934c","fixed":"737b47703046e440be4aad75c8ab256bbe8f9500","status":"affected"},{"type":"git","introduced":"a23eefa2f4615af91ea496ca5b55c9e7c6fa934c","fixed":"5ad40ed9d6888cc4828808cf49bdf58ec5f48290","status":"affected"},{"type":"git","introduced":"a23eefa2f4615af91ea496ca5b55c9e7c6fa934c","fixed":"21bf975597a11788cd324982181122945de44656","status":"affected"},{"type":"git","introduced":"a23eefa2f4615af91ea496ca5b55c9e7c6fa934c","fixed":"f35aa5c77f5fca20fc269d6221df19c7b96704a5","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.7","status":"unaffected"},{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.119","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/4fc26611a8c65039f569dd7b15a1bcfac234d2be","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/126909d75548ffca71edbacf108c1b6b0c5b5bdb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/65d9be4bd9587c3d6bcfda749c61dbfd792f793c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a73e358809d769cf3c9711931d78859c9c748872","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/737b47703046e440be4aad75c8ab256bbe8f9500","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5ad40ed9d6888cc4828808cf49bdf58ec5f48290","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/21bf975597a11788cd324982181122945de44656","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f35aa5c77f5fca20fc269d6221df19c7b96704a5","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139674","url":"https://www.cve.org/CVERecord?id=CVE-2026-139674","licence":"CVE Terms of Use","modified":"2026-11-30T13:36:56.092Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139674","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139674","licence":"Public domain","modified":"2026-11-30T14:19:54.710Z"}],"updatedAt":"2026-11-30T14:33:30.985Z","epss":{"score":0.00177,"percentile":0.07524,"date":"2026-12-01T12:00:22.000Z"}}