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

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2025-11-12T21:56:25.395Z
- Modified: 2026-10-30T13:18:14.400Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 4981b82ba2ff87df6a711fcd7a233c615df5fc79 before b91951f76be14a393439c7063974b4d26f3cb64f; from 4981b82ba2ff87df6a711fcd7a233c615df5fc79 before 47a92030422d09c2de0633d23f660a65b717f008; from 4981b82ba2ff87df6a711fcd7a233c615df5fc79 before cd0cbf2713f6e027ebba867cb7409ae345a31312; from 4981b82ba2ff87df6a711fcd7a233c615df5fc79 before ab96f08ecedd263ecaab9df8455bfb23b07fdcc2; from 4981b82ba2ff87df6a711fcd7a233c615df5fc79 before 0aead8197fc1a85b0a89646e418feb49a564b029; 5.1 (not affected: before 5.1; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.54 up to 6.12.*; from 6.17.4 up to 6.17.*; from 6.18 up to *)

## References

- <https://git.kernel.org/stable/c/b91951f76be14a393439c7063974b4d26f3cb64f>
- <https://git.kernel.org/stable/c/47a92030422d09c2de0633d23f660a65b717f008>
- <https://git.kernel.org/stable/c/cd0cbf2713f6e027ebba867cb7409ae345a31312>
- <https://git.kernel.org/stable/c/ab96f08ecedd263ecaab9df8455bfb23b07fdcc2>
- <https://git.kernel.org/stable/c/0aead8197fc1a85b0a89646e418feb49a564b029>

## Sources

- CVE List: [CVE-2025-40180](https://www.cve.org/CVERecord?id=CVE-2025-40180), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2025-40180](https://nvd.nist.gov/vuln/detail/CVE-2025-40180), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2025-40180 · Whole record: https://cve.day/CVE-2025-40180.json · Rebuilt by cve.day 2026-11-25T22:59:07.589Z
