CVE-2024-57983 mailbox: th1520: Fix memory corruption due to incorrect array size

High 7.8 Published Updated

A memory corruption vulnerability in the Linux kernel th1520 mailbox driver allows attackers to potentially execute code or escalate privileges via incorrect array sizing during suspend/resume.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-57983?

CVE-2024-57983 is a high-severity memory corruption vulnerability in Linux kernel, published on 27 Feb 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-787

Which versions are affected by CVE-2024-57983?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-57983?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2024-57983 being exploited?

There is no known exploitation of CVE-2024-57983 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-57983, GHSA-rvw8-5cm3-p38j, UBUNTU-CVE-2024-57983.

Is CVE-2024-57983 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free