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/
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
98659487b845c05b6bed85d881713545db674c7c to < 8fb070cf95847b29ef6cb15ec2c0de2bf4704676affected98659487b845c05b6bed85d881713545db674c7c to < cecd34e046121d788a70b5c8b4f8a88916637953affected98659487b845c05b6bed85d881713545db674c7c to < 070e40acc59ef7bedba0314f59971ba87fcc8ab0affected98659487b845c05b6bed85d881713545db674c7c to < 1ef79be774706dddcfcace0331fa7ff32a73c73eaffected98659487b845c05b6bed85d881713545db674c7c to < cdd1aaf0ee962f50810b9aef7928f2313989d55faffected98659487b845c05b6bed85d881713545db674c7c to < 0c90ececfad3fc5c4c43a75ece0e2d736ab3def1affected98659487b845c05b6bed85d881713545db674c7c to < 76824d2467feb1828b745d6add2541918d7be3daaffected
Linux Linux
Default version status: affected
5.14affected0 to < 5.14unaffected5.15.209 to ≤ 5.15.*unaffected6.1.175 to ≤ 6.1.*unaffected6.6.142 to ≤ 6.6.*unaffected6.12.92 to ≤ 6.12.*unaffected6.18.34 to ≤ 6.18.*unaffected7.0.11 to ≤ 7.0.*unaffected7.1 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/8fb070cf95847b29ef6cb15ec2c0de2bf4704676 ↗
- https://git.kernel.org/stable/c/cecd34e046121d788a70b5c8b4f8a88916637953 ↗
- https://git.kernel.org/stable/c/070e40acc59ef7bedba0314f59971ba87fcc8ab0 ↗
- https://git.kernel.org/stable/c/1ef79be774706dddcfcace0331fa7ff32a73c73e ↗
- https://git.kernel.org/stable/c/cdd1aaf0ee962f50810b9aef7928f2313989d55f ↗
- https://git.kernel.org/stable/c/0c90ececfad3fc5c4c43a75ece0e2d736ab3def1 ↗
- https://git.kernel.org/stable/c/76824d2467feb1828b745d6add2541918d7be3da ↗