syzbot


WARNING: locking bug in ext4_ioctl

Status: upstream: reported C repro on 2023/06/09 23:48
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+78e78ea5632a74486fbb@syzkaller.appspotmail.com
First crash: 488d, last: 13h13m
Bug presence (1)
Date Name Commit Repro Result
2023/06/17 upstream (ToT) 1b29d271614a C [report] WARNING: locking bug in ext4_ioctl
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 825 now 493d 0/28 upstream: reported C repro on 2023/06/05 05:19
linux-6.1 WARNING: locking bug in ext4_ioctl origin:lts-only C inconclusive 192 3d07h 484d 0/3 upstream: reported C repro on 2023/06/13 21:15

Sample crash report:
loop0: detected capacity change from 0 to 512
------------[ cut here ]------------
WARNING: CPU: 1 PID: 4240 at kernel/locking/lockdep.c:896 look_up_lock_class+0x134/0x13c
Modules linked in:
CPU: 1 PID: 4240 Comm: syz-executor172 Not tainted 5.15.167-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
pstate: 204000c5 (nzCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : look_up_lock_class+0x134/0x13c
lr : look_up_lock_class+0x74/0x13c
sp : ffff8000202f72e0
x29: ffff8000202f72e0 x28: dfff800000000000 x27: 0000000000000001
x26: ffff80001b724d20 x25: ffff80001b724000 x24: 0000000000000000
x23: 0000000000000000 x22: 0000000000000000 x21: ffff80001b84e661
x20: ffff0000e186b450 x19: ffff800017250180 x18: 0000000000000000
x17: 0000000000000000 x16: ffff8000082eca78 x15: 000000000000000b
x14: 1ffff0000295806a x13: ffff8000202f74a0 x12: dfff800000000000
x11: ffff8000082effc8 x10: ffff800014ac034c x9 : ffff8000173c8d00
x8 : ffff80001b84e660 x7 : ffff800008debda8 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000000
x2 : 0000000000000000 x1 : 0000000000000001 x0 : 0000000000000001
Call trace:
 look_up_lock_class+0x134/0x13c
 register_lock_class+0x90/0x6a4 kernel/locking/lockdep.c:1245
 __lock_acquire+0x184/0x7638 kernel/locking/lockdep.c:4891
 lock_acquire+0x240/0x77c kernel/locking/lockdep.c:5623
 down_write_nested+0xc0/0x130 kernel/locking/rwsem.c:1667
 ext4_double_down_write_data_sem+0x3c/0x4c
 swap_inode_boot_loader fs/ext4/ioctl.c:176 [inline]
 __ext4_ioctl fs/ext4/ioctl.c:1056 [inline]
 ext4_ioctl+0x4224/0x61bc fs/ext4/ioctl.c:1276
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:874 [inline]
 __se_sys_ioctl fs/ioctl.c:860 [inline]
 __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:860
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181
 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608
 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626
 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
irq event stamp: 3753
hardirqs last  enabled at (3753): [<ffff8000083c7d64>] seqcount_lockdep_reader_access+0x208/0x2cc include/linux/seqlock.h:105
hardirqs last disabled at (3752): [<ffff8000083c7bd0>] seqcount_lockdep_reader_access+0x74/0x2cc include/linux/seqlock.h:102
softirqs last  enabled at (3220): [<ffff8000080308b0>] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:31
softirqs last disabled at (3218): [<ffff80000803087c>] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:18
---[ end trace 970c37457eb25254 ]---

Crashes (222):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/04 11:45 linux-5.15.y 3a5928702e71 d7906eff .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 WARNING: locking bug in ext4_ioctl
2024/09/30 09:16 linux-5.15.y 3a5928702e71 ba29ff75 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 WARNING: locking bug in ext4_ioctl
2024/07/22 08:53 linux-5.15.y 7c6d66f0266f b88348e9 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 WARNING: locking bug in ext4_ioctl
2024/06/30 04:18 linux-5.15.y 4878aadf2d15 757f06b1 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 WARNING: locking bug in ext4_ioctl
2024/04/24 00:20 linux-5.15.y c52b9710c83d 21339d7b .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 WARNING: locking bug in ext4_ioctl
2024/04/15 09:00 linux-5.15.y fa3df276cd36 c8349e48 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 WARNING: locking bug in ext4_ioctl
2024/04/05 00:10 linux-5.15.y 9465fef4ae35 0ee3535e .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 WARNING: locking bug in ext4_ioctl
2024/04/03 23:41 linux-5.15.y 9465fef4ae35 51c4dcff .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 WARNING: locking bug in ext4_ioctl
2024/01/01 10:05 linux-5.15.y d93fa2c78854 fb427a07 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 WARNING: locking bug in ext4_ioctl
2023/12/19 21:52 linux-5.15.y d0fc081c6241 3ad490ea .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 WARNING: locking bug in ext4_ioctl
2023/06/17 16:51 linux-5.15.y 471e639e59d1 f3921d4d .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 WARNING: locking bug in ext4_ioctl
2023/07/28 20:40 linux-5.15.y 09996673e313 92476829 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan WARNING: locking bug in ext4_ioctl
2023/06/25 19:46 linux-5.15.y f67653019430 79782afc .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan WARNING: locking bug in ext4_ioctl
2024/10/10 01:07 linux-5.15.y 3a5928702e71 56fb2cb7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: locking bug in ext4_ioctl
2024/10/09 22:33 linux-5.15.y 3a5928702e71 56fb2cb7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: locking bug in ext4_ioctl
2024/10/03 13:26 linux-5.15.y 3a5928702e71 a4c7fd36 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: locking bug in ext4_ioctl
2024/09/30 18:09 linux-5.15.y 3a5928702e71 bbd4e0a4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: locking bug in ext4_ioctl
2024/09/28 10:32 linux-5.15.y 3a5928702e71 ba29ff75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: locking bug in ext4_ioctl
2024/09/25 21:49 linux-5.15.y 3a5928702e71 0d19f247 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: locking bug in ext4_ioctl
2024/09/23 19:08 linux-5.15.y 3a5928702e71 89298aad .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: locking bug in ext4_ioctl
2024/09/20 08:46 linux-5.15.y 3a5928702e71 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: locking bug in ext4_ioctl
2024/09/15 06:19 linux-5.15.y 3a5928702e71 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: locking bug in ext4_ioctl
2024/09/11 18:14 linux-5.15.y 14e468424d3e 8ab55d0e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: locking bug in ext4_ioctl
2024/09/10 04:42 linux-5.15.y 14e468424d3e 784df80e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: locking bug in ext4_ioctl
2024/09/06 18:26 linux-5.15.y 14e468424d3e 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: locking bug in ext4_ioctl
2024/09/04 21:22 linux-5.15.y 14e468424d3e dfbe2ed4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: locking bug in ext4_ioctl
2024/09/04 08:55 linux-5.15.y fa93fa65db6e 9d47f20a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: locking bug in ext4_ioctl
2024/09/03 17:55 linux-5.15.y fa93fa65db6e 326f9c5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: locking bug in ext4_ioctl
2024/09/02 11:47 linux-5.15.y fa93fa65db6e 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: locking bug in ext4_ioctl
2024/08/24 06:54 linux-5.15.y fa93fa65db6e d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: locking bug in ext4_ioctl
2024/08/22 07:54 linux-5.15.y fa93fa65db6e ca02180f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: locking bug in ext4_ioctl
2024/08/21 15:17 linux-5.15.y fa93fa65db6e db5852f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: locking bug in ext4_ioctl
2024/08/21 15:17 linux-5.15.y fa93fa65db6e db5852f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: locking bug in ext4_ioctl
2024/08/19 17:06 linux-5.15.y fa93fa65db6e 9f0ab3fb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: locking bug in ext4_ioctl
2024/08/07 19:18 linux-5.15.y 7e89efd3ae1c 109d2082 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: locking bug in ext4_ioctl
2024/08/03 04:54 linux-5.15.y 7e89efd3ae1c 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: locking bug in ext4_ioctl
2024/07/30 18:29 linux-5.15.y 7e89efd3ae1c 6fde257d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: locking bug in ext4_ioctl
2024/07/28 22:09 linux-5.15.y 7e89efd3ae1c 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: locking bug in ext4_ioctl
2024/10/06 02:12 linux-5.15.y 3a5928702e71 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: locking bug in ext4_ioctl
2024/09/26 19:02 linux-5.15.y 3a5928702e71 9314348a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: locking bug in ext4_ioctl
2024/09/19 12:39 linux-5.15.y 3a5928702e71 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: locking bug in ext4_ioctl
2024/09/12 18:58 linux-5.15.y 3a5928702e71 60e1a995 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: locking bug in ext4_ioctl
2024/09/12 03:20 linux-5.15.y 14e468424d3e d94c83d8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: locking bug in ext4_ioctl
2024/09/11 12:23 linux-5.15.y 14e468424d3e 8ab55d0e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: locking bug in ext4_ioctl
2024/09/10 03:29 linux-5.15.y 14e468424d3e 784df80e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: locking bug in ext4_ioctl
2024/09/07 00:51 linux-5.15.y 14e468424d3e 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: locking bug in ext4_ioctl
2024/09/05 11:13 linux-5.15.y 14e468424d3e 464ac2ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: locking bug in ext4_ioctl
2024/09/04 03:35 linux-5.15.y fa93fa65db6e 326f9c5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: locking bug in ext4_ioctl
2024/09/02 07:58 linux-5.15.y fa93fa65db6e 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: locking bug in ext4_ioctl
2024/08/28 15:20 linux-5.15.y fa93fa65db6e ef3de9e8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: locking bug in ext4_ioctl
2024/08/24 00:31 linux-5.15.y fa93fa65db6e d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: locking bug in ext4_ioctl
2024/08/23 17:30 linux-5.15.y fa93fa65db6e d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: locking bug in ext4_ioctl
2024/08/23 13:46 linux-5.15.y fa93fa65db6e d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: locking bug in ext4_ioctl
2024/08/13 17:22 linux-5.15.y 7e89efd3ae1c f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: locking bug in ext4_ioctl
2024/08/12 15:35 linux-5.15.y 7e89efd3ae1c 842184b3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: locking bug in ext4_ioctl
2024/07/31 23:02 linux-5.15.y 7e89efd3ae1c 1e9c4cf3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: locking bug in ext4_ioctl
2023/06/09 23:48 linux-5.15.y 7349e40704a0 9018a337 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: locking bug in ext4_ioctl
* Struck through repros no longer work on HEAD.