{"id":"CVE-2026-139673","summary":"drm/amdgpu/atom: bound the VBIOS date, part number, version and build getters","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu/atom: bound the VBIOS date, part number, version and build getters\n\natom_get_vbios_date(), atom_get_vbios_pn(), atom_get_vbios_version()\nand atom_get_vbios_build() all walk the BIOS image using offsets and\ncounts taken from the image itself, checked only against each other\nand never against ctx-\u003ebios_size:\n\n - atom_get_vbios_date() reads 14 bytes at a fixed offset that\n   check_atom_bios()'s minimum size (0x49) does not cover.\n - atom_get_vbios_pn() dereferences an image-supplied u16 string\n   offset unchecked, then walks and copies from it with only a length\n   cap, not an image cap.\n - atom_get_vbios_version() takes its search bounds from image u16s;\n   atom_find_str_in_rom() already clamps the search itself, but the\n   match is then advanced by a fixed 18 bytes and STRLEN_NORMAL bytes\n   are copied from there with no check that this still lands inside\n   the image.\n - atom_get_vbios_build() walks from an image-supplied config-string\n   offset toward the ROM header; a config offset at or past the\n   header makes the pointer difference negative, wrapping through the\n   u16 'len' and passing strscpy() a bound far larger than the\n   32-byte destination.\n\nBound each getter's reads, walks and copies to ctx-\u003ebios_size, falling\nback to an empty string on a malformed image.","modified":"2026-11-30T15:02:30.175433702Z","published":"2026-11-30T13:36:55.566Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139673.json"},"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/541e6dacf2a43d98451914a31fd6b9a62d47f062"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7c6490b7c26bea152b3945280c09065117e80356"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7c806bd9403535e8f7e8d266728fa82073e5f741"},{"type":"WEB","url":"https://git.kernel.org/stable/c/aee05c455ad3e72df9a0591baf0b60da518800f3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139673.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139673"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"29b4c589b43d8dc0c0a5342cd2ac5da6ec1116b5"},{"fixed":"541e6dacf2a43d98451914a31fd6b9a62d47f062"},{"fixed":"7c806bd9403535e8f7e8d266728fa82073e5f741"},{"fixed":"7c6490b7c26bea152b3945280c09065117e80356"},{"fixed":"aee05c455ad3e72df9a0591baf0b60da518800f3"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139673.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.14.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-139673.json"}}],"schema_version":"1.9.2"}