Security mailing lists by PureSourceCode

CVE-2025-38596

HIGH 7.8CVSS 3.1

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)

Published
19 Aug 2025
Last modified
30 Jul 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Modified
Weakness
CWE-416
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.16:*:*:*:*:*:*:*
= 6.16

References

History

  • 25 Nov 2026 20:58 UTC · NVD: first stored (published 19 Aug 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.