CVE-2026-52971

Source
https://cve.org/CVERecord?id=CVE-2026-52971
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-52971.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-52971
Downstream
Published
2026-06-24T16:28:49.637Z
Modified
2026-07-08T08:13:46.487825604Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
net: ena: PHC: Fix potential use-after-free in get_timestamp
Details

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 enadev->phc.virtaddr before the lock was acquired.

If enacomphcdestroy() runs between the lockless active check and the lock acquisition, it sets active=false, releases the lock, frees the DMA memory, and sets virtaddr=NULL. The gettimestamp path would then read a NULL virtaddr 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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52971.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e0ea34158ee8c4f7536cd781010339ff28c0d24c
Fixed
95e8ae9af2a61b4e72f5c585bf4c7d8aaf2a2c98
Fixed
ca9ed40f28949353911dcb524ff8fff2f3409c97
Fixed
e42c755582f0960e684298762f0ab927b3778376

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-52971.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.17.0
Fixed
6.18.33
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.0.10

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-52971.json"