CVE-2025-23151 Details
Description
In the Linux kernel, the following vulnerability has been resolved: bus: mhi: host: Fix race between unprepare and queue_buf A client driver may use mhi_unprepare_from_transfer() to quiesce incoming data during the client driver's tear down. The client driver might also be processing data at the same time, resulting in a call to mhi_queue_buf() which will invoke mhi_gen_tre(). If mhi_gen_tre() runs after mhi_unprepare_from_transfer() has torn down the channel, a panic will occur due to an invalid dereference leading to a page fault. This occurs because mhi_gen_tre() does not verify the channel state after locking it. Fix this by having mhi_gen_tre() confirm the channel state is valid, or return error to avoid accessing deinitialized data. [mani: added stable tag]
A race condition vulnerability has been identified in the Linux kernel's MHI bus implementation. During the teardown process, a client driver may call 'mhi_unprepare_from_transfer()' to stop incoming data. However, if the driver is still processing data, this can lead to a call to 'mhi_queue_buf()' which triggers 'mhi_gen_tre()'. If 'mhi_gen_tre()' is executed after the channel has been torn down, it can cause a panic by dereferencing an invalid pointer, leading to a page fault. This issue arises because 'mhi_gen_tre()' does not check the channel's state after locking it, allowing access to deinitialized data.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 15, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/0686a818d77a431fc3ba2fab4b46bbb04e8c9380 | kernel.org | Patch |
| https://git.kernel.org/stable/c/178e5657c8fd285125cc6743a81b513bce099760 | kernel.org | Patch |
| https://git.kernel.org/stable/c/3e7ecf181cbdde9753204ada3883ca1704d8702b | kernel.org | Patch |
| https://git.kernel.org/stable/c/5f084993c90d9d0b4a52a349ede5120f992a7ca1 | kernel.org | Patch |
| https://git.kernel.org/stable/c/899d0353ea69681f474b6bc9de32c663b89672da | kernel.org | Patch |
| https://git.kernel.org/stable/c/a77955f7704b2a00385e232cbcc1cb06b5c7a425 | kernel.org | Patch |
| https://git.kernel.org/stable/c/ee1fce83ed56450087309b9b74ad9bcb2b010fa6 | kernel.org | Patch |
| https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html | CVE | Mailing List |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-362 | Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.15.149, < 5.15.181 >= 6.1.76, < 6.1.135 >= 6.6.15, < 6.6.88 >= 6.7.3, < 6.12.24 >= 6.13, < 6.13.12 >= 6.14, < 6.14.3 |
CPE
Remediation
| |
| debian debian linux | 11.0 |
CPE
Remediation
| |
Change History
9 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 15, 2026 | CVE Modified | kernel.org |
| Oct 15, 2026 | CVE Modified | CISA-ADP |
| Oct 15, 2026 | CVE Modified | CVE |
| Jul 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 5, 2025 | Initial Analysis | [email protected] |
| Nov 3, 2025 | CVE Modified | CVE |
| May 2, 2025 | CVE Modified | kernel.org |
| May 1, 2025 | New CVE Received | kernel.org |