← CVE Intelligence

CVE-2024-57983

mailbox: th1520: Fix memory corruption due to incorrect array size PUBLISHED

Description (CNA)

In the Linux kernel, the following vulnerability has been resolved: 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.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 5d4d263e1c6b6b18acb4d67fd3b9af71b7404924 before 2cd12c7fba59f30369e8647a2b726c7280903304; affected 5d4d263e1c6b6b18acb4d67fd3b9af71b7404924 before db049866943a38bf46a34fa120d526663339d7a5
Linux / Linuxaffected 6.13; unaffected 0 before 6.13; unaffected 6.13.2 through 6.13.*; unaffected 6.14 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.