# scsi: pm80xx: Fix array-index-out-of-of-bounds on rmmod

CVE record · `CVE-2025-40118`

- **Identifiers:** `CVE-2025-40118`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 12 Nov 2025
- **Updated:** 5 Aug 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 12 Nov 2025, 10:23 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `05b512879eab41faa515b67fa3896d0005e97909 to before d94be0a6ae9ade706d4270e740bdb4f79953a7fc` (git)
  - affected: `bc2140c8136200b4437e1abc0fb659968cb9baab to before 45acbf154befedd9bc135f5e031fe7855d1e6493` (git)
  - affected: `1d8f9378cb4800c18e20d80ecd605b2b93e87a03 to before eef5ef400893f8e3dbb09342583be0cdc716d566` (git)
  - affected: `30e482dfb8f27d22f518695d4bcb5e7f4c6cb08a to before 9c671d4dbfbfb0d73cfdfb706afb36d9ad60a582` (git)
  - affected: `a862d24e1fc3ab1b5e5f20878d2898cea346d0ec to before e62251954a128a2d0fcbc19e5fa39e08935bb628` (git)
  - affected: `0f9802f174227f553959422f844eeb9ba72467fe to before 9326a1541e1b7ed3efdbab72061b82cf01c6477a` (git)
  - affected: `f7b705c238d1483f0a766e2b20010f176e5c0fb7 to before 83ced3c206c292458e47c7fac54223abc7141585` (git)
  - affected: `f7b705c238d1483f0a766e2b20010f176e5c0fb7 to before 251be2f6037fb7ab399f68cd7428ff274133d693` (git)
  - affected: `722026c010fa75bcf9e2373aff1d7930a3d7e3cf` (git)
  - affected: `5.4.293 to before 5.4.301` (semver)
  - affected: `5.10.237 to before 5.10.246` (semver)
  - affected: `5.15.181 to before 5.15.195` (semver)
  - and 4 more
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `6.15`
  - unaffected: `before 6.15` (semver)
  - unaffected: `5.4.301 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.246 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.195 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.156 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.112 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.53 to 6.12.*, inclusive` (semver)
  - unaffected: `6.17.3 to 6.17.*, inclusive` (semver)
  - unaffected: `6.18 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 7.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0017, the 5th percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 12 Nov 2025. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2025-40118](https://www.cve.org/CVERecord?id=CVE-2025-40118)
- [NVD: CVE-2025-40118](https://nvd.nist.gov/vuln/detail/CVE-2025-40118)

### References from the CNA

- <https://git.kernel.org/stable/c/d94be0a6ae9ade706d4270e740bdb4f79953a7fc>
- <https://git.kernel.org/stable/c/45acbf154befedd9bc135f5e031fe7855d1e6493>
- <https://git.kernel.org/stable/c/eef5ef400893f8e3dbb09342583be0cdc716d566>
- <https://git.kernel.org/stable/c/9c671d4dbfbfb0d73cfdfb706afb36d9ad60a582>
- <https://git.kernel.org/stable/c/e62251954a128a2d0fcbc19e5fa39e08935bb628>
- <https://git.kernel.org/stable/c/9326a1541e1b7ed3efdbab72061b82cf01c6477a>
- <https://git.kernel.org/stable/c/83ced3c206c292458e47c7fac54223abc7141585>
- <https://git.kernel.org/stable/c/251be2f6037fb7ab399f68cd7428ff274133d693>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2025-40118>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2025-40118/>. Everything for agents: <https://agentprime.io/llms.txt>.
