Kernel crash via freed transport device logging
Published Nov 12, 2025 · Updated Nov 12, 2025
Use-after-free in the Linux kernel mpt3sas driver from 3.8 allows local users with module-removal privileges to crash the kernel. mpt3sas_transport_port_remove() passes &mpt3sas_port->port->dev to dev_printk() after the SAS transport device can be partly unregistered or freed. The fault requires mpt3sas and SAS transport-port removal; the observed consequence is a general-protection fault and kernel crash.
Summary
What happened
Use-after-free in the Linux kernel mpt3sas driver from 3.8 allows local users with module-removal privileges to crash the kernel. mpt3sas_transport_port_remove() passes &mpt3sas_port->port->dev to dev_printk() after the SAS transport device can be partly unregistered or freed. The fault requires mpt3sas and SAS transport-port removal; the observed consequence is a general-protection fault and kernel crash.
The record
- CVE
- CVE-2025-40115
- Published
- Nov 12, 2025
- Updated
- Nov 12, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Nov 12, 2025CVE publishedPublication date reported by the CVE source.
- Nov 12, 2025Record 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=3.8
- Affected versionversion=f92363d12359498f9a9960511de1a550f0ec41c2 <1703fe4f8ae50d1fb6449854e1fcaed1053e3a14
- Affected versionversion=f92363d12359498f9a9960511de1a550f0ec41c2 <1fd39e14d47d9b4965dd5c9cff16e64ba3e71a62
- Affected versionversion=f92363d12359498f9a9960511de1a550f0ec41c2 <4e1442bae50ed633c2fe8058f47cd79b4ad88b9b
- Affected versionversion=f92363d12359498f9a9960511de1a550f0ec41c2 <6459dba4f35017448535a799cf699d5205eb5489
- Affected versionversion=f92363d12359498f9a9960511de1a550f0ec41c2 <970ceb1bdc3d6c2af9245d6eca38606e74fcb6b8
- Affected versionversion=f92363d12359498f9a9960511de1a550f0ec41c2 <a89253eb4e648deace48a4e38996afd182eb95e3
- Affected versionversion=f92363d12359498f9a9960511de1a550f0ec41c2 <b3a6d153861d0f29b80882470d14aafb8d687dc2
- Affected versionversion=f92363d12359498f9a9960511de1a550f0ec41c2 <fa153fb40c61f8ca01237427c97a0b93ba32c403
What conditions does exploitation require?
What is affected?
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
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