------------[ cut here ]------------ WARNING: CPU: 0 PID: 26022 at kernel/locking/lockdep.c:894 look_up_lock_class+0x86/0x110 kernel/locking/lockdep.c:894 Modules linked in: CPU: 0 PID: 26022 Comm: syz-executor.3 Not tainted 5.10.212 #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 e2 14 86 74 10 <0f> 0b eb 0c e8 d1 bb 0a fe 85 c0 75 50 45 31 e4 48 83 c4 08 4c 89 RSP: 0018:ffff8880587ef590 EFLAGS: 00010002 RAX: ffffffff84535020 RBX: ffffffff871b5521 RCX: 0000000000000000 RDX: 0000000000000046 RSI: 0000000000000001 RDI: ffff88801d597898 RBP: ffff88801d597898 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000246 R11: 0000000000000001 R12: ffffffff868b3940 R13: ffffffff86bf19e0 R14: 0000000000000001 R15: 0000000000000000 FS: 00007f8e15876700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8579a193a4 CR3: 0000000058e9e000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 00000000dddd06aa 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 fs/ext4/move_extent.c:55 [inline] ext4_double_down_write_data_sem fs/ext4/move_extent.c:51 [inline] ext4_move_extents+0x3a0/0x3050 fs/ext4/move_extent.c:610 __ext4_ioctl+0x302e/0x4190 fs/ext4/ioctl.c:999 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+0x62/0xc7 RIP: 0033:0x7f8e18321b19 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:00007f8e15876188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f8e18435020 RCX: 00007f8e18321b19 RDX: 0000000020000040 RSI: 00000000c028660f RDI: 0000000000000003 RBP: 00007f8e1837bf6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff46d5351f R14: 00007f8e15876300 R15: 0000000000022000 irq event stamp: 479 hardirqs last enabled at (479): [] __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:168 [inline] hardirqs last enabled at (479): [] _raw_spin_unlock_irq+0x1f/0x30 kernel/locking/spinlock.c:199 hardirqs last disabled at (478): [] __raw_spin_lock_irq include/linux/spinlock_api_smp.h:126 [inline] hardirqs last disabled at (478): [] _raw_spin_lock_irq+0x3e/0x40 kernel/locking/spinlock.c:167 softirqs last enabled at (400): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (391): [] asm_call_irq_on_stack+0x12/0x20 ---[ end trace 6c129b41287b0820 ]--- FAULT_INJECTION: forcing a failure. name fail_usercopy, interval 1, probability 0, space 0, times 0 CPU: 0 PID: 26031 Comm: syz-executor.5 Tainted: G W 5.10.212 #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 _copy_from_user+0x2e/0x1b0 lib/usercopy.c:15 copy_from_user include/linux/uaccess.h:192 [inline] __copy_msghdr_from_user+0x91/0x4b0 net/socket.c:2260 copy_msghdr_from_user net/socket.c:2311 [inline] recvmsg_copy_msghdr net/socket.c:2563 [inline] ___sys_recvmsg+0xd5/0x200 net/socket.c:2635 do_recvmmsg+0x24c/0x6d0 net/socket.c:2733 __sys_recvmmsg net/socket.c:2812 [inline] __do_sys_recvmmsg net/socket.c:2835 [inline] __se_sys_recvmmsg net/socket.c:2828 [inline] __x64_sys_recvmmsg+0x20f/0x260 net/socket.c:2828 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x62/0xc7 RIP: 0033:0x7fdf649feb19 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:00007fdf61f74188 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007fdf64b11f60 RCX: 00007fdf649feb19 RDX: 000000000000035f RSI: 0000000020001a00 RDI: 0000000000000004 RBP: 00007fdf61f741d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000010062 R11: 0000000000000246 R12: 0000000000000002 R13: 00007ffcd93ee32f R14: 00007fdf61f74300 R15: 0000000000022000