CVE-2025-40180 mailbox: zynqmp-ipi: Fix out-of-bounds access in mailbox cleanup loop

Not scored Published Updated

Out-of-bounds access in the ZynqMP IPI mailbox driver cleanup loop can lead to memory corruption and potential system crashes or code execution.

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

What is CVE-2025-40180?

CVE-2025-40180 is a memory corruption vulnerability in Linux, published on 12 Nov 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: zynqmp-ipi: Fix out-of-bounds access in mailbox cleanup loop

The cleanup loop was starting at the wrong array index, causing out-of-bounds access. Start the loop at the correct index for zero-indexed arrays to prevent accessing memory beyond the allocated array bounds.

Which versions are affected by CVE-2025-40180?

How do I fix CVE-2025-40180?

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-2025-40180 being exploited?

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

Sources

Also known as AZL-70064, BELL-CVE-2025-40180, DEBIAN-CVE-2025-40180, GHSA-78x4-5hh5-f94g, ROOT-OS-DEBIAN-11-CVE-2025-40180, ROOT-OS-DEBIAN-12-CVE-2025-40180 and 4 more.

Is CVE-2025-40180 in your software?

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

Check your SBOMs for free