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: 482d, last: 17h40m
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 11426 54m 486d 0/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 920 11h53m 482d 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 (1058):
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/10/01 18:39 linux-6.1.y aa4cd140bba5 ea2b66a6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/10/01 01:53 linux-6.1.y aa4cd140bba5 bbd4e0a4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/09/30 17:59 linux-6.1.y aa4cd140bba5 bbd4e0a4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/09/30 14:05 linux-6.1.y e526b12bf916 bbd4e0a4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/09/28 07:27 linux-6.1.y e526b12bf916 440b26ec .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/09/25 10:38 linux-6.1.y e526b12bf916 349a68c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/09/19 21:33 linux-6.1.y e526b12bf916 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/09/17 01:31 linux-6.1.y 5f55cad62cc9 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/09/16 17:19 linux-6.1.y 5f55cad62cc9 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/09/15 02:25 linux-6.1.y 5f55cad62cc9 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/09/14 23:00 linux-6.1.y 5f55cad62cc9 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/09/14 05:24 linux-6.1.y 5f55cad62cc9 b58f933c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/09/14 05:20 linux-6.1.y 5f55cad62cc9 b58f933c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/09/13 22:15 linux-6.1.y 5f55cad62cc9 b58f933c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/09/13 18:47 linux-6.1.y 5f55cad62cc9 b58f933c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/09/13 16:02 linux-6.1.y 5f55cad62cc9 b58f933c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/09/13 13:59 linux-6.1.y 5f55cad62cc9 73e8a465 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/09/13 00:33 linux-6.1.y 5f55cad62cc9 60e1a995 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/09/12 23:20 linux-6.1.y 5f55cad62cc9 60e1a995 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/09/12 13:16 linux-6.1.y 5f55cad62cc9 60e1a995 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/09/11 21:22 linux-6.1.y 5ca5b389fddf d94c83d8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/09/10 04:11 linux-6.1.y 5ca5b389fddf 784df80e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/09/08 16:04 linux-6.1.y 5ca5b389fddf 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/09/08 13:42 linux-6.1.y 5ca5b389fddf 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/09/05 23:44 linux-6.1.y 699506173494 464ac2ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/09/05 12:29 linux-6.1.y 699506173494 464ac2ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/09/05 04:46 linux-6.1.y 699506173494 dfbe2ed4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/09/04 17:14 linux-6.1.y 699506173494 9d47f20a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/09/04 13:02 linux-6.1.y 311d8503ef9f 9d47f20a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/09/04 07:19 linux-6.1.y 311d8503ef9f 9d47f20a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/09/03 22:43 linux-6.1.y 311d8503ef9f 326f9c5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/09/03 00:10 linux-6.1.y 311d8503ef9f 8045124c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/08/30 06:18 linux-6.1.y 311d8503ef9f ee2602b8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/08/28 22:51 linux-6.1.y ee5e09825b81 ef3de9e8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/08/27 20:15 linux-6.1.y ee5e09825b81 6c853ff9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/08/27 17:45 linux-6.1.y ee5e09825b81 6c853ff9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/08/26 17:43 linux-6.1.y ee5e09825b81 9aee4e0b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/08/23 21:21 linux-6.1.y ee5e09825b81 d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/08/22 05:05 linux-6.1.y ee5e09825b81 ca02180f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/08/22 05:00 linux-6.1.y ee5e09825b81 ca02180f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/08/19 11:51 linux-6.1.y ee5e09825b81 9f0ab3fb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/08/17 14:55 linux-6.1.y 117ac406ba90 dbc93b08 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/08/17 08:55 linux-6.1.y 117ac406ba90 dbc93b08 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/08/17 04:11 linux-6.1.y 117ac406ba90 dbc93b08 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: locking bug in ext4_move_extents
2024/10/02 23:29 linux-6.1.y aa4cd140bba5 02f9582a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: locking bug in ext4_move_extents
2024/09/25 07:04 linux-6.1.y e526b12bf916 5643e0e9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: locking bug in ext4_move_extents
2024/09/14 10:10 linux-6.1.y 5f55cad62cc9 c7e35043 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: locking bug in ext4_move_extents
2024/09/09 16:11 linux-6.1.y 5ca5b389fddf 073f8be2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: locking bug in ext4_move_extents
2024/08/25 13:34 linux-6.1.y ee5e09825b81 d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: locking bug in ext4_move_extents
2024/08/22 06:16 linux-6.1.y ee5e09825b81 ca02180f .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.