{"id":"CVE-2026-139673","state":"PUBLISHED","title":"drm/amdgpu/atom: bound the VBIOS date, part number, version and build getters","description":"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.","publishedAt":"2026-11-30T13:36:55.566Z","updatedAt":"2026-11-30T13:36:55.566Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"29b4c589b43d8dc0c0a5342cd2ac5da6ec1116b5","status":"affected","lessThan":"541e6dacf2a43d98451914a31fd6b9a62d47f062","versionType":"git"},{"version":"29b4c589b43d8dc0c0a5342cd2ac5da6ec1116b5","status":"affected","lessThan":"7c806bd9403535e8f7e8d266728fa82073e5f741","versionType":"git"},{"version":"29b4c589b43d8dc0c0a5342cd2ac5da6ec1116b5","status":"affected","lessThan":"7c6490b7c26bea152b3945280c09065117e80356","versionType":"git"},{"version":"29b4c589b43d8dc0c0a5342cd2ac5da6ec1116b5","status":"affected","lessThan":"aee05c455ad3e72df9a0591baf0b60da518800f3","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/amdgpu/atom.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.14","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.14","versionType":"semver"},{"version":"6.12.119","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/amdgpu/atom.c"]}],"references":["https://git.kernel.org/stable/c/541e6dacf2a43d98451914a31fd6b9a62d47f062","https://git.kernel.org/stable/c/7c806bd9403535e8f7e8d266728fa82073e5f741","https://git.kernel.org/stable/c/7c6490b7c26bea152b3945280c09065117e80356","https://git.kernel.org/stable/c/aee05c455ad3e72df9a0591baf0b60da518800f3"],"weaknesses":[],"ingestedAt":"2026-11-30T13:54:04.526Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/139xxx/CVE-2026-139673.json","commit":"8c2c22940a0de21d18737df980299c0488d5dc73","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139673","state":"PUBLISHED","datePublished":"2026-11-30T13:36:55.566Z","dateUpdated":"2026-11-30T13:36:55.566Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-11-30T13:22:15.946Z"},"containers":{"cna":{"title":"drm/amdgpu/atom: bound the VBIOS date, part number, version and build getters","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":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"29b4c589b43d8dc0c0a5342cd2ac5da6ec1116b5","status":"affected","lessThan":"541e6dacf2a43d98451914a31fd6b9a62d47f062","versionType":"git"},{"version":"29b4c589b43d8dc0c0a5342cd2ac5da6ec1116b5","status":"affected","lessThan":"7c806bd9403535e8f7e8d266728fa82073e5f741","versionType":"git"},{"version":"29b4c589b43d8dc0c0a5342cd2ac5da6ec1116b5","status":"affected","lessThan":"7c6490b7c26bea152b3945280c09065117e80356","versionType":"git"},{"version":"29b4c589b43d8dc0c0a5342cd2ac5da6ec1116b5","status":"affected","lessThan":"aee05c455ad3e72df9a0591baf0b60da518800f3","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/amdgpu/atom.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.14","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.14","versionType":"semver"},{"version":"6.12.119","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/amdgpu/atom.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/541e6dacf2a43d98451914a31fd6b9a62d47f062"},{"url":"https://git.kernel.org/stable/c/7c806bd9403535e8f7e8d266728fa82073e5f741"},{"url":"https://git.kernel.org/stable/c/7c6490b7c26bea152b3945280c09065117e80356"},{"url":"https://git.kernel.org/stable/c/aee05c455ad3e72df9a0591baf0b60da518800f3"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-30T13:36:55.566Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.14","versionEndExcluding":"6.12.119"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.14","versionEndExcluding":"6.18.65"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.14","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.14","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}