{
  "id": "CVE-2026-52971",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-52971",
  "published_at": "2026-06-24T16:28:49.637Z",
  "title": "net: ena: PHC: Fix potential use-after-free in get_timestamp",
  "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\nnet: ena: PHC: Fix potential use-after-free in get_timestamp\n\nMove the phc-\u003eactive check and resp pointer assignment to after\nacquiring the spinlock. Previously, phc-\u003eactive was checked without\nholding the lock, and resp was cached from ena_dev-\u003ephc.virt_addr\nbefore the lock was acquired.\n\nIf ena_com_phc_destroy() runs between the lockless active check and\nthe lock acquisition, it sets active=false, releases the lock, frees\nthe DMA memory, and sets virt_addr=NULL. The get_timestamp path would\nthen read a NULL virt_addr and dereference it.\n\nWith both the active check and the pointer read under the lock,\ndestroy cannot free the memory while get_timestamp is using it.",
  "cwe": "CWE-362",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= e0ea34158ee8c4f7536cd781010339ff28c0d24c, \u003c 95e8ae9af2a61b4e72f5c585bf4c7d8aaf2a2c98",
          "\u003e= e0ea34158ee8c4f7536cd781010339ff28c0d24c, \u003c ca9ed40f28949353911dcb524ff8fff2f3409c97",
          "\u003e= e0ea34158ee8c4f7536cd781010339ff28c0d24c, \u003c e42c755582f0960e684298762f0ab927b3778376"
        ],
        "fixed_in": [
          "95e8ae9af2a61b4e72f5c585bf4c7d8aaf2a2c98",
          "ca9ed40f28949353911dcb524ff8fff2f3409c97",
          "e42c755582f0960e684298762f0ab927b3778376"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.17"
        ],
        "fixed_in": [
          "0",
          "6.18.33",
          "7.0.10",
          "7.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 95e8ae9af2a61b4e72f5c585bf4c7d8aaf2a2c98 or ca9ed40f28949353911dcb524ff8fff2f3409c97 or e42c755582f0960e684298762f0ab927b3778376 or later.",
      "Upgrade Linux to 0 or 6.18.33 or 7.0.10 or 7.1 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
