CVE-2025-23151
MediumIn 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]
CVSS 3.1 score
4.7
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-362CVE-2025-23151 is a Race Condition vulnerability
What is Race Condition?
The product contains a code sequence that can run concurrently with other code, creating unexpected states. Learn more on MITRE CWE
Affected versions
Linux kernel versions
5.15.149,
6.1.76,
6.6.15,
6.7.3,
6.8
and later are affected. Fixed in
5.15.181,
6.1.135,
6.6.88,
6.12.24,
6.13.12,
6.14.3,
6.15
and their respective stable series.
References
The following references provide additional information about CVE-2025-23151 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
Mailing List
-
PatchKernel patch commithttps://git.kernel.org/stable/c/0686a818d77a431fc3ba2fab4b46bbb04e8c9380
-
PatchKernel patch commithttps://git.kernel.org/stable/c/178e5657c8fd285125cc6743a81b513bce099760
-
PatchKernel patch commithttps://git.kernel.org/stable/c/3e7ecf181cbdde9753204ada3883ca1704d8702b
Frequently asked questions
-
What is CVE-2025-23151?
CVE-2025-23151 is a Medium severity Linux kernel vulnerability with a CVSS score of 4.7 out of 10 , classified as a Race Condition flaw (CWE-362) . It affects Linux kernel versions from 5.15.149 onward and has been patched in 5.15.181, 6.1.135, 6.6.88 and others. CVE-2025-23151 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2025-23151?
CVE-2025-23151 has a CVSS score of 4.7 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2025-23151?
Yes — CVE-2025-23151 has been patched. Fixed versions include 5.15.181, 6.1.135, 6.6.88 and others. If you are running Linux kernel 5.15.149 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2025-23151 actively exploited?
No — CVE-2025-23151 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Race Condition (CWE-362)?
The product contains a code sequence that can run concurrently with other code, creating unexpected states. View CWE-362 on MITRE CWE →