{"id":"CVE-2026-139674","summary":"drm/amd/pm: bound SCLK FCW range entries to the table size","details":"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-\u003eentry[]) 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.","modified":"2026-11-30T15:02:30.091609312Z","published":"2026-11-30T13:36:56.092Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139674.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/126909d75548ffca71edbacf108c1b6b0c5b5bdb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/21bf975597a11788cd324982181122945de44656"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4fc26611a8c65039f569dd7b15a1bcfac234d2be"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5ad40ed9d6888cc4828808cf49bdf58ec5f48290"},{"type":"WEB","url":"https://git.kernel.org/stable/c/65d9be4bd9587c3d6bcfda749c61dbfd792f793c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/737b47703046e440be4aad75c8ab256bbe8f9500"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a73e358809d769cf3c9711931d78859c9c748872"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f35aa5c77f5fca20fc269d6221df19c7b96704a5"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139674.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139674"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"a23eefa2f4615af91ea496ca5b55c9e7c6fa934c"},{"fixed":"4fc26611a8c65039f569dd7b15a1bcfac234d2be"},{"fixed":"126909d75548ffca71edbacf108c1b6b0c5b5bdb"},{"fixed":"65d9be4bd9587c3d6bcfda749c61dbfd792f793c"},{"fixed":"a73e358809d769cf3c9711931d78859c9c748872"},{"fixed":"737b47703046e440be4aad75c8ab256bbe8f9500"},{"fixed":"5ad40ed9d6888cc4828808cf49bdf58ec5f48290"},{"fixed":"21bf975597a11788cd324982181122945de44656"},{"fixed":"f35aa5c77f5fca20fc269d6221df19c7b96704a5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139674.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.7.0"},{"fixed":"5.10.275"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.119"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.65"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139674.json"}}],"schema_version":"1.9.2"}