{"id":"CVE-2026-52971","published":"2026-06-24T16:28:49Z","modified":"2026-10-19T19:47:11Z","title":"net: ena: PHC: Fix potential use-after-free in get_timestamp","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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->active check and resp pointer assignment to after\nacquiring the spinlock. Previously, phc->active was checked without\nholding the lock, and resp was cached from ena_dev->phc.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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00103,"percentile":0.00998,"provenance":"source"},"cwes":[{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization"}],"references":[{"url":"https://git.kernel.org/stable/c/95e8ae9af2a61b4e72f5c585bf4c7d8aaf2a2c98","tags":[]},{"url":"https://git.kernel.org/stable/c/ca9ed40f28949353911dcb524ff8fff2f3409c97","tags":[]},{"url":"https://git.kernel.org/stable/c/e42c755582f0960e684298762f0ab927b3778376","tags":[]}],"priority":{"score":5.7,"factors":[{"name":"EPSS percentile","points":0.2},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= e0ea34158ee8c4f7536cd781010339ff28c0d24c, < 95e8ae9af2a61b4e72f5c585bf4c7d8aaf2a2c98",">= e0ea34158ee8c4f7536cd781010339ff28c0d24c, < ca9ed40f28949353911dcb524ff8fff2f3409c97",">= e0ea34158ee8c4f7536cd781010339ff28c0d24c, < e42c755582f0960e684298762f0ab927b3778376"]},{"vendor":"Linux","product":"Linux","versions":["6.17"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-16T15:23:43.033960Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-38839","exploited":false,"provenance":"source"}}