CVE-2025-23151: bus: mhi: host: Fix race between unprepare and queue_buf
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]
Security readout for executives and security teams
Plain-English summary
A timing flaw in Linux's MHI host subsystem can cause the kernel to access already-deinitialized channel data while a client driver is shutting down. The documented result is a page fault and kernel panic, potentially interrupting the affected system. The CVSS score is 7.8 (High) and assumes local, low-privileged access rather than remote exploitation.
Executive priority
Treat this as high priority on MHI-enabled systems supporting critical services because successful triggering can panic the kernel. The vector is local and there is no cited active exploitation, so an emergency internet-wide response is unsupported. Patch during the next maintenance window after confirming exposure, accelerating where related crashes have occurred.
Technical view
A race exists between mhi_unprepare_from_transfer() tearing down a channel and mhi_queue_buf() reaching mhi_gen_tre(). The latter did not revalidate channel state after acquiring its lock and could dereference deinitialized data. The stable fix checks channel validity while locked and returns an error when the channel is no longer usable.
Likely exposure
Exposure is limited to Linux systems using the MHI host path with a vulnerable, unpatched kernel. The bundled version data mixes releases and commit identifiers, making exact status unclear. Confirm the running distribution kernel and applicable backports rather than relying solely on upstream version numbers.
Exploitation context
CVE-2025-23151 is not listed in KEV, and no cited source reports active exploitation. The CVSS vector describes a local, low-complexity, low-privilege condition requiring no user interaction. The documented outcome is a race-triggered kernel panic; the sources do not demonstrate a remote path or practical confidentiality and integrity compromise.
Researcher notes
The record supplies no CWE. Its CVSS vector rates confidentiality, integrity, and availability impacts as high, but the technical description specifically establishes only an invalid dereference, page fault, and panic. Treat broader data compromise as score-based rather than demonstrated. Exact affected and fixed releases require downstream vendor verification because the supplied version metadata is ambiguous.
Mitigation direction
Upgrade to a vendor-supported kernel containing the applicable stable fix or backport.
Check distributor guidance for a supported temporary mitigation if immediate updating is impossible; the bundle names none.
Prioritize exposed MHI-enabled systems that support availability-critical workloads.
Monitor affected systems for kernel panics or page faults until remediation is complete.
Validation and detection
Inventory the exact running kernel build and distributor package, including backported patches.
Confirm whether the MHI host subsystem and relevant client drivers are present and actively used.
Verify the kernel source or vendor changelog includes the cited channel-state validation fix.
Review crash logs for MHI-related invalid dereferences during client-driver teardown.
Test driver shutdown and queued-data handling in a controlled environment after updating.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2025-23151 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
1ADP providers
9Source links
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.