summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2025-06-06 14:22:42 +0300
committerSteven Rostedt (Google) <rostedt@goodmis.org>2025-06-07 03:25:55 +0300
commit40ee2afafc1d9fe3aa44a6fbe440d78a5c96a72e (patch)
treed17e9e11074f0f66de1710515d5f11d463c063a7 /tools/perf/scripts/python/exported-sql-viewer.py
parenta9d0aab5eb33a44792a66b7af13ff50d7b3e7022 (diff)
downloadlinux-40ee2afafc1d9fe3aa44a6fbe440d78a5c96a72e.tar.xz
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: stable@vger.kernel.org Cc: Masami Hiramatsu <mhiramat@kernel.org> Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Cc: Tzvetomir Stoyanov <tz.stoyanov@gmail.com> Link: https://lore.kernel.org/20250606112242.1510605-1-dmantipov@yandex.ru Reported-by: syzbot+05d673e83ec640f0ced9@syzkaller.appspotmail.com 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 <dmantipov@yandex.ru> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions