syzbot


WARNING: locking bug in ext4_ioctl

Status: upstream: reported C repro on 2023/06/13 21:15
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+b45970e765c38b634d54@syzkaller.appspotmail.com
First crash: 371d, last: 4d05h
Bug presence (2)
Date Name Commit Repro Result
2023/09/15 linux-6.1.y (ToT) 09045dae0d90 C [report] WARNING: locking bug in ext4_ioctl
2023/09/15 upstream (ToT) 9fdfb15a3dbf C Didn't crash
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING: locking bug in ext4_ioctl ext4 C done 551 1d01h 379d 0/27 upstream: reported C repro on 2023/06/05 05:19
linux-5.15 WARNING: locking bug in ext4_ioctl origin:upstream C 149 18d 375d 0/3 upstream: reported C repro on 2023/06/09 23:48
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2023/10/03 19:25 1h28m fix candidate upstream job log (0)

Sample crash report:
------------[ cut here ]------------
Looking for class "&ei->i_data_sem" with key init_once.__key.782, but found a different class "&ei->i_data_sem" with the same key
WARNING: CPU: 1 PID: 3770 at kernel/locking/lockdep.c:933 look_up_lock_class+0xc2/0x140 kernel/locking/lockdep.c:930
Modules linked in:
CPU: 1 PID: 3770 Comm: syz-executor315 Not tainted 6.1.53-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023
RIP: 0010:look_up_lock_class+0xc2/0x140 kernel/locking/lockdep.c:930
Code: 8b 16 48 c7 c0 20 f1 35 90 48 39 c2 74 46 f6 05 6b aa d9 03 01 75 3d c6 05 62 aa d9 03 01 48 c7 c7 40 03 ec 8a e8 9e 54 cc f6 <0f> 0b eb 26 e8 15 05 ac f9 48 c7 c7 80 02 ec 8a 89 de e8 50 f8 fd
RSP: 0018:ffffc9000405f5b0 EFLAGS: 00010046
RAX: 41d343a595536300 RBX: ffffffff901e14a0 RCX: ffff888027d0d940
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc9000405f6b0 R08: ffffffff81525dfe R09: ffffed1017324f1c
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001
R13: 1ffff9200080bec4 R14: ffff888070471698 R15: ffffffff91e24501
FS:  0000555556163380(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa6f3b350f8 CR3: 000000007c7c0000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 register_lock_class+0x100/0x990 kernel/locking/lockdep.c:1282
 __lock_acquire+0xd3/0x1f80 kernel/locking/lockdep.c:4927
 lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5661
 down_write_nested+0x39/0x60 kernel/locking/rwsem.c:1689
 swap_inode_boot_loader fs/ext4/ioctl.c:426 [inline]
 __ext4_ioctl fs/ext4/ioctl.c:1424 [inline]
 ext4_ioctl+0x460f/0x5f60 fs/ext4/ioctl.c:1614
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:870 [inline]
 __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:856
 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+0x63/0xcd
RIP: 0033:0x7fa6f3abd1e9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 21 18 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffe765b0098 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00007fa6f3abd1e9
RDX: 0000000000000000 RSI: 0000000000006611 RDI: 0000000000000003
RBP: 0000000000000000 R08: 00007ffe765b00d0 R09: 00007ffe765b00d0
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffe765b00bc
R13: 0000000000000042 R14: 431bde82d7b634db R15: 00007ffe765b00f0
 </TASK>

Crashes (147):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/09/15 11:58 linux-6.1.y 09045dae0d90 0b6a67ac .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING: locking bug in ext4_ioctl
2024/04/16 14:04 linux-6.1.y cd5d98c0556c 0d592ce4 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING: locking bug in ext4_ioctl
2024/04/01 23:23 linux-6.1.y e5cd595e23c1 6baf5069 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING: locking bug in ext4_ioctl
2024/03/05 12:57 linux-6.1.y a3eb3a74aa8c 5fc53669 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING: locking bug in ext4_ioctl
2024/02/28 02:46 linux-6.1.y 81e1dc2f7001 d367cbe5 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING: locking bug in ext4_ioctl
2024/01/30 17:36 linux-6.1.y 883d1a956208 7f400fcb .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING: locking bug in ext4_ioctl
2024/01/27 03:22 linux-6.1.y 883d1a956208 cc4a4020 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING: locking bug in ext4_ioctl
2024/01/23 01:08 linux-6.1.y 8fd7f4462453 9bd8dcda .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING: locking bug in ext4_ioctl
2023/06/17 19:10 linux-6.1.y ca87e77a2ef8 f3921d4d .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING: locking bug in ext4_ioctl
2023/08/07 03:51 linux-6.1.y 52a953d0934b 4ffcc9ef .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING: locking bug in ext4_ioctl
2024/06/14 22:45 linux-6.1.y ae9f2a70d69e f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_ioctl
2024/05/25 00:41 linux-6.1.y 4078fa637fcd a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_ioctl
2024/05/24 04:16 linux-6.1.y 4078fa637fcd 8f98448e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_ioctl
2024/05/08 13:26 linux-6.1.y 909ba1f1b414 4cf3f9b3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_ioctl
2024/04/30 15:27 linux-6.1.y dcbc050cb0d3 3ce4924c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_ioctl
2024/03/11 23:21 linux-6.1.y 61adba85cc40 6ee49f2e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_ioctl
2024/03/08 18:08 linux-6.1.y 61adba85cc40 8e75c913 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_ioctl
2024/03/08 16:51 linux-6.1.y 61adba85cc40 8e75c913 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_ioctl
2024/03/07 17:54 linux-6.1.y 61adba85cc40 2b789849 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_ioctl
2024/03/06 20:28 linux-6.1.y 61adba85cc40 f39a7eed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_ioctl
2024/03/05 05:04 linux-6.1.y a3eb3a74aa8c 5fc53669 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_ioctl
2024/03/04 16:47 linux-6.1.y a3eb3a74aa8c 3717835d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_ioctl
2024/02/24 01:22 linux-6.1.y 81e1dc2f7001 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_ioctl
2024/02/23 11:21 linux-6.1.y 81e1dc2f7001 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_ioctl
2024/02/16 21:49 linux-6.1.y 8b4118fabd6e 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_ioctl
2024/02/15 15:53 linux-6.1.y f1bb70486c9c fd39cf6f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_ioctl
2024/02/13 14:24 linux-6.1.y f1bb70486c9c e66542d7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_ioctl
2024/02/08 21:00 linux-6.1.y f1bb70486c9c 7f07e9b0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_ioctl
2024/02/07 23:10 linux-6.1.y f1bb70486c9c 6404acf9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_ioctl
2024/02/05 23:34 linux-6.1.y f1bb70486c9c 6404acf9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_ioctl
2024/02/02 16:36 linux-6.1.y e5c3b988b827 60bf9982 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_ioctl
2024/02/01 10:43 linux-6.1.y e5c3b988b827 373b66cd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_ioctl
2024/02/01 02:13 linux-6.1.y e5c3b988b827 373b66cd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_ioctl
2024/01/25 21:44 linux-6.1.y 8fd7f4462453 cc4a4020 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_ioctl
2024/01/25 18:11 linux-6.1.y 8fd7f4462453 cc4a4020 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_ioctl
2024/01/24 21:02 linux-6.1.y 8fd7f4462453 1e153dc8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_ioctl
2024/01/23 07:17 linux-6.1.y 8fd7f4462453 1c0ecc51 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_ioctl
2024/01/19 18:02 linux-6.1.y fec3b1451d5f 9bd8dcda .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_ioctl
2024/01/18 03:18 linux-6.1.y fec3b1451d5f 915053c7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_ioctl
2024/01/17 13:20 linux-6.1.y fec3b1451d5f c9a1c95b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_ioctl
2024/01/15 22:36 linux-6.1.y fec3b1451d5f 2a7bcc7f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_ioctl
2024/01/15 19:27 linux-6.1.y fec3b1451d5f 2a7bcc7f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_ioctl
2024/01/11 21:51 linux-6.1.y 7c58bfa711cb dda5a988 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_ioctl
2024/01/11 09:32 linux-6.1.y 7c58bfa711cb 00f3cc59 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_ioctl
2024/01/10 19:50 linux-6.1.y 7c58bfa711cb 04815ef1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_ioctl
2024/01/09 12:56 linux-6.1.y 38fb82ecd144 4807fb37 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_ioctl
2024/05/15 22:27 linux-6.1.y 909ba1f1b414 94b087b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: locking bug in ext4_ioctl
2024/05/09 13:38 linux-6.1.y 909ba1f1b414 05079661 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: locking bug in ext4_ioctl
2024/05/04 02:41 linux-6.1.y 909ba1f1b414 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: locking bug in ext4_ioctl
2024/04/30 20:00 linux-6.1.y dcbc050cb0d3 3ce4924c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: locking bug in ext4_ioctl
2024/04/30 16:30 linux-6.1.y dcbc050cb0d3 3ce4924c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: locking bug in ext4_ioctl
2024/04/23 11:50 linux-6.1.y 6741e066ec76 21339d7b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: locking bug in ext4_ioctl
2024/04/14 21:11 linux-6.1.y cd5d98c0556c c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: locking bug in ext4_ioctl
2024/04/05 02:29 linux-6.1.y 347385861c50 0ee3535e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: locking bug in ext4_ioctl
2024/03/29 07:22 linux-6.1.y e5cd595e23c1 c52bcb23 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: locking bug in ext4_ioctl
2024/02/14 08:16 linux-6.1.y f1bb70486c9c d902085f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: locking bug in ext4_ioctl
2024/01/30 14:22 linux-6.1.y 883d1a956208 7f400fcb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: locking bug in ext4_ioctl
2024/01/24 15:43 linux-6.1.y 8fd7f4462453 1e153dc8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: locking bug in ext4_ioctl
2024/01/19 01:03 linux-6.1.y fec3b1451d5f 21772ce4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: locking bug in ext4_ioctl
2023/06/13 21:14 linux-6.1.y 2f3918bc53fb d2ee9228 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_ioctl
* Struck through repros no longer work on HEAD.