{"id":"CVE-2026-139673","aliases":["CVE-2026-139673"],"related":[],"kind":"vulnerability","state":"published","title":"drm/amdgpu/atom: bound the VBIOS date, part number, version and build getters","summary":"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->bios_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->bios_size, falling\nback to an empty string on a malformed image.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->bios_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->bios_size, falling\nback to an empty string on a malformed image.","source":"cvelist"}],"published":"2026-11-30T13:36:55.566Z","modified":"2026-11-30T14:19:54.400Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"29b4c589b43d8dc0c0a5342cd2ac5da6ec1116b5","fixed":"541e6dacf2a43d98451914a31fd6b9a62d47f062","status":"affected"},{"type":"git","introduced":"29b4c589b43d8dc0c0a5342cd2ac5da6ec1116b5","fixed":"7c806bd9403535e8f7e8d266728fa82073e5f741","status":"affected"},{"type":"git","introduced":"29b4c589b43d8dc0c0a5342cd2ac5da6ec1116b5","fixed":"7c6490b7c26bea152b3945280c09065117e80356","status":"affected"},{"type":"git","introduced":"29b4c589b43d8dc0c0a5342cd2ac5da6ec1116b5","fixed":"aee05c455ad3e72df9a0591baf0b60da518800f3","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.14","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/541e6dacf2a43d98451914a31fd6b9a62d47f062","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7c806bd9403535e8f7e8d266728fa82073e5f741","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7c6490b7c26bea152b3945280c09065117e80356","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/aee05c455ad3e72df9a0591baf0b60da518800f3","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139673","url":"https://www.cve.org/CVERecord?id=CVE-2026-139673","licence":"CVE Terms of Use","modified":"2026-11-30T13:36:55.566Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139673","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139673","licence":"Public domain","modified":"2026-11-30T14:19:54.400Z"}],"updatedAt":"2026-11-30T14:33:30.782Z","epss":{"score":0.00209,"percentile":0.11657,"date":"2026-12-01T12:00:22.000Z"}}