CVE-2026-64039 (GCVE-0-2026-64039)

Vulnerability from cvelistv5 – Published: 2026-07-19 15:39 – Updated: 2026-08-05 12:38
VLAI
Title
drm/msm/snapshot: fix dumping of the unaligned regions
Summary
In the Linux kernel, the following vulnerability has been resolved: drm/msm/snapshot: fix dumping of the unaligned regions The snapshotting code internally aligns data segment to 16 bytes. This works fine for DPU code (where most of the regions are aligned), but fails for snapshotting of the DSI data (because DSI data region is shifted by 4 bytes). Fix the code by removing length alignment and by accurately printing last registers in the region. While reworking the code also fix the 16x memory overallocation in msm_disp_state_dump_regs(). Patchwork: https://patchwork.freedesktop.org/patch/725449/
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 98659487b845c05b6bed85d881713545db674c7c , < 8fb070cf95847b29ef6cb15ec2c0de2bf4704676 (git)
Affected: 98659487b845c05b6bed85d881713545db674c7c , < cecd34e046121d788a70b5c8b4f8a88916637953 (git)
Affected: 98659487b845c05b6bed85d881713545db674c7c , < 070e40acc59ef7bedba0314f59971ba87fcc8ab0 (git)
Affected: 98659487b845c05b6bed85d881713545db674c7c , < 1ef79be774706dddcfcace0331fa7ff32a73c73e (git)
Affected: 98659487b845c05b6bed85d881713545db674c7c , < cdd1aaf0ee962f50810b9aef7928f2313989d55f (git)
Affected: 98659487b845c05b6bed85d881713545db674c7c , < 0c90ececfad3fc5c4c43a75ece0e2d736ab3def1 (git)
Affected: 98659487b845c05b6bed85d881713545db674c7c , < 76824d2467feb1828b745d6add2541918d7be3da (git)
Create a notification for this product.
Linux Linux Affected: 5.14
Unaffected: 0 , < 5.14 (semver)
Unaffected: 5.15.209 , ≤ 5.15.* (semver)
Unaffected: 6.1.175 , ≤ 6.1.* (semver)
Unaffected: 6.6.142 , ≤ 6.6.* (semver)
Unaffected: 6.12.92 , ≤ 6.12.* (semver)
Unaffected: 6.18.34 , ≤ 6.18.* (semver)
Unaffected: 7.0.11 , ≤ 7.0.* (semver)
Unaffected: 7.1 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/msm/disp/msm_disp_snapshot_util.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "8fb070cf95847b29ef6cb15ec2c0de2bf4704676",
              "status": "affected",
              "version": "98659487b845c05b6bed85d881713545db674c7c",
              "versionType": "git"
            },
            {
              "lessThan": "cecd34e046121d788a70b5c8b4f8a88916637953",
              "status": "affected",
              "version": "98659487b845c05b6bed85d881713545db674c7c",
              "versionType": "git"
            },
            {
              "lessThan": "070e40acc59ef7bedba0314f59971ba87fcc8ab0",
              "status": "affected",
              "version": "98659487b845c05b6bed85d881713545db674c7c",
              "versionType": "git"
            },
            {
              "lessThan": "1ef79be774706dddcfcace0331fa7ff32a73c73e",
              "status": "affected",
              "version": "98659487b845c05b6bed85d881713545db674c7c",
              "versionType": "git"
            },
            {
              "lessThan": "cdd1aaf0ee962f50810b9aef7928f2313989d55f",
              "status": "affected",
              "version": "98659487b845c05b6bed85d881713545db674c7c",
              "versionType": "git"
            },
            {
              "lessThan": "0c90ececfad3fc5c4c43a75ece0e2d736ab3def1",
              "status": "affected",
              "version": "98659487b845c05b6bed85d881713545db674c7c",
              "versionType": "git"
            },
            {
              "lessThan": "76824d2467feb1828b745d6add2541918d7be3da",
              "status": "affected",
              "version": "98659487b845c05b6bed85d881713545db674c7c",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/msm/disp/msm_disp_snapshot_util.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.14"
            },
            {
              "lessThan": "5.14",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.209",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.175",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.142",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.92",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.34",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.0.*",
              "status": "unaffected",
              "version": "7.0.11",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.209",
                  "versionStartIncluding": "5.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.175",
                  "versionStartIncluding": "5.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.142",
                  "versionStartIncluding": "5.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.92",
                  "versionStartIncluding": "5.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.34",
                  "versionStartIncluding": "5.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0.11",
                  "versionStartIncluding": "5.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1",
                  "versionStartIncluding": "5.14",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/msm/snapshot: fix dumping of the unaligned regions\n\nThe snapshotting code internally aligns data segment to 16 bytes. This\nworks fine for DPU code (where most of the regions are aligned), but\nfails for snapshotting of the DSI data (because DSI data region is\nshifted by 4 bytes). Fix the code by removing length alignment and by\naccurately printing last registers in the region. While reworking the\ncode also fix the 16x memory overallocation in\nmsm_disp_state_dump_regs().\n\nPatchwork: https://patchwork.freedesktop.org/patch/725449/"
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.7,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The vulnerable code is reached only from kernel-local display debug/snapshot paths (error handlers, debugfs, devcoredump) in the MSM DRM/KMS driver, not from any network protocol.\nAC:L - On affected Qualcomm DSI 6G hardware the 4-byte register offset makes region sizes non-16-byte-aligned predictably, so once a display snapshot is triggered the out-of-bounds MMIO read and 16\u00d7 over-allocation occur reliably without attacker-dependent race or layout conditions.\nPR:N - Snapshot capture is invoked automatically on display error IRQ/workqueue paths that can be induced by an unprivileged local app stressing the GPU/display pipeline on Android/embedded MSM devices, without root, capabilities, or debugfs access.\nUI:N - Exploitation requires no victim interaction beyond normal device use; display-error snapshots fire from kernel error handlers without the user opening files or mounting filesystems.\nS:U - Impact is confined to kernel/driver state on the local host (crash, MMIO OOB read, memory pressure); it does not cross a VM, container, or IOMMU security boundary.\nC:H - The bug performs out-of-bounds MMIO reads past the mapped DSI register window (up to the alignment padding per block), storing returned hardware register values into the kernel snapshot buffer that is later exposed via devcoredump.\nI:N - The flaw is an out-of-bounds read and erroneous allocation sizing only; it does not corrupt kernel memory or provide a write primitive.\nA:H - Out-of-bounds MMIO accesses can provoke synchronous external aborts/kernel oops on ARM platforms, and the 16\u00d7 per-block over-allocation during error snapshots can exhaust kernel memory and crash or hang the system."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T12:38:32.825Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/8fb070cf95847b29ef6cb15ec2c0de2bf4704676"
        },
        {
          "url": "https://git.kernel.org/stable/c/cecd34e046121d788a70b5c8b4f8a88916637953"
        },
        {
          "url": "https://git.kernel.org/stable/c/070e40acc59ef7bedba0314f59971ba87fcc8ab0"
        },
        {
          "url": "https://git.kernel.org/stable/c/1ef79be774706dddcfcace0331fa7ff32a73c73e"
        },
        {
          "url": "https://git.kernel.org/stable/c/cdd1aaf0ee962f50810b9aef7928f2313989d55f"
        },
        {
          "url": "https://git.kernel.org/stable/c/0c90ececfad3fc5c4c43a75ece0e2d736ab3def1"
        },
        {
          "url": "https://git.kernel.org/stable/c/76824d2467feb1828b745d6add2541918d7be3da"
        }
      ],
      "title": "drm/msm/snapshot: fix dumping of the unaligned regions",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-64039",
    "datePublished": "2026-07-19T15:39:26.695Z",
    "dateReserved": "2026-07-19T07:54:57.028Z",
    "dateUpdated": "2026-08-05T12:38:32.825Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-64039",
      "date": "2026-08-11",
      "epss": "0.0018",
      "percentile": "0.07792"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-64039\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-07-19T16:17:44.153\",\"lastModified\":\"2026-07-30T14:59:47.950\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\ndrm/msm/snapshot: fix dumping of the unaligned regions\\n\\nThe snapshotting code internally aligns data segment to 16 bytes. This\\nworks fine for DPU code (where most of the regions are aligned), but\\nfails for snapshotting of the DSI data (because DSI data region is\\nshifted by 4 bytes). Fix the code by removing length alignment and by\\naccurately printing last registers in the region. While reworking the\\ncode also fix the 16x memory overallocation in\\nmsm_disp_state_dump_regs().\\n\\nPatchwork: https://patchwork.freedesktop.org/patch/725449/\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/gpu/drm/msm/disp/msm_disp_snapshot_util.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"98659487b845c05b6bed85d881713545db674c7c\",\"lessThan\":\"8fb070cf95847b29ef6cb15ec2c0de2bf4704676\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"98659487b845c05b6bed85d881713545db674c7c\",\"lessThan\":\"cecd34e046121d788a70b5c8b4f8a88916637953\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"98659487b845c05b6bed85d881713545db674c7c\",\"lessThan\":\"070e40acc59ef7bedba0314f59971ba87fcc8ab0\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"98659487b845c05b6bed85d881713545db674c7c\",\"lessThan\":\"1ef79be774706dddcfcace0331fa7ff32a73c73e\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"98659487b845c05b6bed85d881713545db674c7c\",\"lessThan\":\"cdd1aaf0ee962f50810b9aef7928f2313989d55f\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"98659487b845c05b6bed85d881713545db674c7c\",\"lessThan\":\"0c90ececfad3fc5c4c43a75ece0e2d736ab3def1\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"98659487b845c05b6bed85d881713545db674c7c\",\"lessThan\":\"76824d2467feb1828b745d6add2541918d7be3da\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/gpu/drm/msm/disp/msm_disp_snapshot_util.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\":\"5.15.209\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.175\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.142\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.92\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.34\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.0.11\",\"lessThanOrEqual\":\"7.0.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1\",\"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:N/UI:N/S:U/C:H/I:N/A:H\",\"baseScore\":7.7,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":2.5,\"impactScore\":5.2}]},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/070e40acc59ef7bedba0314f59971ba87fcc8ab0\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/0c90ececfad3fc5c4c43a75ece0e2d736ab3def1\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/1ef79be774706dddcfcace0331fa7ff32a73c73e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/76824d2467feb1828b745d6add2541918d7be3da\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/8fb070cf95847b29ef6cb15ec2c0de2bf4704676\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/cdd1aaf0ee962f50810b9aef7928f2313989d55f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/cecd34e046121d788a70b5c8b4f8a88916637953\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Low",
      "current_release_date": "2026-07-21T06:27:35+00:00",
      "cve": "CVE-2026-64039",
      "id": "CVE-2026-64039",
      "initial_release_date": "2026-07-19T00:00:00+00:00",
      "product_status:known_not_affected": "274",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: drm/msm/snapshot: fix dumping of the unaligned regions",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-64039.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-08-07T17:00:56Z",
      "cve": "CVE-2026-64039",
      "id": "CVE-2026-64039",
      "initial_release_date": "2026-07-21T13:00:55Z",
      "product_status:known_not_affected": "298",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-64039",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-64039.json",
      "version": "4"
    }
  }
}



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…