GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2026-74417 (GCVE-0-2026-74417)

Vulnerability from cvelistv5 – Published: 2026-08-15 05:59 – Updated: 2026-08-17 05:46
VLAI
Title
drm/radeon: fix integer overflow in radeon_align_pitch()
Summary
In the Linux kernel, the following vulnerability has been resolved: drm/radeon: fix integer overflow in radeon_align_pitch() radeon_align_pitch() has the same kind of overflow issue as the old amdgpu helper: both the alignment round-up add and the final 'aligned * cpp' calculation can overflow signed int. If that wraps, radeon_mode_dumb_create() can end up returning an invalid pitch or creating a zero-sized dumb buffer. Fix this by using check_add_overflow() for the alignment round-up and check_mul_overflow() for the final pitch calculation, returning 0 on overflow. Also reject zero pitch and size in radeon_mode_dumb_create(). Found via AST-based call-graph analysis using sqry.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: ff72145badb834e8051719ea66e024784d000cb4 , < b7b44937c548c2c987fcdd129f8896741004bed6 (git)
Affected: ff72145badb834e8051719ea66e024784d000cb4 , < 415bb9893e249e46aa5159f7363a11512cf06fa9 (git)
Affected: ff72145badb834e8051719ea66e024784d000cb4 , < d9dfa176899d488e48bb7342d2c43ddd36e66318 (git)
Affected: ff72145badb834e8051719ea66e024784d000cb4 , < dfc7b5b5599472277e71e5bd2712740651c7c5be (git)
Affected: ff72145badb834e8051719ea66e024784d000cb4 , < ce3b24eb3ee8f82de851535f516bf21f83e82259 (git)
guessed Create a notification for this product.
Linux Linux Affected: 2.6.39
Unaffected: 0 , < 2.6.39 (semver)
Unaffected: 6.6.145 , ≤ 6.6.* (semver)
Unaffected: 6.12.97 , ≤ 6.12.* (semver)
Unaffected: 6.18.40 , ≤ 6.18.* (semver)
Unaffected: 7.1.5 , ≤ 7.1.* (semver)
Unaffected: 7.2 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/radeon/radeon_gem.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "b7b44937c548c2c987fcdd129f8896741004bed6",
              "status": "affected",
              "version": "ff72145badb834e8051719ea66e024784d000cb4",
              "versionType": "git"
            },
            {
              "lessThan": "415bb9893e249e46aa5159f7363a11512cf06fa9",
              "status": "affected",
              "version": "ff72145badb834e8051719ea66e024784d000cb4",
              "versionType": "git"
            },
            {
              "lessThan": "d9dfa176899d488e48bb7342d2c43ddd36e66318",
              "status": "affected",
              "version": "ff72145badb834e8051719ea66e024784d000cb4",
              "versionType": "git"
            },
            {
              "lessThan": "dfc7b5b5599472277e71e5bd2712740651c7c5be",
              "status": "affected",
              "version": "ff72145badb834e8051719ea66e024784d000cb4",
              "versionType": "git"
            },
            {
              "lessThan": "ce3b24eb3ee8f82de851535f516bf21f83e82259",
              "status": "affected",
              "version": "ff72145badb834e8051719ea66e024784d000cb4",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/radeon/radeon_gem.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "2.6.39"
            },
            {
              "lessThan": "2.6.39",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.145",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.97",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.40",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.145",
                  "versionStartIncluding": "2.6.39",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.97",
                  "versionStartIncluding": "2.6.39",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.40",
                  "versionStartIncluding": "2.6.39",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.5",
                  "versionStartIncluding": "2.6.39",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "2.6.39",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "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\u0027aligned * cpp\u0027 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."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "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() -\u003e 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": {
        "dateUpdated": "2026-08-17T05:46:58.637Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "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"
        }
      ],
      "title": "drm/radeon: fix integer overflow in radeon_align_pitch()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-74417",
    "datePublished": "2026-08-15T05:59:22.731Z",
    "dateReserved": "2026-08-15T05:44:03.893Z",
    "dateUpdated": "2026-08-17T05:46:58.637Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-74417",
      "date": "2026-09-05",
      "epss": "0.0012",
      "percentile": "0.02017"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-74417\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-08-15T06:22:43.807\",\"lastModified\":\"2026-08-17T06:19:37.167\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"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\u0027aligned * cpp\u0027 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\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/gpu/drm/radeon/radeon_gem.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"ff72145badb834e8051719ea66e024784d000cb4\",\"lessThan\":\"b7b44937c548c2c987fcdd129f8896741004bed6\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"ff72145badb834e8051719ea66e024784d000cb4\",\"lessThan\":\"415bb9893e249e46aa5159f7363a11512cf06fa9\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"ff72145badb834e8051719ea66e024784d000cb4\",\"lessThan\":\"d9dfa176899d488e48bb7342d2c43ddd36e66318\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"ff72145badb834e8051719ea66e024784d000cb4\",\"lessThan\":\"dfc7b5b5599472277e71e5bd2712740651c7c5be\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"ff72145badb834e8051719ea66e024784d000cb4\",\"lessThan\":\"ce3b24eb3ee8f82de851535f516bf21f83e82259\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/gpu/drm/radeon/radeon_gem.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"2.6.39\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"2.6.39\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.145\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.97\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.40\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1.5\",\"lessThanOrEqual\":\"7.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.2\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"type\":\"Secondary\",\"cvssData\":{\"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\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.9}]},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/415bb9893e249e46aa5159f7363a11512cf06fa9\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b7b44937c548c2c987fcdd129f8896741004bed6\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ce3b24eb3ee8f82de851535f516bf21f83e82259\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d9dfa176899d488e48bb7342d2c43ddd36e66318\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/dfc7b5b5599472277e71e5bd2712740651c7c5be\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-08-20T22:17:59+00:00",
      "cve": "CVE-2026-74417",
      "id": "CVE-2026-74417",
      "initial_release_date": "2026-08-15T00:00:00+00:00",
      "product_status:known_affected": "274",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: drm/radeon: fix integer overflow in radeon_align_pitch()",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-74417.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…