Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-38596

published high CVSS 3.1 · 7.8

drm/panthor: Fix UAF in panthor_gem_create_with_handle() debugfs code

Published
19 Aug 2025, 17:03:26 UTC
Updated
05 Aug 2026, 12:03:18 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxa3707f53eb3f4f3e7a30d720be0885f813d649bb to < 5f2be12442db6a2904e6e31b0e3b5ad5aebf868b · a3707f53eb3f4f3e7a30d720be0885f813d649bb to < fe69a391808404977b1f002a6e7447de3de7a88e · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.16 (affected) · 0 to < 6.16 (unaffected · semver) · 6.16.1 through 6.16.* (unaffected · semver) · 6.17 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

Description

In the Linux kernel, the following vulnerability has been resolved: drm/panthor: Fix UAF in panthor_gem_create_with_handle() debugfs code The object is potentially already gone after the drm_gem_object_put(). In general the object should be fully constructed before calling drm_gem_handle_create(), except the debugfs tracking uses a separate lock and list and separate flag to denotate whether the object is actually initialized. Since I'm touching this all anyway simplify this by only adding the object to the debugfs when it's ready for that, which allows us to delete that separate flag. panthor_gem_debugfs_bo_rm() already checks whether we've actually been added to the list or this is some error path cleanup. v2: Fix build issues for !CONFIG_DEBUGFS (Adrián) v3: Add linebreak and remove outdated comment (Liviu)

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The bug is reached through the PANTHOR_BO_CREATE ioctl (plus a concurrent GEM_CLOSE) on the local DRM render device node /dev/dri/renderD*, which requires local system access rather than any network path. AC:L - Exploitation is a race between BO_CREATE and GEM_CLOSE that the attacker fully controls from two threads on the same fd, and DRM handle numbers are predictable via the idr allocator, so the window can be won reliably. PR:L - The BO_CREATE ioctl is DRM_RENDER_ALLOW, reachable by any unprivileged local user able to open the Panthor render node (render/graphics group on Android/embedded/desktop); no root or capability is needed. UI:N - The attacker triggers the ioctl race entirely on its own; no action by any other user is required. S:U - The use-after-free corrupts kernel heap within the same kernel security authority, with no crossing of a VM, IOMMU, or sandbox boundary. C:H - A use-after-free lets the attacker reallocate the freed object slot with attacker-influenced or security-relevant data, which per kernel UAF guidance is treated as enabling arbitrary/high-impact information disclosure. I:H - The stale bo->debugfs.flags write corrupts freed heap memory that can be reallocated to another structure, giving a controlled-timing UAF write primitive leveragable for arbitrary write / control-flow hijack. A:H - Writing to freed memory reliably corrupts the kernel heap and causes oops/panic, a high availability impact typical of any use-after-free.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux a3707f53eb3f4f3e7a30d720be0885f813d649bb to < 5f2be12442db6a2904e6e31b0e3b5ad5aebf868b (affected · git)a3707f53eb3f4f3e7a30d720be0885f813d649bb to < fe69a391808404977b1f002a6e7447de3de7a88e (affected · git)Default: unaffected Linux · cna
Linux Linux 6.16 (affected)0 to < 6.16 (unaffected · semver)6.16.1 through 6.16.* (unaffected · semver)6.17 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

2

Provider assertions

1

Linux · cna

drm/panthor: Fix UAF in panthor_gem_create_with_handle() debugfs code

Provenance

Schema
5.2
Searchable
yes
Content hash
c9c8ac3bef19e61486f8db2bf6ef862dab1328cb328e1fb4711b70cad129709a
Ingested
23 Sep 2026, 08:46:47 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected