bisecting cause commit starting from bdcc9f6a568275aed4cc32fd2312432d2ff1b704 building syzkaller on 2353a3ec6e28d26c020ea7176d16d8fafb772e24 testing commit bdcc9f6a568275aed4cc32fd2312432d2ff1b704 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 9e88e8ad19b011283e2bc1019604f39d35656cb93b604162fe8deee4215dfe92 run #0: crashed: WARNING: ODEBUG bug in __io_free_req run #1: crashed: KASAN: use-after-free Read in __io_free_req run #2: crashed: KASAN: use-after-free Read in __io_free_req run #3: crashed: WARNING: ODEBUG bug in __io_free_req run #4: crashed: WARNING: ODEBUG bug in __io_free_req run #5: crashed: WARNING: ODEBUG bug in __io_free_req run #6: crashed: WARNING: ODEBUG bug in __io_free_req run #7: crashed: INFO: rcu detected stall in tctx_task_work run #8: crashed: INFO: rcu detected stall in tctx_task_work run #9: crashed: INFO: rcu detected stall in tctx_task_work run #10: crashed: INFO: rcu detected stall in tctx_task_work run #11: crashed: INFO: rcu detected stall in tctx_task_work run #12: crashed: INFO: rcu detected stall in tctx_task_work run #13: crashed: INFO: rcu detected stall in tctx_task_work run #14: crashed: INFO: rcu detected stall in tctx_task_work run #15: crashed: INFO: rcu detected stall in tctx_task_work run #16: crashed: INFO: rcu detected stall in tctx_task_work run #17: crashed: INFO: rcu detected stall in tctx_task_work run #18: crashed: INFO: rcu detected stall in tctx_task_work run #19: boot failed: KASAN: slab-out-of-bounds Read in copy_data testing release v5.14 testing commit 7d2a07b769330c34b4deabeed939325c77a7ec2f compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 803d2a4b357f9dd45e33ac8c519f36aa025defd2f62007993f10c8f7274e3a5d all runs: OK # git bisect start bdcc9f6a568275aed4cc32fd2312432d2ff1b704 7d2a07b769330c34b4deabeed939325c77a7ec2f Bisecting: 13044 revisions left to test after this (roughly 14 steps) [412a5feba414127a6c69452dfad454086867011f] Merge 5.15-rc6 into tty-next testing commit 412a5feba414127a6c69452dfad454086867011f compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 620ea6d2224a66eb48ca6f92dcbda54efceded83e94d89c0525d6711cbc7ef34 all runs: OK # git bisect good 412a5feba414127a6c69452dfad454086867011f Bisecting: 6532 revisions left to test after this (roughly 13 steps) [0306023d64d510a92f6bae2c6759fd854ee5a1c3] Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git testing commit 0306023d64d510a92f6bae2c6759fd854ee5a1c3 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: b4d77310ae3612e4edd68ec3580c7f3525c90c5201d41c9656e5cb29b0fb506c all runs: OK # git bisect good 0306023d64d510a92f6bae2c6759fd854ee5a1c3 Bisecting: 3150 revisions left to test after this (roughly 12 steps) [ed3cecd2f5acb59937ddf0609e8cde33555c31dd] Merge branch 'auto-latest' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git testing commit ed3cecd2f5acb59937ddf0609e8cde33555c31dd compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 3cb8f8fe10a57324ffaf0249829372a69376a6ee3b2f0779378c16f5a1bce674 run #0: crashed: WARNING: ODEBUG bug in __io_free_req run #1: crashed: KASAN: use-after-free Read in __io_free_req run #2: crashed: KASAN: use-after-free Read in tctx_task_work run #3: crashed: WARNING: ODEBUG bug in __io_free_req run #4: crashed: WARNING: ODEBUG bug in __io_free_req run #5: crashed: WARNING: ODEBUG bug in __io_free_req run #6: crashed: INFO: rcu detected stall in tctx_task_work run #7: crashed: INFO: rcu detected stall in tctx_task_work run #8: crashed: INFO: rcu detected stall in tctx_task_work run #9: crashed: INFO: rcu detected stall in tctx_task_work # git bisect bad ed3cecd2f5acb59937ddf0609e8cde33555c31dd Bisecting: 1813 revisions left to test after this (roughly 11 steps) [79e34df59d6c92616a1444f5eac072f796df6fee] Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git testing commit 79e34df59d6c92616a1444f5eac072f796df6fee compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 9faeadb55fba5eddfb4a05b91ac41c2e92fa8ba9dbbb22313ae1d382804543b5 all runs: OK # git bisect good 79e34df59d6c92616a1444f5eac072f796df6fee Bisecting: 822 revisions left to test after this (roughly 10 steps) [14a490279a2ecacfc5a6e6f805c49a2cd9f1ccbc] Merge branch 'for-next' of git://git.kernel.dk/linux-block.git testing commit 14a490279a2ecacfc5a6e6f805c49a2cd9f1ccbc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 59c997f4d5f0d63092c3b0ce25d1cdb85084d30ecd1e7151050f4c5950be11a3 run #0: crashed: WARNING: refcount bug in rcu_core run #1: crashed: KASAN: use-after-free Read in tctx_task_work run #2: crashed: WARNING: refcount bug in rcu_core run #3: crashed: WARNING: refcount bug in rcu_core run #4: crashed: KASAN: use-after-free Read in tctx_task_work run #5: crashed: KASAN: use-after-free Read in tctx_task_work run #6: crashed: KASAN: use-after-free Read in tctx_task_work run #7: crashed: WARNING: refcount bug in rcu_core run #8: crashed: INFO: task hung in io_uring_try_cancel_requests run #9: crashed: INFO: task hung in io_uring_try_cancel_requests # git bisect bad 14a490279a2ecacfc5a6e6f805c49a2cd9f1ccbc Bisecting: 494 revisions left to test after this (roughly 9 steps) [43ceddcd2ee9dde9e4136fdba6131bd34abb8ef4] Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git testing commit 43ceddcd2ee9dde9e4136fdba6131bd34abb8ef4 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 1686ee42b587a8d266549518d4b7d5d3f1df4d33a873d280eb21ae1f32c639ab all runs: OK # git bisect good 43ceddcd2ee9dde9e4136fdba6131bd34abb8ef4 Bisecting: 240 revisions left to test after this (roughly 8 steps) [23799b0f0689cc4dc8d1b84ad234284777365c93] Merge branch 'for-5.16/io_uring' into for-next testing commit 23799b0f0689cc4dc8d1b84ad234284777365c93 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 63734c3db2c96ce3abd9d9cd44a35cb8a6d7d93a69ae4f6d0fadebd7295c58e9 all runs: OK # git bisect good 23799b0f0689cc4dc8d1b84ad234284777365c93 Bisecting: 132 revisions left to test after this (roughly 7 steps) [60069ac90ba24cec5a9d161a12f318635b57e4c8] Merge branch 'for-5.16/cdrom' into for-next testing commit 60069ac90ba24cec5a9d161a12f318635b57e4c8 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: d9097e3d310ff16a6484cf3426eba9e34755b209da045a271e3dc6af7d23e690 all runs: OK # git bisect good 60069ac90ba24cec5a9d161a12f318635b57e4c8 Bisecting: 62 revisions left to test after this (roughly 6 steps) [b4961780b13c596316ed956eb57535c3b541b652] Merge branch 'for-5.16/inode-sync' into for-next testing commit b4961780b13c596316ed956eb57535c3b541b652 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 5f55f6de33a8954e60e88b2b7deb159be5d48611a88c1cf66fa05e3a8e56c1e4 all runs: OK # git bisect good b4961780b13c596316ed956eb57535c3b541b652 Bisecting: 32 revisions left to test after this (roughly 5 steps) [801cafd639486ccce436a152c496eb96d0d9c5dd] Merge branch 'for-5.16/block' into for-next testing commit 801cafd639486ccce436a152c496eb96d0d9c5dd compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 8901703ad1a309657954e66c65b43355ec86dfc3f9c9cfb924cdde23e0fa4ead all runs: OK # git bisect good 801cafd639486ccce436a152c496eb96d0d9c5dd Bisecting: 17 revisions left to test after this (roughly 4 steps) [8cfa4097726f12013f85496bd16d068aaca13e9b] Merge branch 'for-5.16/block' into for-next testing commit 8cfa4097726f12013f85496bd16d068aaca13e9b compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: a9ea0c6443de1d2f760a93cffa69fae331f58fd08f710644ec6cdb666f7a4c9f all runs: OK # git bisect good 8cfa4097726f12013f85496bd16d068aaca13e9b Bisecting: 6 revisions left to test after this (roughly 3 steps) [5f6f1dc0433b524633f6f069ae4032ffaa0d81e5] Merge branch 'for-5.16/drivers' into for-next testing commit 5f6f1dc0433b524633f6f069ae4032ffaa0d81e5 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 5a2056fb8be214b389fc6a1a034757a44332116408ef248acf8b181f9d31afcd all runs: OK # git bisect good 5f6f1dc0433b524633f6f069ae4032ffaa0d81e5 Bisecting: 3 revisions left to test after this (roughly 2 steps) [57d9cc0f0dfe7453327c4c71ea22074419e2e800] io_uring: don't get completion_lock in io_poll_rewait() testing commit 57d9cc0f0dfe7453327c4c71ea22074419e2e800 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 23df71c76cfc11d4906babe60b011d663a52f8a0dfb7cfd167cd76dfca7c4719 run #0: crashed: WARNING: refcount bug in rcu_core run #1: crashed: WARNING: refcount bug in rcu_core run #2: crashed: WARNING: refcount bug in rcu_core run #3: crashed: KASAN: use-after-free Read in tctx_task_work run #4: crashed: WARNING: refcount bug in rcu_core run #5: crashed: WARNING: refcount bug in rcu_core run #6: crashed: KASAN: use-after-free Read in tctx_task_work run #7: crashed: KASAN: use-after-free Read in tctx_task_work run #8: crashed: KASAN: use-after-free Read in tctx_task_work run #9: crashed: INFO: task hung in io_uring_try_cancel_requests # git bisect bad 57d9cc0f0dfe7453327c4c71ea22074419e2e800 Bisecting: 0 revisions left to test after this (roughly 1 step) [34ced75ca1f63fac6148497971212583aa0f7a87] io_uring: reduce frequent add_wait_queue() overhead for multi-shot poll request testing commit 34ced75ca1f63fac6148497971212583aa0f7a87 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 8debf6148d8de23d2e9aacabf5644481d2595941a17dbd694e97a1ef4409f97c run #0: crashed: KASAN: use-after-free Read in tctx_task_work run #1: crashed: KASAN: use-after-free Read in __io_free_req run #2: crashed: WARNING: refcount bug in rcu_core run #3: crashed: KASAN: use-after-free Read in tctx_task_work run #4: crashed: WARNING: refcount bug in rcu_core run #5: crashed: WARNING: refcount bug in rcu_core run #6: crashed: KASAN: use-after-free Read in tctx_task_work run #7: crashed: KASAN: use-after-free Read in tctx_task_work run #8: crashed: WARNING: refcount bug in rcu_core run #9: crashed: INFO: task hung in io_uring_try_cancel_requests # git bisect bad 34ced75ca1f63fac6148497971212583aa0f7a87 Bisecting: 0 revisions left to test after this (roughly 0 steps) [db3191671f970164d0074039d262d3f402a417eb] io_uring: refactor event check out of __io_async_wake() testing commit db3191671f970164d0074039d262d3f402a417eb compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 4c9352e30bc2d91e675c7df611cb790b35cbc0de0714a0a8dfce4d161988eaca all runs: OK # git bisect good db3191671f970164d0074039d262d3f402a417eb 34ced75ca1f63fac6148497971212583aa0f7a87 is the first bad commit commit 34ced75ca1f63fac6148497971212583aa0f7a87 Author: Xiaoguang Wang Date: Mon Oct 25 13:38:48 2021 +0800 io_uring: reduce frequent add_wait_queue() overhead for multi-shot poll request Run echo_server to evaluate io_uring's multi-shot poll performance, perf shows that add_wait_queue() has obvious overhead. Intruduce a new state 'active' in io_poll_iocb to indicate whether io_poll_wake() should queue a task_work. This new state will be set to true initially, be set to false when starting to queue a task work, and be set to true again when a poll cqe has been committed. One concern is that this method may lost waken-up event, but seems it's ok. io_poll_wake io_poll_task_func t1 | t2 | WRITE_ONCE(req->poll.active, true); t3 | t4 | io_commit_cqring(ctx); t5 | t6 | If waken-up events happens before or at t4, it's ok, user app will always see a cqe. If waken-up events happens after t4 and IIUC, io_poll_wake() will see the new req->poll.active value by using READ_ONCE(). Echo_server codes can be cloned from: https://codeup.openanolis.cn/codeup/storage/io_uring-echo-server.git, branch is xiaoguangwang/io_uring_multishot. Without this patch, the tps in our test environment is 284116, with this patch, the tps is 287832, about 1.3% reqs improvement, which is indeed in accord with the saved add_wait_queue() cost. Signed-off-by: Xiaoguang Wang Link: https://lore.kernel.org/r/20211025053849.3139-3-xiaoguang.wang@linux.alibaba.com Signed-off-by: Jens Axboe fs/io_uring.c | 57 +++++++++++++++++++++++++++++++++------------------------ 1 file changed, 33 insertions(+), 24 deletions(-) culprit signature: 8debf6148d8de23d2e9aacabf5644481d2595941a17dbd694e97a1ef4409f97c parent signature: 4c9352e30bc2d91e675c7df611cb790b35cbc0de0714a0a8dfce4d161988eaca revisions tested: 17, total time: 4h8m44.586852033s (build: 1h46m45.599861482s, test: 2h20m15.395487153s) first bad commit: 34ced75ca1f63fac6148497971212583aa0f7a87 io_uring: reduce frequent add_wait_queue() overhead for multi-shot poll request recipients (to): ["axboe@kernel.dk" "axboe@kernel.dk" "io-uring@vger.kernel.org" "xiaoguang.wang@linux.alibaba.com"] recipients (cc): ["asml.silence@gmail.com" "linux-kernel@vger.kernel.org"] crash: INFO: task hung in io_uring_try_cancel_requests INFO: task kworker/u4:11:9417 blocked for more than 143 seconds. Not tainted 5.15.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:11 state:D stack:25992 pid: 9417 ppid: 2 flags:0x00004000 Workqueue: events_unbound io_ring_exit_work Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0xb04/0x5920 kernel/sched/core.c:6287 schedule+0xd3/0x270 kernel/sched/core.c:6366 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6425 __mutex_lock_common kernel/locking/mutex.c:669 [inline] __mutex_lock+0xa34/0x12f0 kernel/locking/mutex.c:729 io_uring_try_cancel_iowq fs/io_uring.c:9580 [inline] io_uring_try_cancel_requests+0x107/0x5fc fs/io_uring.c:9610 io_ring_exit_work+0xf1/0xa1d fs/io_uring.c:9408 process_one_work+0x87f/0x1450 kernel/workqueue.c:2297 worker_thread+0x598/0x1040 kernel/workqueue.c:2444 kthread+0x38b/0x460 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8a7784c0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6446 3 locks held by kworker/u4:4/1113: #0: ffff88800f869138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff88800f869138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff88800f869138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline] #0: ffff88800f869138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:634 [inline] #0: ffff88800f869138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:661 [inline] #0: ffff88800f869138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x7a4/0x1450 kernel/workqueue.c:2268 #1: ffffc90004df7db8 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x7d1/0x1450 kernel/workqueue.c:2272 #2: ffff8881469340a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_uring_try_cancel_iowq fs/io_uring.c:9580 [inline] #2: ffff8881469340a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_uring_try_cancel_requests+0x107/0x5fc fs/io_uring.c:9610 1 lock held by in:imklog/6217: #0: ffff88801972bc70 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x9c/0xb0 fs/file.c:990 3 locks held by kworker/u4:11/9417: #0: ffff88800f869138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff88800f869138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff88800f869138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline] #0: ffff88800f869138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:634 [inline] #0: ffff88800f869138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:661 [inline] #0: ffff88800f869138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x7a4/0x1450 kernel/workqueue.c:2268 #1: ffffc9000d61fdb8 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x7d1/0x1450 kernel/workqueue.c:2272 #2: ffff88807e8a30a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_uring_try_cancel_iowq fs/io_uring.c:9580 [inline] #2: ffff88807e8a30a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_uring_try_cancel_requests+0x107/0x5fc fs/io_uring.c:9610 3 locks held by kworker/u4:12/9418: #0: ffff88800f869138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff88800f869138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff88800f869138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline] #0: ffff88800f869138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:634 [inline] #0: ffff88800f869138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:661 [inline] #0: ffff88800f869138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x7a4/0x1450 kernel/workqueue.c:2268 #1: ffffc9000d55fdb8 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x7d1/0x1450 kernel/workqueue.c:2272 #2: ffff8880784c00a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_uring_try_cancel_iowq fs/io_uring.c:9580 [inline] #2: ffff8880784c00a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_uring_try_cancel_requests+0x107/0x5fc fs/io_uring.c:9610 1 lock held by syz-executor.2/10743: 1 lock held by syz-executor.4/11418: 1 lock held by syz-executor.4/13249: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x57/0x7d lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x30/0xc0 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x11a/0x160 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0x88c/0xbf0 kernel/hung_task.c:295 kthread+0x38b/0x460 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 11418 Comm: syz-executor.4 Not tainted 5.15.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__lock_acquire+0x66/0x5410 kernel/locking/lockdep.c:4873 Code: 65 fc 89 48 c7 84 24 98 00 00 00 80 94 53 81 44 89 44 24 08 48 89 44 24 20 48 8d 84 24 88 00 00 00 48 c1 e8 03 48 89 44 24 30 <48> 89 c6 48 b8 00 00 00 00 00 fc ff df 48 8d 14 06 c7 02 f1 f1 f1 RSP: 0018:ffffc90003d2f860 EFLAGS: 00000806 RAX: 1ffff920007a5f1d RBX: ffff8881469343d8 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8881469343d8 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000076086 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055ea4fabb498 CR3: 000000000a48e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5625 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5590 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:363 [inline] __io_free_req+0x250/0x315 fs/io_uring.c:2008 tctx_task_work+0x151/0x4c0 fs/io_uring.c:2176 task_work_run+0xc0/0x160 kernel/task_work.c:164 exit_task_work include/linux/task_work.h:32 [inline] do_exit+0x9d8/0x24b0 kernel/exit.c:824 do_group_exit+0xe7/0x290 kernel/exit.c:921 get_signal+0x3b2/0x1c80 kernel/signal.c:2868 arch_do_signal_or_restart+0x2a9/0x1c40 arch/x86/kernel/signal.c:865 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0x17d/0x290 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7ffa6ef06a39 Code: Unable to access opcode bytes at RIP 0x7ffa6ef06a0f. RSP: 002b:00007ffa6e67c188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: 0000000000000001 RBX: 00007ffa6f019f60 RCX: 00007ffa6ef06a39 RDX: 0000000000000000 RSI: 000000000000090e RDI: 0000000000000004 RBP: 00007ffa6ef60e8f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdcd9c19ff R14: 00007ffa6e67c300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 65 fc gs cld 2: 89 48 c7 mov %ecx,-0x39(%rax) 5: 84 24 98 test %ah,(%rax,%rbx,4) 8: 00 00 add %al,(%rax) a: 00 80 94 53 81 44 add %al,0x44815394(%rax) 10: 89 44 24 08 mov %eax,0x8(%rsp) 14: 48 89 44 24 20 mov %rax,0x20(%rsp) 19: 48 8d 84 24 88 00 00 lea 0x88(%rsp),%rax 20: 00 21: 48 c1 e8 03 shr $0x3,%rax 25: 48 89 44 24 30 mov %rax,0x30(%rsp) * 2a: 48 89 c6 mov %rax,%rsi <-- trapping instruction 2d: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 34: fc ff df 37: 48 8d 14 06 lea (%rsi,%rax,1),%rdx 3b: c7 .byte 0xc7 3c: 02 f1 add %cl,%dh 3e: f1 icebp 3f: f1 icebp