CVE-2025-23151
Last modified
CVE-2025-23151 is a medium-severity vulnerability rated 4.7/10 on the CVSS scale. 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(). EPSS estimates a 0.11% chance of exploitation in the next 30 days.
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]
Metrics
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.15.149, < 5.15.181 |
| Linux | Linux Kernel | >= 6.1.76, < 6.1.135 |
| Linux | Linux Kernel | >= 6.6.15, < 6.6.88 |
| Linux | Linux Kernel | >= 6.7.3, < 6.12.24 |
| Linux | Linux Kernel | >= 6.13, < 6.13.12 |
| Linux | Linux Kernel | >= 6.14, < 6.14.3 |
| Debian | Debian Linux | 11.0 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-23151?
How severe is CVE-2025-23151?
How do I fix CVE-2025-23151?
Are you affected by CVE-2025-23151?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
