{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-23151","id":"CVE-2025-23151","title":"bus: mhi: host: Fix race between unprepare and queue_buf","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nbus: mhi: host: Fix race between unprepare and queue_buf\n\nA client driver may use mhi_unprepare_from_transfer() to quiesce\nincoming data during the client driver's tear down. The client driver\nmight also be processing data at the same time, resulting in a call to\nmhi_queue_buf() which will invoke mhi_gen_tre(). If mhi_gen_tre() r","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nbus: mhi: host: Fix race between unprepare and queue_buf\n\nA client driver may use mhi_unprepare_from_transfer() to quiesce\nincoming data during the client driver's tear down. The client driver\nmight also be processing data at the same time, resulting in a call to\nmhi_queue_buf() which will invoke mhi_gen_tre(). If mhi_gen_tre() runs\nafter mhi_unprepare_from_transfer() has torn down the channel, a panic\nwill occur due to an invalid dereference leading to a page fault.\n\nThis occurs because mhi_gen_tre() does not verify the channel state\nafter locking it. Fix this by having mhi_gen_tre() confirm the channel\nstate is valid, or return error to avoid accessing deinitialized data.\n\n[mani: added stable tag]","published":"2025-05-01T12:55:38.833Z","updated":"2026-11-17T07:02:00.050683209Z","reserved":"2025-01-11T14:28:41.513Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"176ed1727badd2fad2158e2b214dcbc24f4be7a1","lessThan":"899d0353ea69681f474b6bc9de32c663b89672da","status":"affected","versionType":"git"},{"version":"0b093176fd0967a5f56e2c86b0d48247f6c0fa0f","lessThan":"3e7ecf181cbdde9753204ada3883ca1704d8702b","status":"affected","versionType":"git"},{"version":"ce16274a6b8d1483d0d8383272deb2bfd1b577ca","lessThan":"5f084993c90d9d0b4a52a349ede5120f992a7ca1","status":"affected","versionType":"git"},{"version":"b89b6a863dd53bc70d8e52d50f9cfaef8ef5e9c9","lessThan":"a77955f7704b2a00385e232cbcc1cb06b5c7a425","status":"affected","versionType":"git"},{"version":"b89b6a863dd53bc70d8e52d50f9cfaef8ef5e9c9","lessThan":"178e5657c8fd285125cc6743a81b513bce099760","status":"affected","versionType":"git"},{"version":"b89b6a863dd53bc70d8e52d50f9cfaef8ef5e9c9","lessThan":"ee1fce83ed56450087309b9b74ad9bcb2b010fa6","status":"affected","versionType":"git"},{"version":"b89b6a863dd53bc70d8e52d50f9cfaef8ef5e9c9","lessThan":"0686a818d77a431fc3ba2fab4b46bbb04e8c9380","status":"affected","versionType":"git"},{"version":"642adb03541673f3897f64bbb62856ffd73807f5","status":"affected","versionType":"git"},{"version":"5.15.149","lessThan":"5.15.181","status":"affected","versionType":"semver"},{"version":"6.1.76","lessThan":"6.1.135","status":"affected","versionType":"semver"},{"version":"6.6.15","lessThan":"6.6.88","status":"affected","versionType":"semver"},{"version":"6.7.3","lessThan":"6.8","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.8","status":"affected"},{"version":"0","lessThan":"6.8","status":"unaffected","versionType":"semver"},{"version":"5.15.181","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.135","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.88","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.24","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.13.12","lessThanOrEqual":"6.13.*","status":"unaffected","versionType":"semver"},{"version":"6.14.3","lessThanOrEqual":"6.14.*","status":"unaffected","versionType":"semver"},{"version":"6.15","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-362"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/899d0353ea69681f474b6bc9de32c663b89672da","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/3e7ecf181cbdde9753204ada3883ca1704d8702b","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/5f084993c90d9d0b4a52a349ede5120f992a7ca1","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/a77955f7704b2a00385e232cbcc1cb06b5c7a425","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/178e5657c8fd285125cc6743a81b513bce099760","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/ee1fce83ed56450087309b9b74ad9bcb2b010fa6","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/0686a818d77a431fc3ba2fab4b46bbb04e8c9380","tags":["Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html","tags":["Mailing List","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/23xxx/CVE-2025-23151.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-23151","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00155,"epssPercentile":0.04632,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-23151","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-23151","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-23151","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-23151","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}