------------[ cut here ]------------ refcount_t: underflow; use-after-free. WARNING: CPU: 1 PID: 11867 at lib/refcount.c:28 refcount_warn_saturate+0x103/0x1f0 lib/refcount.c:28 Modules linked in: CPU: 1 PID: 11867 Comm: syz-executor.0 Not tainted 5.10.52 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 RIP: 0010:refcount_warn_saturate+0x103/0x1f0 lib/refcount.c:28 Code: 1d d2 63 54 03 31 ff 89 de e8 c9 22 51 ff 84 db 75 a3 e8 90 29 51 ff 48 c7 c7 20 38 3b 84 c6 05 b2 63 54 03 01 e8 cc 0c c9 01 <0f> 0b eb 87 e8 74 29 51 ff 0f b6 1d 9b 63 54 03 31 ff 89 de e8 94 RSP: 0018:ffff88804e89f9f8 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000040000 RSI: ffffffff81293053 RDI: ffffed1009d13f31 RBP: ffff88802026e91c R08: 0000000000000001 R09: ffff88806cf2facf R10: 0000000000000000 R11: 0000000000000001 R12: ffff88802026e91c R13: 0000000000000000 R14: ffff88802026ecd8 R15: 0000000000000000 FS: 00007f84f0432700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d924000 CR3: 0000000048c40000 CR4: 0000000000350ee0 Call Trace: __refcount_sub_and_test include/linux/refcount.h:283 [inline] __refcount_dec_and_test include/linux/refcount.h:315 [inline] refcount_dec_and_test include/linux/refcount.h:333 [inline] io_put_req+0xc6/0x100 fs/io_uring.c:2220 __io_queue_sqe+0x2b1/0xd00 fs/io_uring.c:6358 io_queue_sqe+0x5bc/0x1020 fs/io_uring.c:6403 io_queue_link_head fs/io_uring.c:6414 [inline] io_submit_sqe fs/io_uring.c:6455 [inline] io_submit_sqes+0x17b5/0x2310 fs/io_uring.c:6700 __do_sys_io_uring_enter+0x1092/0x1910 fs/io_uring.c:9092 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x466609 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f84f0432188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 0000000000466609 RDX: 0000000000000000 RSI: 00000000000076d3 RDI: 0000000000000003 RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007fffaf5956ff R14: 00007f84f0432300 R15: 0000000000022000 irq event stamp: 1887 hardirqs last enabled at (1897): [] console_unlock+0x929/0xb30 kernel/printk/printk.c:2552 hardirqs last disabled at (1906): [] console_unlock+0x835/0xb30 kernel/printk/printk.c:2467 softirqs last enabled at (1428): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (1347): [] asm_call_irq_on_stack+0x12/0x20 ---[ end trace 6edf314a88074b28 ]--- EXT4-fs (loop2): mount failed EXT4-fs warning (device loop6): ext4_enable_quotas:6417: Failed to enable quota tracking (type=0, err=-22). Please run e2fsck to fix. EXT4-fs (loop6): mount failed Quota error (device loop2): v2_read_file_info: Free block number too big (0 >= 0). Quota error (device loop7): v2_read_file_info: Free block number too big (0 >= 0). EXT4-fs warning (device loop7): ext4_enable_quotas:6417: Failed to enable quota tracking (type=0, err=-117). Please run e2fsck to fix. EXT4-fs warning (device loop2): ext4_enable_quotas:6417: Failed to enable quota tracking (type=0, err=-117). Please run e2fsck to fix. EXT4-fs (loop2): mount failed EXT4-fs (loop7): mount failed EXT4-fs warning (device loop6): ext4_enable_quotas:6417: Failed to enable quota tracking (type=0, err=-22). Please run e2fsck to fix. EXT4-fs (loop6): mount failed Quota error (device loop7): v2_read_file_info: Free block number too big (0 >= 0). EXT4-fs warning (device loop7): ext4_enable_quotas:6417: Failed to enable quota tracking (type=0, err=-117). Please run e2fsck to fix. EXT4-fs (loop7): mount failed EXT4-fs warning (device loop6): ext4_enable_quotas:6417: Failed to enable quota tracking (type=0, err=-22). Please run e2fsck to fix. EXT4-fs (loop6): mount failed