CVE-2026-52971
net: ena: PHC: Fix potential use-after-free in get_timestamp
Reported by linux · Published June 24, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-rt | errata.rockylinux.org | 5.14.0-687.49.1.el9 |
| python3-perf | errata.rockylinux.org | 5.14.0-687.49.1.el9 |
| kernel-rt-debug-modules-extra | errata.rockylinux.org | 6.12.0-211.56.1.el10 |
| kernel-debug-debuginfo | errata.rockylinux.org | 6.12.0-211.56.1.el10 |
| kernel-rt-64k-modules | errata.rockylinux.org | 5.14.0-687.49.1.el9 |
| kernel-64k-modules-core | errata.rockylinux.org | 6.12.0-211.56.1.el10 |
| kernel-rt-devel | errata.rockylinux.org | 5.14.0-687.49.1.el9 |
| kernel-doc | errata.rockylinux.org | 5.14.0-687.49.1.el9 |
| kernel-zfcpdump-modules | errata.rockylinux.org | 5.14.0-687.49.1.el9 |
| kernel-debuginfo-common-s390x | errata.rockylinux.org | 5.14.0-687.49.1.el9 |
| linux_kernel | linux | 7.0.10, 6.18.33 |
| Linux | Linux | ca9ed40f28949353911dcb524ff8fff2f3409c97, 6.17 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | e0ea34158ee8c4f7536cd781010339ff28c0d24c, e0ea34158ee8c4f7536cd781010339ff28c0d24c, e0ea34158ee8c4f7536cd781010339ff28c0d24c |
| Linux | Linux | 6.17, 0, 6.18.33 |
| Linux | Linux | 7.1, 0, 6.18.33 |
| linux | linux_kernel | 6.17, 6.17, 6.17 |
Timeline
- Jun 24, 2026 CVE Published
- Jun 25, 2026 Coalition ESS Score
- Jun 26, 2026 EPSS Score (8 in total, the first dated here)
- Aug 11, 2026 Distribution Patch (65 in total, the first dated here)
- Aug 11, 2026 Security Advisory (64 in total, the first dated here)
- Sep 30, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-52971
vulnetix vdb fixes CVE-2026-52971
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-52971/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart