{"id":"CVE-2026-74417","state":"PUBLISHED","title":"drm/radeon: fix integer overflow in radeon_align_pitch()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/radeon: fix integer overflow in radeon_align_pitch()\n\nradeon_align_pitch() has the same kind of overflow issue as the old\namdgpu helper: both the alignment round-up add and the final\n'aligned * cpp' calculation can overflow signed int.\n\nIf that wraps, radeon_mode_dumb_create() can end up returning an\ninvalid pitch or creating a zero-sized dumb buffer.\n\nFix this by using check_add_overflow() for the alignment round-up and\ncheck_mul_overflow() for the final pitch calculation, returning 0 on\noverflow. Also reject zero pitch and size in\nradeon_mode_dumb_create().\n\nFound via AST-based call-graph analysis using sqry.","publishedAt":"2026-08-15T05:59:22.731Z","updatedAt":"2026-10-30T12:30:01.801Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ff72145badb834e8051719ea66e024784d000cb4","status":"affected","lessThan":"9e0c822907bedeaec317f84e6990d265f03db85d","versionType":"git"},{"version":"ff72145badb834e8051719ea66e024784d000cb4","status":"affected","lessThan":"b7b44937c548c2c987fcdd129f8896741004bed6","versionType":"git"},{"version":"ff72145badb834e8051719ea66e024784d000cb4","status":"affected","lessThan":"415bb9893e249e46aa5159f7363a11512cf06fa9","versionType":"git"},{"version":"ff72145badb834e8051719ea66e024784d000cb4","status":"affected","lessThan":"d9dfa176899d488e48bb7342d2c43ddd36e66318","versionType":"git"},{"version":"ff72145badb834e8051719ea66e024784d000cb4","status":"affected","lessThan":"dfc7b5b5599472277e71e5bd2712740651c7c5be","versionType":"git"},{"version":"ff72145badb834e8051719ea66e024784d000cb4","status":"affected","lessThan":"ce3b24eb3ee8f82de851535f516bf21f83e82259","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/radeon/radeon_gem.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.39","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.39","versionType":"semver"},{"version":"6.1.191","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.145","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.97","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.40","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.5","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","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/radeon/radeon_gem.c"]}],"references":["https://git.kernel.org/stable/c/9e0c822907bedeaec317f84e6990d265f03db85d","https://git.kernel.org/stable/c/b7b44937c548c2c987fcdd129f8896741004bed6","https://git.kernel.org/stable/c/415bb9893e249e46aa5159f7363a11512cf06fa9","https://git.kernel.org/stable/c/d9dfa176899d488e48bb7342d2c43ddd36e66318","https://git.kernel.org/stable/c/dfc7b5b5599472277e71e5bd2712740651c7c5be","https://git.kernel.org/stable/c/ce3b24eb3ee8f82de851535f516bf21f83e82259"],"weaknesses":[],"ingestedAt":"2026-10-30T12:48:04.825Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/74xxx/CVE-2026-74417.json","commit":"1f312381e38164a43607eebab851b151dd16861e","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-74417","state":"PUBLISHED","datePublished":"2026-08-15T05:59:22.731Z","dateUpdated":"2026-10-30T12:30:01.801Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-08-15T05:44:03.893Z"},"containers":{"cna":{"title":"drm/radeon: fix integer overflow in radeon_align_pitch()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/radeon: fix integer overflow in radeon_align_pitch()\n\nradeon_align_pitch() has the same kind of overflow issue as the old\namdgpu helper: both the alignment round-up add and the final\n'aligned * cpp' calculation can overflow signed int.\n\nIf that wraps, radeon_mode_dumb_create() can end up returning an\ninvalid pitch or creating a zero-sized dumb buffer.\n\nFix this by using check_add_overflow() for the alignment round-up and\ncheck_mul_overflow() for the final pitch calculation, returning 0 on\noverflow. Also reject zero pitch and size in\nradeon_mode_dumb_create().\n\nFound via AST-based call-graph analysis using sqry."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ff72145badb834e8051719ea66e024784d000cb4","status":"affected","lessThan":"9e0c822907bedeaec317f84e6990d265f03db85d","versionType":"git"},{"version":"ff72145badb834e8051719ea66e024784d000cb4","status":"affected","lessThan":"b7b44937c548c2c987fcdd129f8896741004bed6","versionType":"git"},{"version":"ff72145badb834e8051719ea66e024784d000cb4","status":"affected","lessThan":"415bb9893e249e46aa5159f7363a11512cf06fa9","versionType":"git"},{"version":"ff72145badb834e8051719ea66e024784d000cb4","status":"affected","lessThan":"d9dfa176899d488e48bb7342d2c43ddd36e66318","versionType":"git"},{"version":"ff72145badb834e8051719ea66e024784d000cb4","status":"affected","lessThan":"dfc7b5b5599472277e71e5bd2712740651c7c5be","versionType":"git"},{"version":"ff72145badb834e8051719ea66e024784d000cb4","status":"affected","lessThan":"ce3b24eb3ee8f82de851535f516bf21f83e82259","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/radeon/radeon_gem.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.39","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.39","versionType":"semver"},{"version":"6.1.191","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.145","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.97","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.40","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.5","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","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/radeon/radeon_gem.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/9e0c822907bedeaec317f84e6990d265f03db85d"},{"url":"https://git.kernel.org/stable/c/b7b44937c548c2c987fcdd129f8896741004bed6"},{"url":"https://git.kernel.org/stable/c/415bb9893e249e46aa5159f7363a11512cf06fa9"},{"url":"https://git.kernel.org/stable/c/d9dfa176899d488e48bb7342d2c43ddd36e66318"},{"url":"https://git.kernel.org/stable/c/dfc7b5b5599472277e71e5bd2712740651c7c5be"},{"url":"https://git.kernel.org/stable/c/ce3b24eb3ee8f82de851535f516bf21f83e82259"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The bug is reached only via DRM_IOCTL_MODE_CREATE_DUMB on a local primary DRM device node (/dev/dri/card*); radeon_drm_ioctl() dispatches to radeon_mode_dumb_create() -> radeon_align_pitch(), with no network, Bluetooth, or remote packet path to this legacy radeon KMS driver.\nAC:L - An attacker fully controls width, height, and bpp in the ioctl and can pick values (e.g. width=0x3FFFFFC0, bpp=32) that pass generic drm_mode_create_dumb() checks yet wrap signed-int pitch math, deterministically yielding zero or invalid pitch without races or uncontrollable layout.\nPR:L - Exploitation requires opening the primary DRM node (render clients are blocked because CREATE_DUMB lacks DRM_RENDER_ALLOW); typical access is via the video group or logind session ACLs, i.e. a low-privileged local account, not root/CAP_SYS_ADMIN in the init namespace.\nUI:N - The attacker triggers the overflow from their own process by issuing CREATE_DUMB with crafted dimensions; no victim must mount filesystems, click links, or perform any separate action.\nS:U - Impact is in-kernel GEM/TTM memory corruption and privilege escalation within the host kernel security boundary, not a KVM guest-to-host escape, IOMMU bypass, or other cross-authority scope change.\nC:H - Signed-int overflow can return pitch 0 or a bogus u32 pitch while drm_mode_create_dumb() already validated a much larger stride, creating undersized VRAM/GTT GEM objects whose metadata mismatches actual backing, enabling out-of-bounds kernel reads of adjacent allocations.\nI:H - A zero-sized or undersized dumb buffer paired with attacker-chosen width/height lets subsequent mmap, map_dumb, and GPU scanout paths treat the object as larger than allocated, corrupting adjacent kernel heap/VRAM objects and enabling control-flow hijack primitives.\nA:H - Pre-fix code allocates zero-byte GEM objects on overflow instead of failing cleanly, and malformed pitch/size metadata can provoke kernel oopses, GPU faults, or repeatable denial of service when the BO is mapped or used for display."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-30T12:30:01.801Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.39","versionEndExcluding":"6.1.191"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.39","versionEndExcluding":"6.6.145"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.39","versionEndExcluding":"6.12.97"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.39","versionEndExcluding":"6.18.40"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.39","versionEndExcluding":"7.1.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.39","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-74417","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2026-10-16T18:56:15.722090Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-16T19:05:44.717Z"}}]}}}