RBP: 00007fe8c9ce21d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 00007ffc7b8ef40f R14: 00007fe8c9ce2300 R15: 0000000000022000 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 6696 at kernel/locking/lockdep.c:894 look_up_lock_class+0x86/0x110 kernel/locking/lockdep.c:894 Modules linked in: CPU: 1 PID: 6696 Comm: syz-executor.2 Not tainted 5.10.222 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:look_up_lock_class+0x86/0x110 kernel/locking/lockdep.c:894 Code: 24 e8 ce 02 00 00 4d 85 e4 74 2c 49 39 5c 24 40 75 eb 48 8b 45 18 49 39 84 24 b0 00 00 00 74 1a 48 81 7d 00 00 22 15 86 74 10 <0f> 0b eb 0c e8 61 4a 0a fe 85 c0 75 50 45 31 e4 48 83 c4 08 4c 89 RSP: 0018:ffff88804a09f808 EFLAGS: 00010002 RAX: ffffffff84535860 RBX: ffffffff871b9521 RCX: 0000000000000000 RDX: 0000000000000046 RSI: 0000000000000001 RDI: ffff88801d79a000 RBP: ffff88801d79a000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000246 R11: 0000000000000001 R12: ffffffff868b9200 R13: ffffffff86bf59e0 R14: 0000000000000001 R15: 0000000000000000 FS: 00007fe8c9ce2700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055e68e78d448 CR3: 0000000047024000 CR4: 0000000000350ee0 Call Trace: register_lock_class+0xbb/0x17b0 kernel/locking/lockdep.c:1244 __lock_acquire+0x102/0x5b00 kernel/locking/lockdep.c:4834 lock_acquire kernel/locking/lockdep.c:5566 [inline] lock_acquire+0x197/0x470 kernel/locking/lockdep.c:5531 down_write_nested+0x96/0x160 kernel/locking/rwsem.c:1667 ext4_double_down_write_data_sem+0x63/0x70 fs/ext4/move_extent.c:58 swap_inode_boot_loader fs/ext4/ioctl.c:172 [inline] __ext4_ioctl+0x16e7/0x4190 fs/ext4/ioctl.c:1065 vfs_ioctl fs/ioctl.c:48 [inline] __do_sys_ioctl fs/ioctl.c:753 [inline] __se_sys_ioctl fs/ioctl.c:739 [inline] __x64_sys_ioctl+0x19a/0x210 fs/ioctl.c:739 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x67/0xd1 RIP: 0033:0x7fe8cc76cb19 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:00007fe8c9ce2188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fe8cc87ff60 RCX: 00007fe8cc76cb19 RDX: 0000000000000000 RSI: 0000000000006611 RDI: 0000000000000003 RBP: 00007fe8c9ce21d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 00007ffc7b8ef40f R14: 00007fe8c9ce2300 R15: 0000000000022000 irq event stamp: 1971 hardirqs last enabled at (1971): [] __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:168 [inline] hardirqs last enabled at (1971): [] _raw_spin_unlock_irq+0x1f/0x30 kernel/locking/spinlock.c:199 hardirqs last disabled at (1970): [] __schedule+0xfdd/0x1ea0 kernel/sched/core.c:4448 softirqs last enabled at (1758): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (1747): [] asm_call_irq_on_stack+0x12/0x20 ---[ end trace 3d73514f80016243 ]--- FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 0 PID: 6716 Comm: syz-executor.2 Tainted: G W 5.10.222 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x107/0x167 lib/dump_stack.c:118 fail_dump lib/fault-inject.c:52 [inline] should_fail.cold+0x5/0xa lib/fault-inject.c:146 should_failslab+0x5/0x20 mm/slab_common.c:1193 slab_pre_alloc_hook mm/slab.h:515 [inline] slab_alloc_node mm/slub.c:2821 [inline] slab_alloc mm/slub.c:2904 [inline] kmem_cache_alloc+0x5b/0x310 mm/slub.c:2909 mempool_alloc+0x148/0x360 mm/mempool.c:391 __sg_alloc_table+0x24e/0x390 lib/scatterlist.c:302 sg_alloc_table_chained+0x9b/0x1f0 lib/sg_pool.c:132 scsi_alloc_sgtables+0x236/0xaf0 drivers/scsi/scsi_lib.c:1031 sd_setup_read_write_cmnd drivers/scsi/sd.c:1232 [inline] sd_init_command+0x516/0x3550 drivers/scsi/sd.c:1358 scsi_prepare_cmd drivers/scsi/scsi_lib.c:1594 [inline] scsi_queue_rq+0xe5e/0x27f0 drivers/scsi/scsi_lib.c:1672 blk_mq_dispatch_rq_list+0x372/0x1c40 block/blk-mq.c:1389 __blk_mq_do_dispatch_sched block/blk-mq-sched.c:186 [inline] blk_mq_do_dispatch_sched+0x7f4/0xa00 block/blk-mq-sched.c:200 __blk_mq_sched_dispatch_requests+0x2d7/0x450 block/blk-mq-sched.c:322 blk_mq_sched_dispatch_requests+0xfb/0x180 block/blk-mq-sched.c:348 __blk_mq_run_hw_queue+0x12c/0x290 block/blk-mq.c:1538 __blk_mq_delay_run_hw_queue+0x4f1/0x550 block/blk-mq.c:1615 blk_mq_run_hw_queue+0x170/0x2f0 block/blk-mq.c:1668 blk_mq_sched_insert_requests+0x247/0x720 block/blk-mq-sched.c:510 blk_mq_flush_plug_list+0x415/0x6c0 block/blk-mq.c:1939 blk_flush_plug_list+0x26c/0x3c0 block/blk-core.c:1761 blk_finish_plug block/blk-core.c:1778 [inline] blk_finish_plug+0x50/0xa0 block/blk-core.c:1774 ext4_writepages+0x22e6/0x3350 fs/ext4/inode.c:2882 do_writepages+0xee/0x2a0 mm/page-writeback.c:2374 __filemap_fdatawrite_range+0x24b/0x2f0 mm/filemap.c:422 filemap_write_and_wait_range mm/filemap.c:655 [inline] filemap_write_and_wait_range+0x65/0x100 mm/filemap.c:649 filemap_write_and_wait include/linux/fs.h:2752 [inline] swap_inode_boot_loader fs/ext4/ioctl.c:149 [inline] __ext4_ioctl+0x1578/0x4190 fs/ext4/ioctl.c:1065 vfs_ioctl fs/ioctl.c:48 [inline] __do_sys_ioctl fs/ioctl.c:753 [inline] __se_sys_ioctl fs/ioctl.c:739 [inline] __x64_sys_ioctl+0x19a/0x210 fs/ioctl.c:739 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x67/0xd1 RIP: 0033:0x7fe8cc76cb19 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:00007fe8c9ce2188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fe8cc87ff60 RCX: 00007fe8cc76cb19 RDX: 0000000000000000 RSI: 0000000000006611 RDI: 0000000000000003 RBP: 00007fe8c9ce21d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 00007ffc7b8ef40f R14: 00007fe8c9ce2300 R15: 0000000000022000