syzbot


WARNING: locking bug in ext4_move_extents

Status: upstream: reported C repro on 2023/06/09 11:44
Bug presence: origin:upstream
Labels: missing-backport
[Documentation on labels]
Reported-by: syzbot+d4200fc83fa03a684c6e@syzkaller.appspotmail.com
First crash: 531d, last: 10h11m
Discussions (1)
Title Replies (including bot) Last reply
Re: lock classes 2 (2) 2024/07/01 17:30
Bug presence (1)
Date Name Commit Repro Result
2023/09/22 upstream (ToT) 27bbf45eae9c C [report] WARNING: locking bug in ext4_move_extents
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING: locking bug in ext4_move_extents ext4 C done 11980 11h21m 535d 20/28 upstream: reported C repro on 2023/06/05 03:53
linux-5.15 WARNING: locking bug in ext4_move_extents missing-backport origin:lts-only C inconclusive 999 1d06h 530d 0/3 upstream: reported C repro on 2023/06/09 16:42
Last patch testing requests (1)
Created Duration User Patch Repo Result
2024/07/03 00:45 1h09m bottaawesome633@gmail.com patch linux-6.1.y OK log

Sample crash report:
loop0: detected capacity change from 0 to 512
ext4 filesystem being mounted at /root/syzkaller.kQRZTw/54/file0 supports timestamps until 2038 (0x7fffffff)
------------[ cut here ]------------
Looking for class "&ei->i_data_sem" with key init_once.__key.785, but found a different class "&ei->i_data_sem" with the same key
WARNING: CPU: 0 PID: 3708 at kernel/locking/lockdep.c:933 look_up_lock_class+0xc2/0x140 kernel/locking/lockdep.c:930
Modules linked in:
CPU: 0 PID: 3708 Comm: syz-executor123 Not tainted 6.1.87-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:look_up_lock_class+0xc2/0x140 kernel/locking/lockdep.c:930
Code: 8b 16 48 c7 c0 20 a1 35 90 48 39 c2 74 46 f6 05 6a f3 d4 03 01 75 3d c6 05 61 f3 d4 03 01 48 c7 c7 60 22 ec 8a e8 9e ff c7 f6 <0f> 0b eb 26 e8 55 5c aa f9 48 c7 c7 a0 21 ec 8a 89 de e8 17 f8 fd
RSP: 0018:ffffc90003ccf410 EFLAGS: 00010046
RAX: 2de361498553b400 RBX: ffffffff901dbae0 RCX: ffff888020a0bb80
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90003ccf510 R08: ffffffff81528eae R09: ffffed1017304f1c
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001
R13: 1ffff92000799e90 R14: ffff88807566a0a0 R15: ffffffff91e1ef41
FS:  000055555624b380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4a44c76100 CR3: 0000000021c7e000 CR4: 00000000003506f0
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:4928
 lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662
 down_write_nested+0x39/0x60 kernel/locking/rwsem.c:1689
 ext4_move_extents+0x3a0/0xe30 fs/ext4/move_extent.c:616
 __ext4_ioctl fs/ext4/ioctl.c:1358 [inline]
 ext4_ioctl+0x3a8d/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:51 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f4a44bfe229
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:00007fff86aa5638 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00007f4a44bfe229
RDX: 0000000020000180 RSI: 00000000c028660f RDI: 0000000000000005
RBP: 0000000000000000 R08: 00007fff86aa5670 R09: 00007fff86aa5670
R10: 00007fff86aa5670 R11: 0000000000000246 R12: 00007fff86aa565c
R13: 0000000000000036 R14: 431bde82d7b634db R15: 00007fff86aa5690
 </TASK>

