EXT4-fs warning (device loop1): ext4_group_extend:1813: can't read last block, resize aborted EXT4-fs (loop5): Unrecognized mount option "³ß•Góÿ*ºB‚+‡=z7" or missing value ------------[ cut here ]------------ WARNING: CPU: 0 PID: 320 at lib/percpu-refcount.c:112 __percpu_ref_exit+0x98/0x100 lib/percpu-refcount.c:112 Modules linked in: CPU: 0 PID: 320 Comm: kworker/u4:4 Not tainted 5.10.105 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 capability: warning: `syz-executor.4' uses 32-bit capabilities (legacy support in use) Workqueue: events_unbound io_ring_exit_work RIP: 0010:__percpu_ref_exit+0x98/0x100 lib/percpu-refcount.c:112 Code: ff 49 8d 7c 24 10 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 75 61 49 83 7c 24 10 00 74 07 e8 28 ca 50 ff <0f> 0b e8 21 ca 50 ff 48 89 ef e8 89 38 6c ff 48 89 da 48 b8 00 00 RSP: 0018:ffff888043f8fbf8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff888043f0c000 RCX: ffffffff81eedf48 RDX: ffff88800cf41940 RSI: ffffffff81eedfa8 RDI: ffff88800e2e6e10 RBP: 0000607f92e13da0 R08: 0000000000000001 R09: ffffffff86555727 R10: 0000000000000000 R11: 0000000000000001 R12: ffff88800e2e6e00 R13: ffff888017a33280 R14: ffff88800e2e6e00 R15: dead000000000122 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b33a21000 CR3: 000000001e396000 CR4: 0000000000350ef0 Call Trace: percpu_ref_exit+0x3b/0x140 lib/percpu-refcount.c:133 io_ring_ctx_free fs/io_uring.c:8467 [inline] io_ring_exit_work+0x60f/0x920 fs/io_uring.c:8544 process_one_work+0x9a9/0x1590 kernel/workqueue.c:2279 worker_thread+0x61d/0x1310 kernel/workqueue.c:2425 kthread+0x38f/0x470 kernel/kthread.c:313 ret_from_fork+0x22/0x30 arch/x86/entry/entry_64.S:296 irq event stamp: 334269 hardirqs last enabled at (334275): [] console_trylock_spinning kernel/printk/printk.c:1847 [inline] hardirqs last enabled at (334275): [] vprintk_emit+0x482/0x4d0 kernel/printk/printk.c:2051 hardirqs last disabled at (334280): [] console_trylock_spinning kernel/printk/printk.c:1826 [inline] hardirqs last disabled at (334280): [] vprintk_emit+0x414/0x4d0 kernel/printk/printk.c:2051 softirqs last enabled at (334156): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (334135): [] asm_call_irq_on_stack+0x12/0x20 ---[ end trace 0552174a722c97b6 ]--- ================================================================== BUG: KASAN: use-after-free in rcu_cblist_dequeue+0xa4/0xe0 kernel/rcu/rcu_segcblist.c:75 Read of size 8 at addr ffff88800e2e6e20 by task ksoftirqd/1/16 CPU: 1 PID: 16 Comm: ksoftirqd/1 Tainted: G W 5.10.105 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x107/0x163 lib/dump_stack.c:118 print_address_description.constprop.0+0x1c/0x210 mm/kasan/report.c:385 __kasan_report mm/kasan/report.c:545 [inline] kasan_report.cold+0x37/0x7c mm/kasan/report.c:562 rcu_cblist_dequeue+0xa4/0xe0 kernel/rcu/rcu_segcblist.c:75 rcu_do_batch kernel/rcu/tree.c:2474 [inline] rcu_core+0x457/0x1660 kernel/rcu/tree.c:2722 __do_softirq+0x1b8/0x867 kernel/softirq.c:298 run_ksoftirqd kernel/softirq.c:653 [inline] run_ksoftirqd+0x21/0x50 kernel/softirq.c:645 smpboot_thread_fn+0x3f5/0x860 kernel/smpboot.c:164 kthread+0x38f/0x470 kernel/kthread.c:313 ret_from_fork+0x22/0x30 arch/x86/entry/entry_64.S:296 Allocated by task 5258: kasan_save_stack+0x1b/0x40 mm/kasan/common.c:48 kasan_set_track mm/kasan/common.c:56 [inline] __kasan_kmalloc.constprop.0+0xc2/0xd0 mm/kasan/common.c:461 kmalloc include/linux/slab.h:552 [inline] kzalloc include/linux/slab.h:664 [inline] percpu_ref_init+0xd8/0x390 lib/percpu-refcount.c:75 io_ring_ctx_alloc fs/io_uring.c:1205 [inline] io_uring_create fs/io_uring.c:9415 [inline] io_uring_setup+0x660/0x2ef0 fs/io_uring.c:9558 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Freed by task 320: kasan_save_stack+0x1b/0x40 mm/kasan/common.c:48 kasan_set_track+0x1c/0x30 mm/kasan/common.c:56 kasan_set_free_info+0x1b/0x30 mm/kasan/generic.c:355 __kasan_slab_free+0x110/0x150 mm/kasan/common.c:422 slab_free_hook mm/slub.c:1542 [inline] slab_free_freelist_hook+0xa9/0x180 mm/slub.c:1576 slab_free mm/slub.c:3149 [inline] kfree+0xd7/0x380 mm/slub.c:4125 percpu_ref_exit+0xf7/0x140 lib/percpu-refcount.c:144 io_ring_ctx_free fs/io_uring.c:8467 [inline] io_ring_exit_work+0x60f/0x920 fs/io_uring.c:8544 process_one_work+0x9a9/0x1590 kernel/workqueue.c:2279 worker_thread+0x61d/0x1310 kernel/workqueue.c:2425 kthread+0x38f/0x470 kernel/kthread.c:313 ret_from_fork+0x22/0x30 arch/x86/entry/entry_64.S:296 Last call_rcu(): kasan_save_stack+0x1b/0x40 mm/kasan/common.c:48 kasan_record_aux_stack+0x9e/0xb0 mm/kasan/generic.c:346 __call_rcu kernel/rcu/tree.c:2963 [inline] call_rcu+0x8a/0xa00 kernel/rcu/tree.c:3037 __percpu_ref_switch_to_atomic lib/percpu-refcount.c:226 [inline] __percpu_ref_switch_mode+0x3a1/0x810 lib/percpu-refcount.c:273 percpu_ref_kill_and_confirm+0x8a/0x180 lib/percpu-refcount.c:387 percpu_ref_kill include/linux/percpu-refcount.h:149 [inline] io_ring_ctx_wait_and_kill+0x84/0x600 fs/io_uring.c:8560 io_uring_release+0x3e/0x50 fs/io_uring.c:8605 __fput+0x285/0x980 fs/file_table.c:281 task_work_run+0xe2/0x1a0 kernel/task_work.c:151 exit_task_work include/linux/task_work.h:30 [inline] do_exit+0xc1b/0x2770 kernel/exit.c:811 do_group_exit+0x125/0x310 kernel/exit.c:908 get_signal+0x469/0x2200 kernel/signal.c:2748 arch_do_signal+0x88/0x1b70 arch/x86/kernel/signal.c:805 exit_to_user_mode_loop kernel/entry/common.c:161 [inline] exit_to_user_mode_prepare+0xf7/0x160 kernel/entry/common.c:191 syscall_exit_to_user_mode+0x38/0x230 kernel/entry/common.c:266 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Second to last call_rcu(): kasan_save_stack+0x1b/0x40 mm/kasan/common.c:48 kasan_record_aux_stack+0x9e/0xb0 mm/kasan/generic.c:346 __call_rcu kernel/rcu/tree.c:2963 [inline] call_rcu+0x8a/0xa00 kernel/rcu/tree.c:3037 __percpu_ref_switch_to_atomic lib/percpu-refcount.c:226 [inline] __percpu_ref_switch_mode+0x3a1/0x810 lib/percpu-refcount.c:273 percpu_ref_kill_and_confirm+0x8a/0x180 lib/percpu-refcount.c:387 percpu_ref_kill include/linux/percpu-refcount.h:149 [inline] __io_uring_register fs/io_uring.c:9741 [inline] __do_sys_io_uring_register+0x499/0x3f40 fs/io_uring.c:9882 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 The buggy address belongs to the object at ffff88800e2e6e00 which belongs to the cache kmalloc-64 of size 64 The buggy address is located 32 bytes inside of 64-byte region [ffff88800e2e6e00, ffff88800e2e6e40) The buggy address belongs to the page: page:0000000040765c6a refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xe2e6 flags: 0x100000000000200(slab) raw: 0100000000000200 dead000000000100 dead000000000122 ffff888007c418c0 raw: 0000000000000000 0000000000200020 00000001ffffffff ffff888017a9a201 page dumped because: kasan: bad access detected page->mem_cgroup:ffff888017a9a201 Memory state around the buggy address: ffff88800e2e6d00: fa fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc ffff88800e2e6d80: fa fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc >ffff88800e2e6e00: fa fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc ^ ffff88800e2e6e80: fa fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc ffff88800e2e6f00: fa fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc ================================================================== BUG: unable to handle page fault for address: ffffde2016a4ed60 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 7c2a067 P4D 7c2a067 PUD 0 Oops: 0000 [#1] SMP KASAN NOPTI CPU: 1 PID: 16 Comm: ksoftirqd/1 Tainted: G B W 5.10.105 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 RIP: 0010:percpu_ref_switch_to_atomic_rcu+0xcb/0x3a0 lib/percpu-refcount.c:175 Code: c0 76 a8 84 48 89 fa 48 c1 ea 03 80 3c 2a 00 0f 85 67 02 00 00 4a 8b 04 ed c0 76 a8 84 4c 01 e0 48 89 c2 49 89 c5 48 c1 ea 03 <80> 3c 2a 00 0f 85 52 02 00 00 49 03 5d 00 e8 62 c0 50 ff 44 89 ff RSP: 0018:ffff8880085afcb0 EFLAGS: 00010216 RAX: ffff1100b5276b00 RBX: 0000000000000000 RCX: ffffffff81eee9a7 RDX: 1fffe22016a4ed60 RSI: ffffffff81eee92a RDI: ffffffff84a876c0 RBP: dffffc0000000000 R08: 0000000000000000 R09: ffffffff85473dcf R10: 0000000000000000 R11: 0000000000000001 R12: ffff888048476b00 R13: ffff1100b5276b00 R14: ffff88800e2e6e20 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffde2016a4ed60 CR3: 000000001e396000 CR4: 0000000000350ee0 Call Trace: rcu_do_batch kernel/rcu/tree.c:2485 [inline] rcu_core+0x52d/0x1660 kernel/rcu/tree.c:2722 __do_softirq+0x1b8/0x867 kernel/softirq.c:298 run_ksoftirqd kernel/softirq.c:653 [inline] run_ksoftirqd+0x21/0x50 kernel/softirq.c:645 smpboot_thread_fn+0x3f5/0x860 kernel/smpboot.c:164 kthread+0x38f/0x470 kernel/kthread.c:313 ret_from_fork+0x22/0x30 arch/x86/entry/entry_64.S:296 Modules linked in: CR2: ffffde2016a4ed60 ---[ end trace 0552174a722c97b7 ]--- RIP: 0010:percpu_ref_switch_to_atomic_rcu+0xcb/0x3a0 lib/percpu-refcount.c:175 Code: c0 76 a8 84 48 89 fa 48 c1 ea 03 80 3c 2a 00 0f 85 67 02 00 00 4a 8b 04 ed c0 76 a8 84 4c 01 e0 48 89 c2 49 89 c5 48 c1 ea 03 <80> 3c 2a 00 0f 85 52 02 00 00 49 03 5d 00 e8 62 c0 50 ff 44 89 ff RSP: 0018:ffff8880085afcb0 EFLAGS: 00010216 RAX: ffff1100b5276b00 RBX: 0000000000000000 RCX: ffffffff81eee9a7 RDX: 1fffe22016a4ed60 RSI: ffffffff81eee92a RDI: ffffffff84a876c0 RBP: dffffc0000000000 R08: 0000000000000000 R09: ffffffff85473dcf R10: 0000000000000000 R11: 0000000000000001 R12: ffff888048476b00 R13: ffff1100b5276b00 R14: ffff88800e2e6e20 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffde2016a4ed60 CR3: 000000001e396000 CR4: 0000000000350ee0 ---------------- Code disassembly (best guess): 0: c0 76 a8 84 shlb $0x84,-0x58(%rsi) 4: 48 89 fa mov %rdi,%rdx 7: 48 c1 ea 03 shr $0x3,%rdx b: 80 3c 2a 00 cmpb $0x0,(%rdx,%rbp,1) f: 0f 85 67 02 00 00 jne 0x27c 15: 4a 8b 04 ed c0 76 a8 mov -0x7b578940(,%r13,8),%rax 1c: 84 1d: 4c 01 e0 add %r12,%rax 20: 48 89 c2 mov %rax,%rdx 23: 49 89 c5 mov %rax,%r13 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 2a 00 cmpb $0x0,(%rdx,%rbp,1) <-- trapping instruction 2e: 0f 85 52 02 00 00 jne 0x286 34: 49 03 5d 00 add 0x0(%r13),%rbx 38: e8 62 c0 50 ff callq 0xff50c09f 3d: 44 89 ff mov %r15d,%edi