drm/msm/snapshot: fix dumping of the unaligned regions
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 7.7epss 0.2%
exploitation probability
0.2%top 92% of all CVEs
observed exploitation
nono source reports it
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/
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Affected products
Linux · LinuxReferences
https://git.kernel.org/stable/c/070e40acc59ef7bedba0314f59971ba87fcc8ab0https://git.kernel.org/stable/c/0c90ececfad3fc5c4c43a75ece0e2d736ab3def1https://git.kernel.org/stable/c/1ef79be774706dddcfcace0331fa7ff32a73c73ehttps://git.kernel.org/stable/c/76824d2467feb1828b745d6add2541918d7be3dahttps://git.kernel.org/stable/c/8fb070cf95847b29ef6cb15ec2c0de2bf4704676https://git.kernel.org/stable/c/cdd1aaf0ee962f50810b9aef7928f2313989d55fhttps://git.kernel.org/stable/c/cecd34e046121d788a70b5c8b4f8a88916637953