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: 231d, last: 16h02m
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-54 kernel BUG in may_delete C 34 52d 231d 0/2 upstream: reported C repro on 2024/04/03 23:36
android-6-1 kernel BUG in may_delete origin:downstream C 1087 19h31m 231d 0/2 upstream: reported C repro on 2024/04/03 23:51
android-5-15 kernel BUG in may_delete origin:downstream C 816 1h49m 231d 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 (2241):
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/11/21 01:23 android13-5.10-lts 6a01908517df 4b25d554 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/11/20 20:49 android13-5.10-lts 6a01908517df 4fca1650 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/11/20 12:18 android13-5.10-lts 6a01908517df 7d02db5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/11/20 11:16 android13-5.10-lts 6a01908517df 7d02db5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/11/20 09:52 android13-5.10-lts 6a01908517df 7d02db5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/11/20 08:15 android13-5.10-lts 6a01908517df 7d02db5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/11/20 07:06 android13-5.10-lts 6a01908517df 7d02db5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/11/20 05:03 android13-5.10-lts 6a01908517df 7d02db5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/11/20 04:56 android13-5.10-lts 6a01908517df 7d02db5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/11/20 04:56 android13-5.10-lts 6a01908517df 7d02db5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/11/20 00:17 android13-5.10-lts 6a01908517df 7d02db5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/11/20 00:12 android13-5.10-lts 6a01908517df 7d02db5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/11/20 00:07 android13-5.10-lts 6a01908517df 7d02db5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/11/20 00:02 android13-5.10-lts 6a01908517df 7d02db5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/11/20 00:00 android13-5.10-lts 6a01908517df 7d02db5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/11/19 20:09 android13-5.10-lts 6a01908517df 7d02db5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/11/19 17:17 android13-5.10-lts 6a01908517df 7d02db5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/11/19 15:59 android13-5.10-lts 6a01908517df 571351cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/11/19 14:54 android13-5.10-lts 6a01908517df 571351cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/11/19 14:37 android13-5.10-lts 6a01908517df 571351cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/11/19 12:22 android13-5.10-lts 6a01908517df 571351cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/11/19 11:14 android13-5.10-lts 6a01908517df 571351cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/11/19 09:30 android13-5.10-lts 6a01908517df 571351cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/11/19 08:28 android13-5.10-lts 6a01908517df 571351cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/11/19 06:24 android13-5.10-lts 6a01908517df 571351cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/11/19 05:39 android13-5.10-lts 6a01908517df 571351cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/11/19 04:33 android13-5.10-lts 6a01908517df 571351cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/11/19 00:08 android13-5.10-lts 6a01908517df 571351cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/11/18 23:08 android13-5.10-lts 6a01908517df e7bb5d6e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/11/18 23:08 android13-5.10-lts 6a01908517df e7bb5d6e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/11/18 20:51 android13-5.10-lts 6a01908517df e7bb5d6e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/11/18 19:05 android13-5.10-lts 6a01908517df e7bb5d6e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/11/18 16:45 android13-5.10-lts 6a01908517df e7bb5d6e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/11/18 11:16 android13-5.10-lts 6a01908517df e7bb5d6e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/11/18 09:41 android13-5.10-lts 6a01908517df cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/11/18 08:58 android13-5.10-lts 6a01908517df cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/11/18 07:58 android13-5.10-lts 6a01908517df cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/11/18 06:35 android13-5.10-lts 6a01908517df cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/11/18 05:07 android13-5.10-lts 6a01908517df cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/11/18 03:40 android13-5.10-lts 6a01908517df cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/11/18 02:16 android13-5.10-lts 6a01908517df cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/11/18 01:15 android13-5.10-lts 6a01908517df cfe3a04a .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.