------------[ cut here ]------------ WARNING: CPU: 0 PID: 3916 at kernel/locking/lockdep.c:896 look_up_lock_class+0xa0/0x120 kernel/locking/lockdep.c:895 Modules linked in: CPU: 0 PID: 3916 Comm: syz-executor186 Not tainted 5.15.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 RIP: 0010:look_up_lock_class+0xa0/0x120 kernel/locking/lockdep.c:895 Code: 00 48 85 db 74 4c 4c 39 7b 40 74 05 48 8b 1b eb eb 48 8b 83 b0 00 00 00 49 3b 46 18 74 36 48 c7 c0 00 b0 a8 8f 49 39 06 74 2a <0f> 0b eb 26 e8 17 00 e8 f9 48 c7 c7 60 1d 8b 8a 89 de e8 a2 d5 fe RSP: 0018:ffffc900036bf630 EFLAGS: 00010002 RAX: ffffffff8fa8b000 RBX: ffffffff8f90e580 RCX: ffff88807c83d940 RDX: dffffc0000000000 RSI: 0000000000000001 RDI: ffff888075f73450 RBP: ffffc900036bf730 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: 1ffff920006d7ed4 R14: ffff888075f73450 R15: ffffffff914eb041 FS: 0000555555fd0300(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd823b4d138 CR3: 000000001adbf000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: register_lock_class+0x100/0x9a0 kernel/locking/lockdep.c:1245 __lock_acquire+0xd7/0x1ff0 kernel/locking/lockdep.c:4890 lock_acquire+0x1db/0x4f0 kernel/locking/lockdep.c:5622 down_write_nested+0xa0/0x180 kernel/locking/rwsem.c:1657 swap_inode_boot_loader fs/ext4/ioctl.c:176 [inline] __ext4_ioctl fs/ext4/ioctl.c:1053 [inline] ext4_ioctl+0x3dce/0x5b60 fs/ext4/ioctl.c:1273 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fd823adaa19 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 00 00 90 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 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fff5c952558 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 69662f7375622f2e RCX: 00007fd823adaa19 RDX: 0000000000000000 RSI: 0000000000006611 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007fff5c952580 R09: 00007fff5c952580 R10: 00007fff5c951fd0 R11: 0000000000000246 R12: 00007fff5c95257c R13: 00007fff5c9525b0 R14: 00007fff5c952590 R15: 0000000000000081