Crashes (1156):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/20 22:30 linux-6.1.y 6741e066ec76 af24b050 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/04/20 20:40 linux-6.1.y 6741e066ec76 af24b050 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/04/19 22:15 linux-6.1.y 6741e066ec76 af24b050 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/02/26 09:53 linux-6.1.y 81e1dc2f7001 8d446f15 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2023/09/22 02:38 linux-6.1.y a356197db198 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_move_extents
2024/04/24 14:58 linux-6.1.y 6741e066ec76 21339d7b .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_move_extents
2024/04/09 08:17 linux-6.1.y 347385861c50 f3234354 .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_move_extents
2024/04/05 16:15 linux-6.1.y 347385861c50 77230c29 .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_move_extents
2024/03/22 21:59 linux-6.1.y d7543167affd 4b6cdce6 .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_move_extents
2024/03/16 05:10 linux-6.1.y d7543167affd d615901c .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_move_extents
2024/03/14 01:09 linux-6.1.y 61adba85cc40 f919f202 .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_move_extents
2024/03/10 00:55 linux-6.1.y 61adba85cc40 6ee49f2e .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_move_extents
2024/03/06 06:44 linux-6.1.y a3eb3a74aa8c f39a7eed .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_move_extents
2024/01/28 01:43 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_move_extents
2024/01/26 10:37 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_move_extents
2024/01/17 04:29 linux-6.1.y fec3b1451d5f 2a7bcc7f .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_move_extents
2024/01/16 09:26 linux-6.1.y fec3b1451d5f 2a7bcc7f .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_move_extents
2024/01/01 08:48 linux-6.1.y 4aa6747d9352 fb427a07 .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_move_extents
2023/12/24 19:48 linux-6.1.y 4aa6747d9352 fb427a07 .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_move_extents
2023/12/10 09:18 linux-6.1.y 6c6a6c7e211c 28b24332 .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_move_extents
2023/11/13 07:37 linux-6.1.y fb2635ac69ab 6d6dbf8a .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_move_extents
2023/10/16 06:34 linux-6.1.y adc4d740ad9e f757a323 .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_move_extents
2023/06/11 01:16 linux-6.1.y 2f3918bc53fb 49519f06 .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_move_extents
2023/08/18 09:25 linux-6.1.y 6c44e13dc284 74b106b6 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2023/08/22 07:46 linux-6.1.y 6c44e13dc284 6b415825 .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_move_extents
2023/08/07 00:21 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-arm64 WARNING: locking bug in ext4_move_extents
2023/06/25 00:21 linux-6.1.y e84a4e368abe 79782afc .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_move_extents
2024/03/21 21:20 linux-6.1.y d7543167affd 7a239ce7 .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING: locking bug in ext4_move_extents
2024/11/21 04:50 linux-6.1.y b67dc5c9ade9 4b25d554 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/11/20 18:23 linux-6.1.y b67dc5c9ade9 4fca1650 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/11/19 21:10 linux-6.1.y b67dc5c9ade9 7d02db5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/11/19 18:47 linux-6.1.y b67dc5c9ade9 7d02db5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/11/19 03:33 linux-6.1.y b67dc5c9ade9 571351cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/11/18 16:06 linux-6.1.y b67dc5c9ade9 e7bb5d6e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/11/18 14:58 linux-6.1.y b67dc5c9ade9 e7bb5d6e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/11/17 19:38 linux-6.1.y b67dc5c9ade9 cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/11/17 17:53 linux-6.1.y b67dc5c9ade9 cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/11/15 21:09 linux-6.1.y 59d7b1a7104a cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/11/15 16:19 linux-6.1.y 59d7b1a7104a f6ede3a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/11/15 11:13 linux-6.1.y 59d7b1a7104a f6ede3a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/11/14 18:15 linux-6.1.y 59d7b1a7104a a8c99394 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/11/14 10:56 linux-6.1.y d7039b844a1c a8c99394 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/11/14 02:17 linux-6.1.y d7039b844a1c bb3f8425 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/11/13 16:17 linux-6.1.y d7039b844a1c bb3f8425 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/11/12 04:08 linux-6.1.y d7039b844a1c 75bb1b32 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/11/11 15:21 linux-6.1.y d7039b844a1c 0c4b1325 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/11/11 12:18 linux-6.1.y d7039b844a1c 0c4b1325 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/11/10 06:02 linux-6.1.y d7039b844a1c 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/11/08 23:54 linux-6.1.y d7039b844a1c 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/11/08 07:06 linux-6.1.y 7c15117f9468 179b040e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/11/08 05:59 linux-6.1.y 7c15117f9468 179b040e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/11/07 16:50 linux-6.1.y 7c15117f9468 867e44df .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/11/07 13:49 linux-6.1.y 7c15117f9468 867e44df .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/11/07 08:40 linux-6.1.y 7c15117f9468 df3dc63b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/11/06 06:27 linux-6.1.y 7c15117f9468 3a465482 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/11/05 08:52 linux-6.1.y 7c15117f9468 509da429 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/11/04 21:55 linux-6.1.y 7c15117f9468 509da429 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/11/04 06:42 linux-6.1.y 7c15117f9468 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/11/03 19:25 linux-6.1.y 7c15117f9468 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/11/01 23:20 linux-6.1.y 7c15117f9468 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/11/01 06:46 linux-6.1.y 7c15117f9468 96eb609f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/10/31 02:46 linux-6.1.y 7ec6f9fa3d97 96eb609f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/10/30 06:08 linux-6.1.y 7ec6f9fa3d97 66aeb999 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/10/29 23:50 linux-6.1.y 7ec6f9fa3d97 66aeb999 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/10/28 19:33 linux-6.1.y 7ec6f9fa3d97 9efb3cc7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/11/21 06:22 linux-6.1.y b67dc5c9ade9 4b25d554 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: locking bug in ext4_move_extents
2024/11/16 06:32 linux-6.1.y 59d7b1a7104a cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: locking bug in ext4_move_extents
2024/11/16 03:47 linux-6.1.y 59d7b1a7104a cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: locking bug in ext4_move_extents
2024/11/15 04:16 linux-6.1.y 59d7b1a7104a a8c99394 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: locking bug in ext4_move_extents
2024/11/12 05:40 linux-6.1.y d7039b844a1c 75bb1b32 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: locking bug in ext4_move_extents
2024/11/09 10:07 linux-6.1.y d7039b844a1c 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: locking bug in ext4_move_extents
2024/11/06 08:56 linux-6.1.y 7c15117f9468 3a465482 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: locking bug in ext4_move_extents
2024/10/29 01:57 linux-6.1.y 7ec6f9fa3d97 9efb3cc7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: locking bug in ext4_move_extents
2024/10/28 20:41 linux-6.1.y 7ec6f9fa3d97 9efb3cc7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: locking bug in ext4_move_extents
2023/06/09 11:43 linux-6.1.y 2f3918bc53fb 058b3a5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
* Struck through repros no longer work on HEAD.