{
  "id": "CVE-2025-23151",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-23151",
  "published_at": "2025-05-01T12:55:38.833Z",
  "title": "bus: mhi: host: Fix race between unprepare and queue_buf",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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() 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]",
  "cwe": "CWE-362",
  "cpes": [
    "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8,
    "nvd": 4.7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 176ed1727badd2fad2158e2b214dcbc24f4be7a1, \u003c 899d0353ea69681f474b6bc9de32c663b89672da",
          "\u003e= 0b093176fd0967a5f56e2c86b0d48247f6c0fa0f, \u003c 3e7ecf181cbdde9753204ada3883ca1704d8702b",
          "\u003e= ce16274a6b8d1483d0d8383272deb2bfd1b577ca, \u003c 5f084993c90d9d0b4a52a349ede5120f992a7ca1",
          "\u003e= b89b6a863dd53bc70d8e52d50f9cfaef8ef5e9c9, \u003c a77955f7704b2a00385e232cbcc1cb06b5c7a425",
          "\u003e= b89b6a863dd53bc70d8e52d50f9cfaef8ef5e9c9, \u003c 178e5657c8fd285125cc6743a81b513bce099760",
          "\u003e= b89b6a863dd53bc70d8e52d50f9cfaef8ef5e9c9, \u003c ee1fce83ed56450087309b9b74ad9bcb2b010fa6",
          "\u003e= b89b6a863dd53bc70d8e52d50f9cfaef8ef5e9c9, \u003c 0686a818d77a431fc3ba2fab4b46bbb04e8c9380",
          "642adb03541673f3897f64bbb62856ffd73807f5",
          "\u003e= 5.15.149, \u003c 5.15.181",
          "\u003e= 6.1.76, \u003c 6.1.135",
          "\u003e= 6.6.15, \u003c 6.6.88",
          "\u003e= 6.7.3, \u003c 6.8"
        ],
        "fixed_in": [
          "899d0353ea69681f474b6bc9de32c663b89672da",
          "3e7ecf181cbdde9753204ada3883ca1704d8702b",
          "5f084993c90d9d0b4a52a349ede5120f992a7ca1",
          "a77955f7704b2a00385e232cbcc1cb06b5c7a425",
          "178e5657c8fd285125cc6743a81b513bce099760",
          "ee1fce83ed56450087309b9b74ad9bcb2b010fa6",
          "0686a818d77a431fc3ba2fab4b46bbb04e8c9380",
          "5.15.181",
          "6.1.135",
          "6.6.88",
          "6.8"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.8"
        ],
        "fixed_in": [
          "0",
          "5.15.181",
          "6.1.135",
          "6.6.88",
          "6.12.24",
          "6.13.12",
          "6.14.3",
          "6.15"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 899d0353ea69681f474b6bc9de32c663b89672da or 3e7ecf181cbdde9753204ada3883ca1704d8702b or 5f084993c90d9d0b4a52a349ede5120f992a7ca1 or a77955f7704b2a00385e232cbcc1cb06b5c7a425 or 178e5657c8fd285125cc6743a81b513bce099760 or ee1fce83ed56450087309b9b74ad9bcb2b010fa6 or 0686a818d77a431fc3ba2fab4b46bbb04e8c9380 or 5.15.181 or 6.1.135 or 6.6.88 or 6.8 or later.",
      "Upgrade Linux to 0 or 5.15.181 or 6.1.135 or 6.6.88 or 6.12.24 or 6.13.12 or 6.14.3 or 6.15 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
