VDB

CVE-2025-23151

CVE-2025-23151 PUBLISHED CVSS 7.8 HIGH

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

Reported by linux · Published May 1, 2025

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]

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
LinuxLinuxee1fce83ed56450087309b9b74ad9bcb2b010fa6, 899d0353ea69681f474b6bc9de32c663b89672da, 6.8, 6.6.88, 6.1.135, 5.15.181, 3e7ecf181cbdde9753204ada3883ca1704d8702b, 178e5657c8fd285125cc6743a81b513bce099760

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux176ed1727badd2fad2158e2b214dcbc24f4be7a1, 0b093176fd0967a5f56e2c86b0d48247f6c0fa0f, ce16274a6b8d1483d0d8383272deb2bfd1b577ca
LinuxLinux6.8, 0, 5.15.181
LinuxLinux6.7.3, *, *
linuxlinux_kernel6.1.76, 6.6.15, 6.8

Timeline

  • May 1, 2025 CVE Published
  • May 2, 2025 EPSS Score (30 in total, the first dated here)
  • May 9, 2025 Coalition ESS Score (11 in total, the first dated here)
  • Oct 12, 2025 PoC Published (5 in total, the first dated here)
  • Dec 21, 2025 Security Advisory (263 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (224 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-23151
vulnetix vdb fixes CVE-2025-23151

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-23151/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›