{
  "id": "CVE-2025-40045",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-40045",
  "published_at": "2025-10-28T11:48:23.431Z",
  "title": "ASoC: codecs: wcd937x: set the comp soundwire port correctly",
  "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\nASoC: codecs: wcd937x: set the comp soundwire port correctly\n\nFor some reason we endup with setting soundwire port for\nHPHL_COMP and HPHR_COMP as zero, this can potentially result\nin a memory corruption due to accessing and setting -1 th element of\nport_map array.",
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 82be8c62a38c6a44e64ecb29d7a9b5cb35c6cad4, \u003c abcd537aae3b84c6d10ad147e99a204bcb56b234",
          "\u003e= 82be8c62a38c6a44e64ecb29d7a9b5cb35c6cad4, \u003c 1a1ca38392e7e896075afc8905ddaea525ed30f7",
          "\u003e= 82be8c62a38c6a44e64ecb29d7a9b5cb35c6cad4, \u003c 66a940b1bf48a7095162688332d725ba160154eb"
        ],
        "fixed_in": [
          "abcd537aae3b84c6d10ad147e99a204bcb56b234",
          "1a1ca38392e7e896075afc8905ddaea525ed30f7",
          "66a940b1bf48a7095162688332d725ba160154eb"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.11"
        ],
        "fixed_in": [
          "0",
          "6.12.53",
          "6.17.3",
          "6.18"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to abcd537aae3b84c6d10ad147e99a204bcb56b234 or 1a1ca38392e7e896075afc8905ddaea525ed30f7 or 66a940b1bf48a7095162688332d725ba160154eb or later.",
      "Upgrade Linux to 0 or 6.12.53 or 6.17.3 or 6.18 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
