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: 73d, last: 5d21h
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-54 kernel BUG in may_delete C 34 6d04h 73d 0/2 upstream: reported C repro on 2024/04/03 23:36
android-6-1 kernel BUG in may_delete origin:downstream C 24 11d 73d 0/2 upstream: reported C repro on 2024/04/03 23:51
android-5-15 kernel BUG in may_delete origin:downstream C 10 11d 73d 0/2 upstream: reported C repro on 2024/04/03 23:06

Sample crash report:
EXT4-fs (loop0): 1 truncate cleaned up
EXT4-fs (loop0): mounted filesystem without journal. Opts: nobarrier,noblock_validity,nogrpid,bh,max_batch_time=0x0000000000000400,resgid=0x0000000000000000,jqfmt=vfsold,i_version,resgid=0x0000000000000000,errors=continue
------------[ cut here ]------------
kernel BUG at fs/namei.c:2786!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 287 Comm: syz-executor210 Not tainted 5.10.209-syzkaller-00001-ge7daca75b4c3 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/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 dc 37 f4 ff e9 ce fd ff ff e8 f2 be b6 ff 0f 0b e8 eb be 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:ffffc90000b17ad8 EFLAGS: 00010293
RAX: ffffffff81b3e905 RBX: ffff88811c4fd250 RCX: ffff88811ede4f00
RDX: 0000000000000000 RSI: 0000000000200000 RDI: 0000000000000000
RBP: ffffc90000b17b58 R08: ffffffff81b3e223 R09: 0000000000000003
R10: fffff52000162f40 R11: dffffc0000000001 R12: 0000000000000001
R13: ffff88811c4b1ee0 R14: ffff88810fda6be8 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc376ec0130 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:3839
 incfs_kill_sb+0x108/0x220 fs/incfs/vfs.c:1945
 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:164
 exit_task_work include/linux/task_work.h:32 [inline]
 do_exit+0xc83/0x2a50 kernel/exit.c:861
 do_group_exit+0x141/0x310 kernel/exit.c:983
 __do_sys_exit_group kernel/exit.c:994 [inline]
 __se_sys_exit_group kernel/exit.c:992 [inline]
 __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:992
 do_syscall_64+0x34/0x70
 entry_SYSCALL_64_after_hwframe+0x61/0xc6
RIP: 0033:0x7fc376e45ac9
Code: Unable to access opcode bytes at RIP 0x7fc376e45a9f.
RSP: 002b:00007ffc11cc00a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007fc376e45ac9
RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001
RBP: 00007fc376ec2370 R08: ffffffffffffffb8 R09: 00007ffc11cc0180
R10: 0000000000000e01 R11: 0000000000000246 R12: 00007fc376ec2370
R13: 0000000000000000 R14: 00007fc376ec30e0 R15: 00007fc376e13d80
Modules linked in:
---[ end trace 9882477244f21830 ]---
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 dc 37 f4 ff e9 ce fd ff ff e8 f2 be b6 ff 0f 0b e8 eb be 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:ffffc90000b17ad8 EFLAGS: 00010293
RAX: ffffffff81b3e905 RBX: ffff88811c4fd250 RCX: ffff88811ede4f00
RDX: 0000000000000000 RSI: 0000000000200000 RDI: 0000000000000000
RBP: ffffc90000b17b58 R08: ffffffff81b3e223 R09: 0000000000000003
R10: fffff52000162f40 R11: dffffc0000000001 R12: 0000000000000001
R13: ffff88811c4b1ee0 R14: ffff88810fda6be8 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc376ec0130 CR3: 000000000660f000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (151):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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/06/10 08:59 android13-5.10-lts d3c4d815bf09 82c05ab8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/06/09 15:42 android13-5.10-lts d3c4d815bf09 82c05ab8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/06/08 21:23 android13-5.10-lts d3c4d815bf09 82c05ab8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/06/04 11:14 android13-5.10-lts d3c4d815bf09 a1feae05 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/06/02 09:41 android13-5.10-lts 22b064ea5cbc 3113787f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/05/20 10:09 android13-5.10-lts 70b6ab09a34b c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/05/13 21:25 android13-5.10-lts 70b6ab09a34b 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/05/11 09:53 android13-5.10-lts 70b6ab09a34b 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/05/11 02:32 android13-5.10-lts 70b6ab09a34b f7c35481 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/05/06 11:56 android13-5.10-lts 70b6ab09a34b d884b519 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/05/06 09:13 android13-5.10-lts 70b6ab09a34b 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/05/06 08:18 android13-5.10-lts 70b6ab09a34b 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/05/06 06:27 android13-5.10-lts 70b6ab09a34b 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/05/06 05:24 android13-5.10-lts 70b6ab09a34b 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/05/06 03:43 android13-5.10-lts 70b6ab09a34b 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/05/06 01:39 android13-5.10-lts 70b6ab09a34b 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/05/06 00:15 android13-5.10-lts 70b6ab09a34b 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/05/05 23:38 android13-5.10-lts 70b6ab09a34b 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/05/05 20:40 android13-5.10-lts 70b6ab09a34b 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/05/05 19:37 android13-5.10-lts 70b6ab09a34b 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/05/05 18:35 android13-5.10-lts 70b6ab09a34b 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/05/05 16:09 android13-5.10-lts 70b6ab09a34b 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/05/05 15:08 android13-5.10-lts 70b6ab09a34b 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/05/05 13:16 android13-5.10-lts 70b6ab09a34b 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/05/05 12:13 android13-5.10-lts 70b6ab09a34b 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/05/05 09:49 android13-5.10-lts 70b6ab09a34b 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/05/05 08:30 android13-5.10-lts 70b6ab09a34b 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/05/05 07:10 android13-5.10-lts 70b6ab09a34b 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/05/05 06:00 android13-5.10-lts 70b6ab09a34b 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/05/05 03:58 android13-5.10-lts 70b6ab09a34b 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/05/05 00:08 android13-5.10-lts 70b6ab09a34b 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/05/04 21:38 android13-5.10-lts 70b6ab09a34b 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/05/04 20:49 android13-5.10-lts 70b6ab09a34b 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/05/04 19:18 android13-5.10-lts 70b6ab09a34b 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/05/04 17:56 android13-5.10-lts 70b6ab09a34b 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/05/04 15:47 android13-5.10-lts 70b6ab09a34b 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/05/04 14:14 android13-5.10-lts 70b6ab09a34b 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/05/04 10:01 android13-5.10-lts 70b6ab09a34b 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/05/04 09:23 android13-5.10-lts 70b6ab09a34b 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/05/04 09:23 android13-5.10-lts 70b6ab09a34b 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/05/04 07:04 android13-5.10-lts 70b6ab09a34b 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in may_delete
2024/05/04 07:04 android13-5.10-lts 70b6ab09a34b 610f2a54 .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.