syzbot


kernel BUG in may_delete

Status: upstream: reported C repro on 2024/04/04 00:03
Reported-by: syzbot+10dc2488150fe6b9673e@syzkaller.appspotmail.com
First crash: 182d, last: 2d10h
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-54 kernel BUG in may_delete C 34 3d01h 182d 0/2 upstream: reported C repro on 2024/04/03 23:36
android-6-1 kernel BUG in may_delete origin:downstream C 825 9h19m 182d 0/2 upstream: reported C repro on 2024/04/03 23:51
android-5-15 kernel BUG in may_delete origin:downstream C 523 1d05h 182d 0/2 upstream: reported C repro on 2024/04/03 23:06

Sample crash report:
EXT4-fs (loop0): mounted filesystem without journal. Opts: errors=remount-ro,nodiscard,noquota,init_itable,stripe=0x0000000000000079,resgid=0x0000000000000000,sysvgroups,delalloc,errors=continue,
ext4 filesystem being mounted at /file1 supports timestamps until 2038 (0x7fffffff)
------------[ cut here ]------------
kernel BUG at fs/namei.c:2786!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 288 Comm: syz-executor186 Not tainted 5.10.225-syzkaller-00513-g8d23314f588a #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
RIP: 0010:may_delete+0x755/0x760 fs/namei.c:2786
Code: 44 89 e9 80 e1 07 80 c1 03 38 c1 0f 8c db fd ff ff 4c 89 ef e8 1c 32 f4 ff e9 ce fd ff ff e8 32 98 b6 ff 0f 0b e8 2b 98 b6 ff <0f> 0b 66 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 56 53 48 89 fb e8
RSP: 0018:ffffc90000b87ad8 EFLAGS: 00010293
RAX: ffffffff81b414b5 RBX: ffff88811cf1a7a0 RCX: ffff8881210b8000
RDX: 0000000000000000 RSI: 0000000000200000 RDI: 0000000000000000
RBP: ffffc90000b87b58 R08: ffffffff81b40dd3 R09: 0000000000000003
R10: fffff52000170f40 R11: dffffc0000000001 R12: 0000000000000001
R13: ffff88811cee7110 R14: ffff8881101df1d0 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f510addd9f8 CR3: 000000000660f000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 vfs_rmdir+0x2c/0x3f0 fs/namei.c:3833
 incfs_kill_sb+0x108/0x220 fs/incfs/vfs.c:1973
 deactivate_locked_super+0xad/0x110 fs/super.c:335
 deactivate_super+0xbe/0xf0 fs/super.c:366
 cleanup_mnt+0x45c/0x510 fs/namespace.c:1118
 __cleanup_mnt+0x19/0x20 fs/namespace.c:1125
 task_work_run+0x129/0x190 kernel/task_work.c:189
 exit_task_work include/linux/task_work.h:33 [inline]
 do_exit+0xc83/0x2a50 kernel/exit.c:863
 do_group_exit+0x141/0x310 kernel/exit.c:985
 __do_sys_exit_group kernel/exit.c:996 [inline]
 __se_sys_exit_group kernel/exit.c:994 [inline]
 __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:994
 do_syscall_64+0x34/0x70
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f510ad91509
Code: Unable to access opcode bytes at RIP 0x7f510ad914df.
RSP: 002b:00007ffcacd500e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f510ad91509
RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001
RBP: 00007f510ae0f370 R08: ffffffffffffffb8 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f510ae0f370
R13: 0000000000000000 R14: 00007f510ae11140 R15: 00007f510ad5f650
Modules linked in:
---[ end trace efb94e93ce1c2b45 ]---
RIP: 0010:may_delete+0x755/0x760 fs/namei.c:2786
Code: 44 89 e9 80 e1 07 80 c1 03 38 c1 0f 8c db fd ff ff 4c 89 ef e8 1c 32 f4 ff e9 ce fd ff ff e8 32 98 b6 ff 0f 0b e8 2b 98 b6 ff <0f> 0b 66 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 56 53 48 89 fb e8
RSP: 0018:ffffc90000b87ad8 EFLAGS: 00010293
RAX: ffffffff81b414b5 RBX: ffff88811cf1a7a0 RCX: ffff8881210b8000
RDX: 0000000000000000 RSI: 0000000000200000 RDI: 0000000000000000
RBP: ffffc90000b87b58 R08: ffffffff81b40dd3 R09: 0000000000000003
R10: fffff52000170f40 R11: dffffc0000000001 R12: 0000000000000001
R13: ffff88811cee7110 R14: ffff8881101df1d0 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055d62ac830e8 CR3: 000000000660f000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (340):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/09/20 05:32 android13-5.10-lts 8d23314f588a 6f888b75 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-10 kernel BUG in may_delete
2024/09/20 05:11 android13-5.10-lts 8d23314f588a 6f888b75 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-10 kernel BUG in may_delete
2024/09/19 23:12 android13-5.10-lts 8d23314f588a 6f888b75 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-10 kernel BUG in may_delete
2024/09/19 22:13 android13-5.10-lts 8d23314f588a 6f888b75 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-10 kernel BUG in may_delete
2024/09/19 17:05 android13-5.10-lts 8d23314f588a c673ca06 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-10 kernel BUG in may_delete
2024/09/19 11:59 android13-5.10-lts 8d23314f588a c673ca06 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-10 kernel BUG in may_delete
2024/09/18 23:18 android13-5.10-lts 8d23314f588a c673ca06 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-10 kernel BUG in may_delete
2024/09/18 20:48 android13-5.10-lts 8d23314f588a c673ca06 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-10 kernel BUG in may_delete
2024/09/18 13:48 android13-5.10-lts 8d23314f588a c673ca06 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-10 kernel BUG in may_delete
2024/09/18 08:18 android13-5.10-lts 8d23314f588a c673ca06 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-10 kernel BUG in may_delete
2024/09/17 21:07 android13-5.10-lts 8d23314f588a c673ca06 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-10 kernel BUG in may_delete
2024/09/17 15:31 android13-5.10-lts 8d23314f588a c673ca06 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-10 kernel BUG in may_delete
2024/09/17 12:42 android13-5.10-lts 8d23314f588a c673ca06 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-10 kernel BUG in may_delete
2024/07/13 20:02 android13-5.10-lts 3feee789f446 eaeb5c15 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-10 kernel BUG in may_delete
2024/04/04 00:02 android13-5.10-lts e7daca75b4c3 51c4dcff .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-10 kernel BUG in may_delete
2024/10/01 04:38 android13-5.10-lts 8d23314f588a bbd4e0a4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/09/29 19:52 android13-5.10-lts 8d23314f588a ba29ff75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/09/29 10:50 android13-5.10-lts 8d23314f588a ba29ff75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/09/29 02:09 android13-5.10-lts 8d23314f588a ba29ff75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/09/25 13:16 android13-5.10-lts 8d23314f588a 349a68c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/09/23 07:59 android13-5.10-lts 8d23314f588a 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/09/23 03:24 android13-5.10-lts 8d23314f588a 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/09/22 21:22 android13-5.10-lts 8d23314f588a 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/09/21 19:42 android13-5.10-lts 8d23314f588a 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/09/21 14:31 android13-5.10-lts 8d23314f588a 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/09/21 13:20 android13-5.10-lts 8d23314f588a 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/09/21 10:00 android13-5.10-lts 8d23314f588a 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/09/21 07:58 android13-5.10-lts 8d23314f588a 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/09/21 06:10 android13-5.10-lts 8d23314f588a 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/09/21 04:57 android13-5.10-lts 8d23314f588a 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/09/20 14:35 android13-5.10-lts 8d23314f588a 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/09/19 15:02 android13-5.10-lts 8d23314f588a c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/09/19 09:12 android13-5.10-lts 8d23314f588a c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/09/18 10:54 android13-5.10-lts 8d23314f588a c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/09/16 22:43 android13-5.10-lts 8d23314f588a c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/09/15 22:25 android13-5.10-lts 8d23314f588a 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/09/15 04:09 android13-5.10-lts 8d23314f588a 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/09/13 12:37 android13-5.10-lts 8d23314f588a 73e8a465 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/09/08 23:57 android13-5.10-lts 1c5354a314ea 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/09/08 21:33 android13-5.10-lts 1c5354a314ea 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/09/08 01:56 android13-5.10-lts 1c5354a314ea 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/09/07 02:13 android13-5.10-lts 1c5354a314ea 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/09/06 12:48 android13-5.10-lts 1c5354a314ea 464ac2ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/09/06 05:10 android13-5.10-lts 1c5354a314ea 464ac2ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/09/04 11:20 android13-5.10-lts 1c5354a314ea 9d47f20a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/09/02 20:00 android13-5.10-lts 1c5354a314ea 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/09/02 18:59 android13-5.10-lts 1c5354a314ea 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/09/02 12:33 android13-5.10-lts 1c5354a314ea 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/09/02 08:27 android13-5.10-lts 1c5354a314ea 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/09/02 07:21 android13-5.10-lts 1c5354a314ea 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/09/02 04:19 android13-5.10-lts 1c5354a314ea 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/09/01 23:58 android13-5.10-lts 1c5354a314ea 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/09/01 22:23 android13-5.10-lts 1c5354a314ea 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/09/01 15:26 android13-5.10-lts 1c5354a314ea 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/09/01 04:11 android13-5.10-lts 1c5354a314ea 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/08/31 23:06 android13-5.10-lts 1c5354a314ea 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/08/31 23:06 android13-5.10-lts 1c5354a314ea 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/08/31 17:12 android13-5.10-lts 1c5354a314ea 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/08/31 11:09 android13-5.10-lts 1c5354a314ea 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/08/30 22:54 android13-5.10-lts 1c5354a314ea 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/08/30 21:49 android13-5.10-lts 1c5354a314ea 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/08/30 18:50 android13-5.10-lts 1c5354a314ea 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/08/30 11:51 android13-5.10-lts 1c5354a314ea ee2602b8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/08/30 04:55 android13-5.10-lts 1c5354a314ea ee2602b8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/08/29 21:59 android13-5.10-lts 1c5354a314ea 9bd464fc .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
* Struck through repros no longer work on HEAD.