{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-64039","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-07-19T07:54:57.028Z","datePublished":"2026-07-19T15:39:26.695Z","dateUpdated":"2026-08-05T12:38:32.825Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-05T12:38:32.825Z"},"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":{"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"},"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× 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× per-block over-allocation during error snapshots can exhaust kernel memory and crash or hang the system."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/msm/disp/msm_disp_snapshot_util.c"],"versions":[{"version":"98659487b845c05b6bed85d881713545db674c7c","lessThan":"8fb070cf95847b29ef6cb15ec2c0de2bf4704676","status":"affected","versionType":"git"},{"version":"98659487b845c05b6bed85d881713545db674c7c","lessThan":"cecd34e046121d788a70b5c8b4f8a88916637953","status":"affected","versionType":"git"},{"version":"98659487b845c05b6bed85d881713545db674c7c","lessThan":"070e40acc59ef7bedba0314f59971ba87fcc8ab0","status":"affected","versionType":"git"},{"version":"98659487b845c05b6bed85d881713545db674c7c","lessThan":"1ef79be774706dddcfcace0331fa7ff32a73c73e","status":"affected","versionType":"git"},{"version":"98659487b845c05b6bed85d881713545db674c7c","lessThan":"cdd1aaf0ee962f50810b9aef7928f2313989d55f","status":"affected","versionType":"git"},{"version":"98659487b845c05b6bed85d881713545db674c7c","lessThan":"0c90ececfad3fc5c4c43a75ece0e2d736ab3def1","status":"affected","versionType":"git"},{"version":"98659487b845c05b6bed85d881713545db674c7c","lessThan":"76824d2467feb1828b745d6add2541918d7be3da","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/msm/disp/msm_disp_snapshot_util.c"],"versions":[{"version":"5.14","status":"affected"},{"version":"0","lessThan":"5.14","status":"unaffected","versionType":"semver"},{"version":"5.15.209","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.175","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.142","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.92","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.34","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.0.11","lessThanOrEqual":"7.0.*","status":"unaffected","versionType":"semver"},{"version":"7.1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.14","versionEndExcluding":"5.15.209"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.14","versionEndExcluding":"6.1.175"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.14","versionEndExcluding":"6.6.142"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.14","versionEndExcluding":"6.12.92"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.14","versionEndExcluding":"6.18.34"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.14","versionEndExcluding":"7.0.11"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.14","versionEndExcluding":"7.1"}]}]}],"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"}}}}