{
  "id": "CVE-2025-38090",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-38090",
  "published_at": "2025-06-30T07:29:45.565Z",
  "title": "drivers/rapidio/rio_cm.c: prevent possible heap overwrite",
  "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\ndrivers/rapidio/rio_cm.c: prevent possible heap overwrite\n\nIn\n\nriocm_cdev_ioctl(RIO_CM_CHAN_SEND)\n   -\u003e cm_chan_msg_send()\n      -\u003e riocm_ch_send()\n\ncm_chan_msg_send() checks that userspace didn't send too much data but\nriocm_ch_send() failed to check that userspace sent sufficient data.  The\nresult is that riocm_ch_send() can write to fields in the rio_ch_chan_hdr\nwhich were outside the bounds of the space which cm_chan_msg_send()\nallocated.\n\nAddress this by teaching riocm_ch_send() to check that the entire\nrio_ch_chan_hdr was copied in from userspace.",
  "cpes": [
    "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8,
    "nvd": 5.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= b6e8d4aa1110306378af0f3472a6b85a1f039a16, \u003c a8b5ea2e302aa5cd00fc7addd8df53c9bde7b5f6",
          "\u003e= b6e8d4aa1110306378af0f3472a6b85a1f039a16, \u003c c03ddc183249f03fc7e057e02cae6f89144d0123",
          "\u003e= b6e8d4aa1110306378af0f3472a6b85a1f039a16, \u003c 58f664614f8c3d6142ab81ae551e466dc6e092e8",
          "\u003e= b6e8d4aa1110306378af0f3472a6b85a1f039a16, \u003c ecf5ee280b702270afb02f61b299d3dfe3ec7730",
          "\u003e= b6e8d4aa1110306378af0f3472a6b85a1f039a16, \u003c 1921781ec4a8824bd0c520bf9363e28a880d14ec",
          "\u003e= b6e8d4aa1110306378af0f3472a6b85a1f039a16, \u003c 1cce6ac47f4a2ac1766b8a188dc8c8f6d8df2a53",
          "\u003e= b6e8d4aa1110306378af0f3472a6b85a1f039a16, \u003c 6d5c6711a55c35ce09b90705546050408d9d4b61",
          "\u003e= b6e8d4aa1110306378af0f3472a6b85a1f039a16, \u003c 50695153d7ddde3b1696dbf0085be0033bf3ddb3"
        ],
        "fixed_in": [
          "a8b5ea2e302aa5cd00fc7addd8df53c9bde7b5f6",
          "c03ddc183249f03fc7e057e02cae6f89144d0123",
          "58f664614f8c3d6142ab81ae551e466dc6e092e8",
          "ecf5ee280b702270afb02f61b299d3dfe3ec7730",
          "1921781ec4a8824bd0c520bf9363e28a880d14ec",
          "1cce6ac47f4a2ac1766b8a188dc8c8f6d8df2a53",
          "6d5c6711a55c35ce09b90705546050408d9d4b61",
          "50695153d7ddde3b1696dbf0085be0033bf3ddb3"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "4.8"
        ],
        "fixed_in": [
          "0",
          "5.4.295",
          "5.10.239",
          "5.15.186",
          "6.1.142",
          "6.6.95",
          "6.12.35",
          "6.15.4",
          "6.16"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to a8b5ea2e302aa5cd00fc7addd8df53c9bde7b5f6 or c03ddc183249f03fc7e057e02cae6f89144d0123 or 58f664614f8c3d6142ab81ae551e466dc6e092e8 or ecf5ee280b702270afb02f61b299d3dfe3ec7730 or 1921781ec4a8824bd0c520bf9363e28a880d14ec or 1cce6ac47f4a2ac1766b8a188dc8c8f6d8df2a53 or 6d5c6711a55c35ce09b90705546050408d9d4b61 or 50695153d7ddde3b1696dbf0085be0033bf3ddb3 or later.",
      "Upgrade Linux to 0 or 5.4.295 or 5.10.239 or 5.15.186 or 6.1.142 or 6.6.95 or 6.12.35 or 6.15.4 or 6.16 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
