CVE-2023-52981
Last modified
CVE-2023-52981 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: drm/i915: Fix request ref counting during error capture & debugfs dump When GuC support was added to error capture, the reference counting around the request object was broken. Fix it up. The context based search manages the spinlocking around the search internally. EPSS estimates a 0.21% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: drm/i915: Fix request ref counting during error capture & debugfs dump When GuC support was added to error capture, the reference counting around the request object was broken. Fix it up. The context based search manages the spinlocking around the search internally. So it needs to grab the reference count internally as well. The execlist only request based search relies on external locking, so it needs an external reference count but within the spinlock not outside it. The only other caller of the context based search is the code for dumping engine state to debugfs. That code wasn't previously getting an explicit reference at all as it does everything while holding the execlist specific spinlock. So, that needs updaing as well as that spinlock doesn't help when using GuC submission. Rather than trying to conditionally get/put depending on submission model, just change it to always do the get/put. v2: Explicitly document adding an extra blank line in some dense code (Andy Shevchenko). Fix multiple potential null pointer derefs in case of no request found (some spotted by Tvrtko, but there was more!). Also fix a leaked request in case of !started and another in __guc_reset_context now that intel_context_find_active_request is actually reference counting the returned request. v3: Add a _get suffix to intel_context_find_active_request now that it grabs a reference (Daniele). v4: Split the intel_guc_find_hung_context change to a separate patch and rename intel_context_find_active_request_get to intel_context_get_active_request (Tvrtko). v5: s/locking/reference counting/ in commit message (Tvrtko) (cherry picked from commit 3700e353781e27f1bc7222f51f2cc36cbeb9b4ec)
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 5.15, < 6.1.11 | — |
| Linux | Linux Kernel | 6.2 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-52981?
How severe is CVE-2023-52981?
How do I fix CVE-2023-52981?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2023
- CVE-2023-52976In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-52977In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-52978In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-52979Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2023-5298A vulnerability was found in Tongda OA 2017. It has been rat…7.5
- CVE-2023-52980In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2023-52982In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-52983In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2023-52984In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-52985In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-52986In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-52987In the Linux kernel, the following vulnerability has been re…7.8
Are you affected by CVE-2023-52981?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
