CVE-2025-23151

bus: mhi: host: Fix race between unprepare and queue_buf

MEDIUM
4.7
CVSS Score
Published: May 1, 2025 at 12:55 PM UTC
Updated: October 15, 2026 at 10:18 PM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM4.7
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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]

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.15.149 ≤ v < 5.15.1816.1.76 ≤ v < 6.1.1356.13 ≤ v < 6.13.126.14 ≤ v < 6.14.36.6.15 ≤ v < 6.6.886.7.3 ≤ v < 6.12.240b093176fd0967a5f56e2c86b0d48247f6c0fa0f176ed1727badd2fad2158e2b214dcbc24f4be7a15.15.1496.1.766.6.156.7.36.8642adb03541673f3897f64bbb62856ffd73807f5b89b6a863dd53bc70d8e52d50f9cfaef8ef5e9c9ce16274a6b8d1483d0d8383272deb2bfd1b577ca
Vendor states this is fixed in 0686a818d77a431fc3ba2fab4b46bbb04e8c9380 (fixed)
Vendor states this is fixed in 178e5657c8fd285125cc6743a81b513bce099760 (fixed)
Vendor states this is fixed in 3e7ecf181cbdde9753204ada3883ca1704d8702b (fixed)
Vendor states this is fixed in 5f084993c90d9d0b4a52a349ede5120f992a7ca1 (fixed)
Vendor states this is fixed in 899d0353ea69681f474b6bc9de32c663b89672da (fixed)
Vendor states this is fixed in a77955f7704b2a00385e232cbcc1cb06b5c7a425 (fixed)
Vendor states this is fixed in ee1fce83ed56450087309b9b74ad9bcb2b010fa6 (fixed)
Vendor states this is fixed in 5.15.181 (unaffected)
Vendor states this is fixed in 6.1.135 (unaffected)
Vendor states this is fixed in 6.12.24 (unaffected)
Vendor states this is fixed in 6.13.12 (unaffected)
Vendor states this is fixed in 6.14.3 (unaffected)
Vendor states this is fixed in 6.15 (unaffected)
Vendor states this is fixed in 6.6.88 (unaffected)
Vendor states this is fixed in 6.8 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0686a818d77a431fc3ba2fab4b46bbb04e8c9380
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/178e5657c8fd285125cc6743a81b513bce099760
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3e7ecf181cbdde9753204ada3883ca1704d8702b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5f084993c90d9d0b4a52a349ede5120f992a7ca1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/899d0353ea69681f474b6bc9de32c663b89672da
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a77955f7704b2a00385e232cbcc1cb06b5c7a425
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ee1fce83ed56450087309b9b74ad9bcb2b010fa6
Mailing List
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
HIGH
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-362

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card