CVE-2026-52971CWE-362CWE-416

CVE-2026-52971

High · published June 24, 2026

CVSS v3.1
7.8
EPSS
0%
Percentile
0.9
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

net: ena: PHC: Fix potential use-after-free in get_timestamp

Move the phc->active check and resp pointer assignment to after

acquiring the spinlock. Previously, phc->active was checked without

holding the lock, and resp was cached from ena_dev->phc.virt_addr

before the lock was acquired.

If ena_com_phc_destroy() runs between the lockless active check and

the lock acquisition, it sets active=false, releases the lock, frees

the DMA memory, and sets virt_addr=NULL. The get_timestamp path would

then read a NULL virt_addr and dereference it.

With both the active check and the pointer read under the lock,

destroy cannot free the memory while get_timestamp is using it.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00103 · 0.9th percentile
Weaknesses
CWE-362 · Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition'); CWE-416 · Use After Free
Published
2026-06-24T21:17Z
Affected products (5)
ProductVersionsFixed in
linux/linux_kernel≥ 6.17, < 6.18.336.18.33
linux/linux_kernel≥ 6.19, < 7.0.107.0.10
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (3)
EPSS history
Timeline
  • 24 JUN 16:28Z
    net: ena: PHC: Fix potential use-after-free in get_timestamp
    cvelistv5