aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/extract-fwblobs
diff options
context:
space:
mode:
authorMichal Wilczynski <[email protected]>2024-12-02 10:05:35 +0000
committerJassi Brar <[email protected]>2025-01-18 22:20:55 +0000
commitdb049866943a38bf46a34fa120d526663339d7a5 (patch)
tree6110f3a6dd59cfb53dc64e2136127fcd2d275d52 /scripts/extract-fwblobs
parentmailbox: zynqmp: Remove invalid __percpu annotation in zynqmp_ipi_probe() (diff)
downloadkernel-db049866943a38bf46a34fa120d526663339d7a5.tar.gz
kernel-db049866943a38bf46a34fa120d526663339d7a5.zip
mailbox: th1520: Fix memory corruption due to incorrect array size
The functions th1520_mbox_suspend_noirq and th1520_mbox_resume_noirq are intended to save and restore the interrupt mask registers in the MBOX ICU0. However, the array used to store these registers was incorrectly sized, leading to memory corruption when accessing all four registers. This commit corrects the array size to accommodate all four interrupt mask registers, preventing memory corruption during suspend and resume operations. Fixes: 5d4d263e1c6b ("mailbox: Introduce support for T-head TH1520 Mailbox driver") Reported-by: Dan Carpenter <[email protected]> Closes: https://lore.kernel.org/all/[email protected]/ Signed-off-by: Michal Wilczynski <[email protected]> Signed-off-by: Jassi Brar <[email protected]>
Diffstat (limited to 'scripts/extract-fwblobs')
0 files changed, 0 insertions, 0 deletions