BreachSpiderVerified, not vibes

CVE-2025-40118 in Clear products

High 7.8

In the Linux kernel, the following vulnerability has been resolved: scsi: pm80xx: Fix array-index-out-of-of-bounds on rmmod Since commit f7b705c238d1 ("scsi: pm80xx: Set phy_attached to zero when device is gone") UBSAN reports: UBSAN: array-index-out-of-bounds in drivers/scsi/pm8001/pm8001_sas.c:786:17 index ...

Affects 1 product from 3 vendors. Facts below cite their sources.

CVSS 3.17.8
EPSS0.2%
EPSS percentile9th
FixUnknown

Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Clear — —
Kernel — —
Linux Linux 6.15 ≥ 5.4.293, < 5.4.301 ≥ 5.10.237, < 5.10.246 ≥ 5.15.181, < 5.15.195 ≥ 6.1.136, < 6.1.156 ≥ 6.6.89, < 6.6.112
+2 more≥ 6.12.26, < 6.12.53 ≥ 6.14.5, < 6.15

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

In the Linux kernel, the following vulnerability has been resolved: scsi: pm80xx: Fix array-index-out-of-of-bounds on rmmod Since commit f7b705c238d1 ("scsi: pm80xx: Set phy_attached to zero when device is gone") UBSAN reports: UBSAN: array-index-out-of-bounds in drivers/scsi/pm8001/pm8001_sas.c:786:17 index 28 is out of range for type 'pm8001_phy [16]' on rmmod when using an expander. For a direct attached device, attached_phy contains the local phy id. For a device behind an expander, attached_phy contains the remote phy id, not the local phy id. I.e. while pm8001_ha will have pm8001_ha->chip->n_phy local phys, for a device behind an expander, attached_phy can be much larger than pm8001_ha->chip->n_phy (depending on the amount of phys of the expander). E.g. on my system pm8001_ha has 8 phys with phy ids 0-7. One of the ports has an expander connected. The expander has 31 phys with phy ids 0-30. The pm8001_ha->phy array only contains the phys of the HBA. It does not contain the phys of the expander. Thus, it is wrong to use attached_phy to index the pm8001_ha->phy array for a device behind an expander. Thus, we can only clear phy_attached for devices that are directly attached.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2025-40118
BreachSpider IDBS-2025-GLOBAL-258840-I
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published2025-11-12
Last modified2026-10-19
SourceNVD

Analysis AI-written, not human-reviewed

A vulnerability in the Linux kernel's pm80xx SCSI driver can lead to an array-index-out-of-bounds error when the module is removed (rmmod) if an expander is in use. This issue is resolved in a recent commit.

The vulnerability occurs during the module unload process (rmmod) when the pm80xx SCSI driver interacts with an expander. The specific issue is an array-index-out-of-bounds error in the pm8001_sas.c file, which can be triggered by the UBSAN (Undefined Behavior Sanitizer) reporting an out-of-range index access.

Questions

What is CVE-2025-40118?

A vulnerability in the Linux kernel's pm80xx SCSI driver can lead to an array-index-out-of-bounds error when the module is removed (rmmod) if an expander is in use. This issue is resolved in a recent commit.

What is the CVSS score for CVE-2025-40118?

CVE-2025-40118 has CVSS 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.2%.

Is CVE-2025-40118 actively exploited?

No confirmed active exploitation of CVE-2025-40118 as of 2026-10-25.

How do I remediate CVE-2025-40118?

Priority: MEDIUM.

What systems are affected by CVE-2025-40118?

CVE-2025-40118 affects Clear; Kernel; Linux Linux.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Clear","product":"EDS-518A","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-19.