CVE-2025-40115
BaseFortify
Publication date: 2025-11-12
Last updated on: 2025-11-12
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a crash issue in the Linux kernel's mpt3sas driver during the removal of a transport port. The crash occurs because the code logs messages against a device structure that may have already been partially unregistered or freed, leading to invalid memory access. The fix involves using a different logging method that references a PCI device guaranteed to remain valid until the driver is removed, preventing the crash.
How can this vulnerability impact me? :
This vulnerability can cause the Linux kernel to crash (a general protection fault) when removing certain SCSI transport ports, potentially leading to system instability or downtime. This could disrupt services or applications relying on the affected hardware or driver until the system is rebooted or the issue is resolved.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by monitoring system logs for crash messages related to the mpt3sas driver, specifically looking for kernel oops or general protection faults during transport port removal. You can check the kernel log using commands like 'dmesg | grep mpt3sas' or 'journalctl -k | grep mpt3sas' to find relevant crash messages or oops traces indicating the issue.
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation involves updating the Linux kernel to a version where the mpt3sas driver has been fixed to use ioc_info() instead of dev_printk() during transport port removal. Until the update is applied, avoid removing or unloading the mpt3sas driver module to prevent crashes.