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: 364d, last: 5h32m
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-54 kernel BUG in may_delete C 357 3d09h 364d 0/2 upstream: reported C repro on 2024/04/03 23:36
android-6-1 kernel BUG in may_delete origin:downstream C 1564 6d14h 364d 0/2 upstream: reported C repro on 2024/04/03 23:51
android-5-15 kernel BUG in may_delete origin:downstream C 2191 1d15h 364d 0/2 upstream: reported C repro on 2024/04/03 23:06

Sample crash report:
EXT4-fs warning (device loop0): ext4_update_dynamic_rev:1047: updating to rev 1 because of new feature flag, running e2fsck is recommended
------------[ cut here ]------------
kernel BUG at fs/namei.c:2786!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 288 Comm: syz-executor399 Not tainted 5.10.234-syzkaller-00148-g6686f2996d23 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/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 5c 30 f4 ff e9 ce fd ff ff e8 32 91 b6 ff 0f 0b e8 2b 91 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:ffffc90000bc7ad8 EFLAGS: 00010293
RAX: ffffffff81b42e35 RBX: ffff88811bba2140 RCX: ffff88810cb84f00
RDX: 0000000000000000 RSI: 0000000000200000 RDI: 0000000000000000
RBP: ffffc90000bc7b58 R08: ffffffff81b42753 R09: 0000000000000003
R10: fffff52000178f40 R11: dffffc0000000001 R12: 0000000000000001
R13: ffff88810ce3ecc0 R14: ffff88811b800780 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd50fbfd578 CR3: 000000000660f000 CR4: 00000000003506a0
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:0x7fd50fbb2fc9
Code: Unable to access opcode bytes at RIP 0x7fd50fbb2f9f.
RSP: 002b:00007ffcd98b6c98 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007fd50fbb2fc9
RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001
RBP: 00007fd50fc2f390 R08: ffffffffffffffb8 R09: 0000000000000006
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fd50fc2f390
R13: 0000000000000000 R14: 00007fd50fc30100 R15: 00007fd50fb81280
Modules linked in:
---[ end trace 3aefd2439b3bd985 ]---
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 5c 30 f4 ff e9 ce fd ff ff e8 32 91 b6 ff 0f 0b e8 2b 91 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:ffffc90000bc7ad8 EFLAGS: 00010293
RAX: ffffffff81b42e35 RBX: ffff88811bba2140 RCX: ffff88810cb84f00
RDX: 0000000000000000 RSI: 0000000000200000 RDI: 0000000000000000
RBP: ffffc90000bc7b58 R08: ffffffff81b42753 R09: 0000000000000003
R10: fffff52000178f40 R11: dffffc0000000001 R12: 0000000000000001
R13: ffff88810ce3ecc0 R14: ffff88811b800780 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd50fbfd578 CR3: 000000010d0bb000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (4300):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/02/22 17:44 android13-5.10-lts 6686f2996d23 d34966d1 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-5-10 kernel BUG in may_delete
2025/02/22 03:02 android13-5.10-lts 6686f2996d23 d34966d1 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-5-10 kernel BUG in may_delete
2025/02/22 02:26 android13-5.10-lts 6686f2996d23 d34966d1 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-5-10 kernel BUG in may_delete
2024/12/29 10:01 android13-5.10-lts 4055d754db6f d3ccff63 .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: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
2025/04/02 23:14 android13-5.10-lts 094fc3778d6b c799dfdd .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/04/02 10:45 android13-5.10-lts 094fc3778d6b c799dfdd .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/04/02 02:28 android13-5.10-lts 094fc3778d6b b8645499 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/04/01 12:57 android13-5.10-lts 094fc3778d6b 36d76a97 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/03/31 20:20 android13-5.10-lts 094fc3778d6b d3999433 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/03/31 11:53 android13-5.10-lts 094fc3778d6b d3999433 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/03/31 08:10 android13-5.10-lts 094fc3778d6b d3999433 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/03/31 03:39 android13-5.10-lts 094fc3778d6b d3999433 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/03/30 07:58 android13-5.10-lts 094fc3778d6b d3999433 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/03/30 05:00 android13-5.10-lts 094fc3778d6b d3999433 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/03/29 14:28 android13-5.10-lts 094fc3778d6b cf25e2c2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/03/29 01:14 android13-5.10-lts 094fc3778d6b 9a1a9e31 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/03/28 22:34 android13-5.10-lts 094fc3778d6b 9a1a9e31 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/03/28 05:03 android13-5.10-lts 094fc3778d6b 6c09fb82 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/03/27 07:05 android13-5.10-lts 094fc3778d6b 20510e88 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/03/26 16:04 android13-5.10-lts 094fc3778d6b 89d30d73 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/03/25 21:25 android13-5.10-lts 094fc3778d6b 875573af .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/03/25 16:16 android13-5.10-lts 094fc3778d6b 875573af .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/03/25 11:35 android13-5.10-lts 094fc3778d6b 875573af .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/03/25 07:26 android13-5.10-lts 094fc3778d6b 875573af .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/03/24 17:36 android13-5.10-lts 094fc3778d6b 875573af .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/03/24 11:49 android13-5.10-lts 094fc3778d6b 875573af .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/03/23 18:23 android13-5.10-lts 094fc3778d6b 4e8d3850 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/03/23 02:06 android13-5.10-lts 094fc3778d6b c6512ef7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/03/23 00:30 android13-5.10-lts 094fc3778d6b c6512ef7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/03/23 00:21 android13-5.10-lts 094fc3778d6b c6512ef7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/03/22 19:27 android13-5.10-lts 094fc3778d6b c6512ef7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/03/22 14:54 android13-5.10-lts 094fc3778d6b c6512ef7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/03/22 12:56 android13-5.10-lts 094fc3778d6b c6512ef7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/03/22 11:20 android13-5.10-lts 094fc3778d6b c6512ef7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/03/22 06:56 android13-5.10-lts 094fc3778d6b c6512ef7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/03/22 05:18 android13-5.10-lts 094fc3778d6b c6512ef7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/03/22 04:11 android13-5.10-lts 094fc3778d6b c6512ef7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/03/22 02:29 android13-5.10-lts 094fc3778d6b c6512ef7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/03/21 19:36 android13-5.10-lts 094fc3778d6b 62330552 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/03/21 19:32 android13-5.10-lts 094fc3778d6b 62330552 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/03/21 17:04 android13-5.10-lts 094fc3778d6b 62330552 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/03/21 15:51 android13-5.10-lts 094fc3778d6b 62330552 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/03/21 14:00 android13-5.10-lts 094fc3778d6b 62330552 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/03/21 12:50 android13-5.10-lts 094fc3778d6b 62330552 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/03/21 12:02 android13-5.10-lts 094fc3778d6b 62330552 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/03/21 09:20 android13-5.10-lts 094fc3778d6b 62330552 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/03/21 07:45 android13-5.10-lts 094fc3778d6b 62330552 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/03/21 06:30 android13-5.10-lts 094fc3778d6b 62330552 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/03/20 19:07 android13-5.10-lts 094fc3778d6b 62330552 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/03/20 17:36 android13-5.10-lts 094fc3778d6b 9209bc22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/03/20 16:34 android13-5.10-lts 094fc3778d6b 9209bc22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/03/20 07:56 android13-5.10-lts 094fc3778d6b 9209bc22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/03/20 04:28 android13-5.10-lts 094fc3778d6b 9209bc22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/03/20 02:42 android13-5.10-lts 094fc3778d6b e20d7b13 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/03/20 01:24 android13-5.10-lts 094fc3778d6b e20d7b13 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/03/19 16:21 android13-5.10-lts 094fc3778d6b e20d7b13 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/03/19 13:27 android13-5.10-lts 094fc3778d6b 8d0a2921 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2025/03/19 13:25 android13-5.10-lts 094fc3778d6b 8d0a2921 .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.