diff options
| author | Dmitry Antipov <[email protected]> | 2025-06-06 11:22:42 +0000 |
|---|---|---|
| committer | Steven Rostedt (Google) <[email protected]> | 2025-06-07 00:25:55 +0000 |
| commit | 40ee2afafc1d9fe3aa44a6fbe440d78a5c96a72e (patch) | |
| tree | d17e9e11074f0f66de1710515d5f11d463c063a7 /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | |
| parent | tracing: Fix regression of filter waiting a long time on RCU synchronization (diff) | |
| download | kernel-40ee2afafc1d9fe3aa44a6fbe440d78a5c96a72e.tar.gz kernel-40ee2afafc1d9fe3aa44a6fbe440d78a5c96a72e.zip | |
ring-buffer: Fix buffer locking in ring_buffer_subbuf_order_set()
Enlarge the critical section in ring_buffer_subbuf_order_set() to
ensure that error handling takes place with per-buffer mutex held,
thus preventing list corruption and other concurrency-related issues.
Cc: [email protected]
Cc: Masami Hiramatsu <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
Cc: Tzvetomir Stoyanov <[email protected]>
Link: https://lore.kernel.org/[email protected]
Reported-by: [email protected]
Closes: https://syzkaller.appspot.com/bug?extid=05d673e83ec640f0ced9
Fixes: f9b94daa542a8 ("ring-buffer: Set new size of the ring buffer sub page")
Signed-off-by: Dmitry Antipov <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions
