Bug 2309787 (CVE-2024-44956) - CVE-2024-44956 kernel: drm/xe/preempt_fence: enlarge the fence critical section
Summary: CVE-2024-44956 kernel: drm/xe/preempt_fence: enlarge the fence critical section
Keywords:
Status: NEW
Alias: CVE-2024-44956
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2309875
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-09-04 19:20 UTC by OSIDB Bzimport
Modified: 2024-10-24 11:51 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-09-04 19:20:49 UTC
In the Linux kernel, the following vulnerability has been resolved:

drm/xe/preempt_fence: enlarge the fence critical section

It is really easy to introduce subtle deadlocks in
preempt_fence_work_func() since we operate on single global ordered-wq
for signalling our preempt fences behind the scenes, so even though we
signal a particular fence, everything in the callback should be in the
fence critical section, since blocking in the callback will prevent
other published fences from signalling. If we enlarge the fence critical
section to cover the entire callback, then lockdep should be able to
understand this better, and complain if we grab a sensitive lock like
vm->lock, which is also held when waiting on preempt fences.


Note You need to log in before you can comment on or make changes to this bug.