Kernel memory access via expander remote PHY index
Published Nov 12, 2025 · Updated Aug 5, 2026
Out-of-bounds access in affected Linux pm80xx kernels allows local users to access kernel memory during module removal with a SAS expander. The pm8001 device-removal path uses an expander's remote attached_phy value to index the HBA-local pm8001_ha->phy array, whose size covers only local PHYs. Reachability requires the pm80xx driver, a device behind a larger SAS expander, and module removal; the published reproducer establishes a UBSAN bounds violation but not a specific post-access outcome.
Summary
What happened
Out-of-bounds access in affected Linux pm80xx kernels allows local users to access kernel memory during module removal with a SAS expander. The pm8001 device-removal path uses an expander's remote attached_phy value to index the HBA-local pm8001_ha->phy array, whose size covers only local PHYs. Reachability requires the pm80xx driver, a device behind a larger SAS expander, and module removal; the published reproducer establishes a UBSAN bounds violation but not a specific post-access outcome.
The record
- CVE
- CVE-2025-40118
- Published
- Nov 12, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- Unavailable
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Nov 12, 2025CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=05b512879eab41faa515b67fa3896d0005e97909 <d94be0a6ae9ade706d4270e740bdb4f79953a7fc
- Affected versionversion=0f9802f174227f553959422f844eeb9ba72467fe <9326a1541e1b7ed3efdbab72061b82cf01c6477a
- Affected versionversion=1d8f9378cb4800c18e20d80ecd605b2b93e87a03 <eef5ef400893f8e3dbb09342583be0cdc716d566
- Affected versionversion=30e482dfb8f27d22f518695d4bcb5e7f4c6cb08a <9c671d4dbfbfb0d73cfdfb706afb36d9ad60a582
- Affected versionversion=5.10.237 <5.10.246
- Affected versionversion=5.15.181 <5.15.195
- Affected versionversion=5.4.293 <5.4.301
- Affected versionversion=6.1.136 <6.1.156
- Affected versionversion=6.12.26 <6.12.53
- Affected versionversion=6.14.5 <6.15
- Affected versionversion=6.15
- Affected versionversion=6.6.89 <6.6.112
- Affected versionversion=722026c010fa75bcf9e2373aff1d7930a3d7e3cf
- Affected versionversion=a862d24e1fc3ab1b5e5f20878d2898cea346d0ec <e62251954a128a2d0fcbc19e5fa39e08935bb628
- Affected versionversion=bc2140c8136200b4437e1abc0fb659968cb9baab <45acbf154befedd9bc135f5e031fe7855d1e6493
- Affected versionversion=f7b705c238d1483f0a766e2b20010f176e5c0fb7 <251be2f6037fb7ab399f68cd7428ff274133d693
- Affected versionversion=f7b705c238d1483f0a766e2b20010f176e5c0fb7 <83ced3c206c292458e47c7fac54223abc7141585
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
No sourced classifications are available.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo