{"id":"CVE-2026-139673","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-30T14:19:54.400","lastModified":"2026-11-30T14:19:54.400","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"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."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/gpu/drm/amd/amdgpu/atom.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"29b4c589b43d8dc0c0a5342cd2ac5da6ec1116b5","lessThan":"541e6dacf2a43d98451914a31fd6b9a62d47f062","versionType":"git","status":"affected"},{"version":"29b4c589b43d8dc0c0a5342cd2ac5da6ec1116b5","lessThan":"7c806bd9403535e8f7e8d266728fa82073e5f741","versionType":"git","status":"affected"},{"version":"29b4c589b43d8dc0c0a5342cd2ac5da6ec1116b5","lessThan":"7c6490b7c26bea152b3945280c09065117e80356","versionType":"git","status":"affected"},{"version":"29b4c589b43d8dc0c0a5342cd2ac5da6ec1116b5","lessThan":"aee05c455ad3e72df9a0591baf0b60da518800f3","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/gpu/drm/amd/amdgpu/atom.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"5.14","status":"affected"},{"version":"0","lessThan":"5.14","versionType":"semver","status":"unaffected"},{"version":"6.12.119","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.65","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/541e6dacf2a43d98451914a31fd6b9a62d47f062","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/7c6490b7c26bea152b3945280c09065117e80356","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/7c806bd9403535e8f7e8d266728fa82073e5f741","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/aee05c455ad3e72df9a0591baf0b60da518800f3","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}