{
  "id": "CVE-2026-31493",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-31493",
  "published_at": "2026-04-22T13:54:16.255Z",
  "title": "RDMA/efa: Fix use of completion ctx after free",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "nvd",
    "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\nRDMA/efa: Fix use of completion ctx after free\n\nOn admin queue completion handling, if the admin command completed with\nerror we print data from the completion context. The issue is that we\nalready freed the completion context in polling/interrupts handler which\nmeans we print data from context in an unknown state (it might be\nalready used again).\nChange the admin submission flow so alloc/dealloc of the context will be\nsymmetric and dealloc will be called after any potential use of the\ncontext.",
  "cwe": "CWE-416",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:5.12:-:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc7:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 68fb9f3e312a36e49fd05ec2d6b668daf2c4931a, \u003c 8c24b5179af260a5f36571c992d29aab1f448544",
          "\u003e= 68fb9f3e312a36e49fd05ec2d6b668daf2c4931a, \u003c 7ba09d85f177e9f5f64b881f33dbcb57b2cf23d5",
          "\u003e= 68fb9f3e312a36e49fd05ec2d6b668daf2c4931a, \u003c 0dd98aea1c0c45987fa2dd92f988b0eb1a72c125",
          "\u003e= 68fb9f3e312a36e49fd05ec2d6b668daf2c4931a, \u003c 1cf95fe5dc5471efea947b4c6f8913da6bc7976e",
          "\u003e= 68fb9f3e312a36e49fd05ec2d6b668daf2c4931a, \u003c ef3b06742c8a201d0e83edc9a33a89a4fe3009f8"
        ],
        "fixed_in": [
          "8c24b5179af260a5f36571c992d29aab1f448544",
          "7ba09d85f177e9f5f64b881f33dbcb57b2cf23d5",
          "0dd98aea1c0c45987fa2dd92f988b0eb1a72c125",
          "1cf95fe5dc5471efea947b4c6f8913da6bc7976e",
          "ef3b06742c8a201d0e83edc9a33a89a4fe3009f8"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.12"
        ],
        "fixed_in": [
          "0",
          "6.6.160",
          "6.12.114",
          "6.18.21",
          "6.19.11",
          "7.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 8c24b5179af260a5f36571c992d29aab1f448544 or 7ba09d85f177e9f5f64b881f33dbcb57b2cf23d5 or 0dd98aea1c0c45987fa2dd92f988b0eb1a72c125 or 1cf95fe5dc5471efea947b4c6f8913da6bc7976e or ef3b06742c8a201d0e83edc9a33a89a4fe3009f8 or later.",
      "Upgrade Linux to 0 or 6.6.160 or 6.12.114 or 6.18.21 or 6.19.11 or 7.0 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
