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

Published Jul 19, 2026
·
Updated

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 msmdispstatedumpregs().

Patchwork: https://patchwork.freedesktop.org/patch/725449/

Affected Software

11 affected components
Linux Linux kernel
Linux Linux kernel>=5.14<5.15.209
Linux Linux kernel>=5.16<6.1.175
Linux Linux kernel>=6.2<6.6.142
Linux Linux kernel>=6.7<6.12.92
Linux Linux kernel>=6.13<6.18.34
Linux Linux kernel>=6.19<7.0.11
Linux Linux kernel=7.1-rc1
Linux Linux kernel=7.1-rc2
Linux Linux kernel=7.1-rc3
Linux Linux kernel=7.1-rc4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In the DRM MSM snapshotting code, remove the 16-byte data-segment length alignment so unaligned regions, including the DSI data region shifted by 4 bytes, are dumped accurately and the 16x memory overallocation in msm_disp_state_dump_regs() is avoided.

Event History

Jul 19, 2026
CVE Published
via MITRE·03:39 PM
Data Sourced
via MITRE·03:39 PM
DescriptionSeverity
Data Sourced
via NVD·04:17 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What access does an attacker need to exploit this issue?

The vulnerability is rated as locally exploitable with low attack complexity. The vector indicates no privileges or user interaction are required.

2

Which display snapshot paths are most relevant to this issue?

The failure is specifically associated with snapshotting DSI data, whose region is shifted by 4 bytes and can be unaligned. DPU snapshot regions are generally aligned and the existing behavior works for most of them.

3

What is the potential security impact?

The supplied severity vector indicates high confidentiality and availability impact, with no integrity impact.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203