Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2025-40118

7.8 · HIGH
Published Nov 12, 2025 EPSS 0.15% (5th pctl)

Overview

CVE-2025-40118 is a high-severity vulnerability. It was published on November 12, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical 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

con

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently Asked Questions

What is CVE-2025-40118?

CVE-2025-40118 is a high-severity vulnerability. It was published on November 12, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2025-40118?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2025-40118?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-40118?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-40118 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.