CVE-2023-52981
Linux Kernel vulnerability analysis and mitigation

Overview

In the Linux kernel, a vulnerability was discovered in the drm/i915 component related to request reference counting during error capture and debugfs dump operations. The issue arose when GuC support was added to error capture, breaking the reference counting around the request object. This vulnerability was assigned CVE-2023-52981 and was disclosed on March 27, 2025 (NVD).

Technical details

The vulnerability stems from broken reference counting in the context-based search functionality which manages spinlocking internally. The issue requires the reference count to be handled internally, while the execlist-only request based search relies on external locking. The debugfs code for dumping engine state previously lacked explicit reference handling when using GuC submission. The fix involves implementing proper reference counting by always performing get/put operations regardless of the submission model (NVD).

Impact

The vulnerability could lead to incorrect reference counting and potential memory management issues in the Linux kernel's DRM/i915 driver when handling error capture and debugfs dump operations (NVD).

Mitigation and workarounds

The issue has been resolved through a patch that implements proper reference counting mechanisms. The fix ensures that get/put operations are always performed, with special handling for global GTT to prevent GPU idle state issues. The patch also addresses potential null pointer dereferences and leaked requests in various scenarios (NVD).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40343MEDIUM6.4
  • Linux KernelLinux Kernel
  • kernel-rt-modules-internal
NoYesDec 09, 2025
CVE-2025-40342MEDIUM6.4
  • Linux KernelLinux Kernel
  • kernel-debug-modules-extra
NoYesDec 09, 2025
CVE-2025-40341MEDIUM5.1
  • Linux KernelLinux Kernel
  • linux-nvidia-tegra
NoYesDec 09, 2025
CVE-2025-40345N/AN/A
  • Linux KernelLinux Kernel
  • kernel-headers
NoYesDec 12, 2025
CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • linux-azure-6.14
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management