{
  "id": "CVE-2025-38524",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-38524",
  "published_at": "2025-08-16T11:12:18.314Z",
  "title": "rxrpc: Fix recv-recv race of completed call",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/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\nrxrpc: Fix recv-recv race of completed call\n\nIf a call receives an event (such as incoming data), the call gets placed\non the socket's queue and a thread in recvmsg can be awakened to go and\nprocess it.  Once the thread has picked up the call off of the queue,\nfurther events will cause it to be requeued, and once the socket lock is\ndropped (recvmsg uses call-\u003euser_mutex to allow the socket to be used in\nparallel), a second thread can come in and its recvmsg can pop the call off\nthe socket queue again.\n\nIn such a case, the first thread will be receiving stuff from the call and\nthe second thread will be blocked on call-\u003euser_mutex.  The first thread\ncan, at this point, process both the event that it picked call for and the\nevent that the second thread picked the call for and may see the call\nterminate - in which case the call will be \"released\", decoupling the call\nfrom the user call ID assigned to it (RXRPC_USER_CALL_ID in the control\nmessage).\n\nThe first thread will return okay, but then the second thread will wake up\nholding the user_mutex and, if it sees that the call has been released by\nthe first thread, it will BUG thusly:\n\n\tkernel BUG at net/rxrpc/recvmsg.c:474!\n\nFix this by just dequeuing the call and ignoring it if it is seen to be\nalready released.  We can't tell userspace about it anyway as the user call\nID has become stale.",
  "cwe": "CWE-362",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc5:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc6:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.5,
    "nvd": 4.7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 248f219cb8bcbfbd7f132752d44afa2df7c241d1, \u003c 4aed0eeca58e26d752bb08b293b8dc75c6820b23",
          "\u003e= 248f219cb8bcbfbd7f132752d44afa2df7c241d1, \u003c cb720b068b18fb39c96980eb3c13f09427512be7",
          "\u003e= 248f219cb8bcbfbd7f132752d44afa2df7c241d1, \u003c 7692bde890061797f3dece0148d7859e85c55778",
          "\u003e= 248f219cb8bcbfbd7f132752d44afa2df7c241d1, \u003c 839fe96c15209dc2255c064bb44b636efe04f032",
          "\u003e= 248f219cb8bcbfbd7f132752d44afa2df7c241d1, \u003c 6c75a97a32a5fa2060c3dd30207e63b6914b606d",
          "\u003e= 248f219cb8bcbfbd7f132752d44afa2df7c241d1, \u003c 962fb1f651c2cf2083e0c3ef53ba69e3b96d3fbc"
        ],
        "fixed_in": [
          "4aed0eeca58e26d752bb08b293b8dc75c6820b23",
          "cb720b068b18fb39c96980eb3c13f09427512be7",
          "7692bde890061797f3dece0148d7859e85c55778",
          "839fe96c15209dc2255c064bb44b636efe04f032",
          "6c75a97a32a5fa2060c3dd30207e63b6914b606d",
          "962fb1f651c2cf2083e0c3ef53ba69e3b96d3fbc"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "4.9"
        ],
        "fixed_in": [
          "0",
          "5.10.266",
          "6.1.191",
          "6.6.100",
          "6.12.40",
          "6.15.8",
          "6.16"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 4aed0eeca58e26d752bb08b293b8dc75c6820b23 or cb720b068b18fb39c96980eb3c13f09427512be7 or 7692bde890061797f3dece0148d7859e85c55778 or 839fe96c15209dc2255c064bb44b636efe04f032 or 6c75a97a32a5fa2060c3dd30207e63b6914b606d or 962fb1f651c2cf2083e0c3ef53ba69e3b96d3fbc or later.",
      "Upgrade Linux to 0 or 5.10.266 or 6.1.191 or 6.6.100 or 6.12.40 or 6.15.8 or 6.16 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
