# CVE-2026-64039: drm/msm/snapshot: fix dumping of the unaligned regions

- Severity: High 7.7 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-07-19T15:39:26.695Z
- Modified: 2026-10-13T19:23:01.023Z
- Weaknesses: CWE-131
- Assigned by: Linux

## Description

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/

(As written by CVE List.)

## Affected

- Linux Linux: from 98659487b845c05b6bed85d881713545db674c7c before 8fb070cf95847b29ef6cb15ec2c0de2bf4704676; from 98659487b845c05b6bed85d881713545db674c7c before cecd34e046121d788a70b5c8b4f8a88916637953; from 98659487b845c05b6bed85d881713545db674c7c before 070e40acc59ef7bedba0314f59971ba87fcc8ab0; from 98659487b845c05b6bed85d881713545db674c7c before 1ef79be774706dddcfcace0331fa7ff32a73c73e; from 98659487b845c05b6bed85d881713545db674c7c before cdd1aaf0ee962f50810b9aef7928f2313989d55f; from 98659487b845c05b6bed85d881713545db674c7c before 0c90ececfad3fc5c4c43a75ece0e2d736ab3def1; from 98659487b845c05b6bed85d881713545db674c7c before 76824d2467feb1828b745d6add2541918d7be3da; 5.14 (not affected: before 5.14; from 5.15.209 up to 5.15.*; from 6.1.175 up to 6.1.*; from 6.6.142 up to 6.6.*; from 6.12.92 up to 6.12.*; from 6.18.34 up to 6.18.*; from 7.0.11 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 5.14 before 5.15.209; from 5.16 before 6.1.175; from 6.2 before 6.6.142; from 6.7 before 6.12.92; from 6.13 before 6.18.34; from 6.19 before 7.0.11; 7.1

## References

- <https://git.kernel.org/stable/c/8fb070cf95847b29ef6cb15ec2c0de2bf4704676> (patch)
- <https://git.kernel.org/stable/c/cecd34e046121d788a70b5c8b4f8a88916637953> (patch)
- <https://git.kernel.org/stable/c/070e40acc59ef7bedba0314f59971ba87fcc8ab0> (patch)
- <https://git.kernel.org/stable/c/1ef79be774706dddcfcace0331fa7ff32a73c73e> (patch)
- <https://git.kernel.org/stable/c/cdd1aaf0ee962f50810b9aef7928f2313989d55f> (patch)
- <https://git.kernel.org/stable/c/0c90ececfad3fc5c4c43a75ece0e2d736ab3def1> (patch)
- <https://git.kernel.org/stable/c/76824d2467feb1828b745d6add2541918d7be3da> (patch)

## Sources

- CVE List: [CVE-2026-64039](https://www.cve.org/CVERecord?id=CVE-2026-64039), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2026-64039](https://nvd.nist.gov/vuln/detail/CVE-2026-64039), Public domain, modified 2026-10-13

---

Page: https://cve.day/CVE-2026-64039 · Whole record: https://cve.day/CVE-2026-64039.json · Rebuilt by cve.day 2026-11-25T22:59:28.957Z
