EXT4-fs (loop7): Unrecognized mount option "" or missing value EXT4-fs (loop7): Unrecognized mount option "" or missing value ------------[ cut here ]------------ WARNING: CPU: 0 PID: 424 at lib/percpu-refcount.c:112 __percpu_ref_exit+0x98/0x100 lib/percpu-refcount.c:112 Modules linked in: CPU: 0 PID: 424 Comm: kworker/u4:8 Not tainted 5.10.45 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 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 78 2f 52 ff <0f> 0b e8 71 2f 52 ff 48 89 ef e8 79 7f 6d ff 48 89 da 48 b8 00 00 RSP: 0018:ffff888044777ca0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88804f9e4000 RCX: ffffffff81ed5be8 RDX: ffff8880445e9940 RSI: ffffffff81ed5c48 RDI: ffff888021d93710 RBP: 0000607f92e14ff8 R08: 0000000000000001 R09: ffffffff864f06b7 R10: 0000000000000000 R11: 0000000000000001 R12: ffff888021d93700 R13: ffff88804f9e4000 R14: ffff888021d93700 R15: ffff8880570b6520 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0f6208b718 CR3: 00000000511a6000 CR4: 0000000000350ef0 Call Trace: percpu_ref_exit+0x3b/0x140 lib/percpu-refcount.c:133 io_ring_ctx_free fs/io_uring.c:8460 [inline] io_ring_exit_work+0x41a/0x640 fs/io_uring.c:8536 process_one_work+0x9a9/0x1590 kernel/workqueue.c:2270 worker_thread+0x61d/0x1310 kernel/workqueue.c:2416 kthread+0x38f/0x470 kernel/kthread.c:292 ret_from_fork+0x22/0x30 arch/x86/entry/entry_64.S:296 irq event stamp: 4174559 hardirqs last enabled at (4174573): [] console_unlock+0x929/0xb30 kernel/printk/printk.c:2552 hardirqs last disabled at (4174584): [] console_unlock+0x835/0xb30 kernel/printk/printk.c:2467 softirqs last enabled at (4174374): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (4174365): [] asm_call_irq_on_stack+0x12/0x20 ---[ end trace 39d6664df6f71bbf ]--- ================================================================== BUG: KASAN: use-after-free in rcu_cblist_dequeue+0xa4/0xe0 kernel/rcu/rcu_segcblist.c:75 Read of size 8 at addr ffff888021d93720 by task jbd2/sda-8/74 CPU: 0 PID: 74 Comm: jbd2/sda-8 Tainted: G W 5.10.45 #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+0x4a3/0x1640 kernel/rcu/tree.c:2719 __do_softirq+0x1b8/0x85f kernel/softirq.c:298 asm_call_irq_on_stack+0x12/0x20 __run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline] do_softirq_own_stack+0x80/0xa0 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:393 [inline] __irq_exit_rcu kernel/softirq.c:423 [inline] irq_exit_rcu+0x110/0x1a0 kernel/softirq.c:435 sysvec_apic_timer_interrupt+0x43/0xa0 arch/x86/kernel/apic/apic.c:1095 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:644 RIP: 0010:get_current arch/x86/include/asm/current.h:15 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x4/0x60 kernel/kcov.c:196 Code: 08 00 00 00 4d 8b 17 49 8b 16 48 0f bd c8 48 63 c9 e9 5e ff ff ff 4c 01 d2 49 89 17 e9 d1 fd ff ff 0f 1f 44 00 00 48 8b 34 24 <65> 48 8b 14 25 40 ef 01 00 65 8b 05 2c 63 c2 7e a9 00 01 ff 00 74 RSP: 0018:ffff88800e0a7a08 EFLAGS: 00000216 RAX: 0000000000000000 RBX: 000000002f5b3d10 RCX: ffffffff81efc1b3 RDX: 000000000000001f RSI: ffffffff81efbfb4 RDI: 0000000000000006 RBP: 0000000000000200 R08: 0000000000000000 R09: 0000000028478f67 R10: 0000000000000200 R11: 0000000000000000 R12: dffffc0000000000 R13: ffffffff843b5800 R14: 000000000000001f R15: ffff8880499be0f4 crc32_body+0x84/0x600 lib/crc32.c:106 chksum_update+0x4c/0xb0 crypto/crc32c_generic.c:88 crypto_shash_update+0xca/0x120 crypto/shash.c:119 jbd2_chksum include/linux/jbd2.h:1741 [inline] jbd2_block_tag_csum_set fs/jbd2/commit.c:366 [inline] jbd2_journal_commit_transaction+0x2a81/0x65c0 fs/jbd2/commit.c:729 kjournald2+0x1d1/0x930 fs/jbd2/journal.c:213 kthread+0x38f/0x470 kernel/kthread.c:292 ret_from_fork+0x22/0x30 arch/x86/entry/entry_64.S:296 Allocated by task 16566: 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:1203 [inline] io_uring_create fs/io_uring.c:9398 [inline] io_uring_setup+0x665/0x2fe0 fs/io_uring.c:9541 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Freed by task 424: 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:1541 [inline] slab_free_freelist_hook+0x64/0x150 mm/slub.c:1574 slab_free mm/slub.c:3139 [inline] kfree+0xca/0x380 mm/slub.c:4121 percpu_ref_exit+0xf7/0x140 lib/percpu-refcount.c:144 io_ring_ctx_free fs/io_uring.c:8460 [inline] io_ring_exit_work+0x41a/0x640 fs/io_uring.c:8536 process_one_work+0x9a9/0x1590 kernel/workqueue.c:2270 worker_thread+0x61d/0x1310 kernel/workqueue.c:2416 kthread+0x38f/0x470 kernel/kthread.c:292 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:2961 [inline] call_rcu+0x8a/0xa20 kernel/rcu/tree.c:3035 __percpu_ref_switch_to_atomic lib/percpu-refcount.c:226 [inline] __percpu_ref_switch_mode+0x3ba/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+0x33/0x530 fs/io_uring.c:8549 io_uring_release+0x3e/0x50 fs/io_uring.c:8593 __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/0x2780 kernel/exit.c:811 do_group_exit+0x125/0x310 kernel/exit.c:908 get_signal+0x469/0x2200 kernel/signal.c:2758 arch_do_signal+0x88/0x1a90 arch/x86/kernel/signal.c:789 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:2961 [inline] call_rcu+0x8a/0xa20 kernel/rcu/tree.c:3035 __percpu_ref_switch_to_atomic lib/percpu-refcount.c:226 [inline] __percpu_ref_switch_mode+0x3ba/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:9736 [inline] __do_sys_io_uring_register+0x4eb/0x3f50 fs/io_uring.c:9877 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 ffff888021d93700 which belongs to the cache kmalloc-64 of size 64 The buggy address is located 32 bytes inside of 64-byte region [ffff888021d93700, ffff888021d93740) The buggy address belongs to the page: page:00000000c8abb8da refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x21d93 flags: 0x100000000000200(slab) raw: 0100000000000200 0000000000000000 0000001400000001 ffff888007c418c0 raw: 0000000000000000 0000000000200020 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff888021d93600: fa fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc ffff888021d93680: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc >ffff888021d93700: fa fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc ^ ffff888021d93780: fa fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc ffff888021d93800: fa fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc ================================================================== BUG: unable to handle page fault for address: ffffde2017b1e360 #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: 0 PID: 74 Comm: jbd2/sda-8 Tainted: G B W 5.10.45 #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 56 a5 84 48 89 fa 48 c1 ea 03 80 3c 2a 00 0f 85 67 02 00 00 4a 8b 04 ed c0 56 a5 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 c2 25 52 ff 44 89 ff RSP: 0018:ffff88806ce09e30 EFLAGS: 00010216 RAX: ffff1100bd8f1b00 RBX: 0000000000000000 RCX: ffffffff81ed6637 RDX: 1fffe22017b1e360 RSI: ffffffff81ed65ba RDI: ffffffff84a556c0 RBP: dffffc0000000000 R08: 0000000000000000 R09: ffffffff8544f08f R10: 0000000000000000 R11: 0000000000000001 R12: ffff888050af1b00 R13: ffff1100bd8f1b00 R14: ffff888021d93720 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffde2017b1e360 CR3: 00000000095dc000 CR4: 0000000000350ef0 Call Trace: rcu_do_batch kernel/rcu/tree.c:2484 [inline] rcu_core+0x52d/0x1640 kernel/rcu/tree.c:2719 __do_softirq+0x1b8/0x85f kernel/softirq.c:298 asm_call_irq_on_stack+0x12/0x20 __run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline] do_softirq_own_stack+0x80/0xa0 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:393 [inline] __irq_exit_rcu kernel/softirq.c:423 [inline] irq_exit_rcu+0x110/0x1a0 kernel/softirq.c:435 sysvec_apic_timer_interrupt+0x43/0xa0 arch/x86/kernel/apic/apic.c:1095 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:644 RIP: 0010:get_current arch/x86/include/asm/current.h:15 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x4/0x60 kernel/kcov.c:196 Code: 08 00 00 00 4d 8b 17 49 8b 16 48 0f bd c8 48 63 c9 e9 5e ff ff ff 4c 01 d2 49 89 17 e9 d1 fd ff ff 0f 1f 44 00 00 48 8b 34 24 <65> 48 8b 14 25 40 ef 01 00 65 8b 05 2c 63 c2 7e a9 00 01 ff 00 74 RSP: 0018:ffff88800e0a7a08 EFLAGS: 00000216 RAX: 0000000000000000 RBX: 000000002f5b3d10 RCX: ffffffff81efc1b3 RDX: 000000000000001f RSI: ffffffff81efbfb4 RDI: 0000000000000006 RBP: 0000000000000200 R08: 0000000000000000 R09: 0000000028478f67 R10: 0000000000000200 R11: 0000000000000000 R12: dffffc0000000000 R13: ffffffff843b5800 R14: 000000000000001f R15: ffff8880499be0f4 crc32_body+0x84/0x600 lib/crc32.c:106 chksum_update+0x4c/0xb0 crypto/crc32c_generic.c:88 crypto_shash_update+0xca/0x120 crypto/shash.c:119 jbd2_chksum include/linux/jbd2.h:1741 [inline] jbd2_block_tag_csum_set fs/jbd2/commit.c:366 [inline] jbd2_journal_commit_transaction+0x2a81/0x65c0 fs/jbd2/commit.c:729 kjournald2+0x1d1/0x930 fs/jbd2/journal.c:213 kthread+0x38f/0x470 kernel/kthread.c:292 ret_from_fork+0x22/0x30 arch/x86/entry/entry_64.S:296 Modules linked in: CR2: ffffde2017b1e360 ---[ end trace 39d6664df6f71bc0 ]--- RIP: 0010:percpu_ref_switch_to_atomic_rcu+0xcb/0x3a0 lib/percpu-refcount.c:175 Code: c0 56 a5 84 48 89 fa 48 c1 ea 03 80 3c 2a 00 0f 85 67 02 00 00 4a 8b 04 ed c0 56 a5 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 c2 25 52 ff 44 89 ff RSP: 0018:ffff88806ce09e30 EFLAGS: 00010216 RAX: ffff1100bd8f1b00 RBX: 0000000000000000 RCX: ffffffff81ed6637 RDX: 1fffe22017b1e360 RSI: ffffffff81ed65ba RDI: ffffffff84a556c0 RBP: dffffc0000000000 R08: 0000000000000000 R09: ffffffff8544f08f R10: 0000000000000000 R11: 0000000000000001 R12: ffff888050af1b00 R13: ffff1100bd8f1b00 R14: ffff888021d93720 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffde2017b1e360 CR3: 00000000095dc000 CR4: 0000000000350ef0