syzbot


WARNING in remove_proc_entry

Status: upstream: reported on 2024/09/12 15:07
Reported-by: syzbot+1be1782f4e756c1f1c93@syzkaller.appspotmail.com
First crash: 6d10h, last: 6d03h
Similar bugs (8)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in remove_proc_entry origin:upstream C 35 7h29m 6d10h 0/3 upstream: reported C repro on 2024/09/12 15:07
upstream WARNING in remove_proc_entry (5) scsi C 158 551d 593d 22/28 fixed on 2023/06/08 14:41
upstream WARNING in remove_proc_entry (4) net 1 1024d 1024d 0/28 closed as invalid on 2021/12/14 20:02
linux-4.19 WARNING in remove_proc_entry C error 4 670d 691d 0/1 upstream: reported C repro on 2022/10/28 02:13
upstream WARNING in remove_proc_entry netfilter 1 2249d 2249d 0/28 closed as invalid on 2018/09/05 12:51
upstream WARNING in remove_proc_entry (3) nfs net 1 1163d 1159d 0/28 auto-closed as invalid on 2021/11/10 16:53
upstream WARNING in remove_proc_entry (2) net 6 1828d 2128d 0/28 auto-closed as invalid on 2020/01/15 15:54
upstream WARNING in remove_proc_entry (6) can C done 307 9h09m 14d 22/28 upstream: reported C repro on 2024/09/04 13:56

Sample crash report:
------------[ cut here ]------------
name '56292'
WARNING: CPU: 1 PID: 8649 at fs/proc/generic.c:712 remove_proc_entry+0x2e1/0x5c0 fs/proc/generic.c:712
Modules linked in:
CPU: 1 PID: 8649 Comm: syz.4.1022 Not tainted 6.1.110-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
RIP: 0010:remove_proc_entry+0x2e1/0x5c0 fs/proc/generic.c:712
Code: f5 73 ff eb 05 e8 2f f5 73 ff 48 8b 5c 24 10 48 c7 c7 20 a8 47 8d e8 de 8e 9a 08 48 c7 c7 60 f0 1b 8b 48 89 de e8 cf e7 3b ff <0f> 0b 48 8b 44 24 18 48 c7 44 24 40 0e 36 e0 45 49 c7 04 07 00 00
RSP: 0018:ffffc9000424fb80 EFLAGS: 00010246
RAX: 57c6386820afad00 RBX: ffff88801a2ff558 RCX: ffff88802cf15940
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc9000424fc78 R08: ffffffff8152a48e R09: ffffed10171e4f1c
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88805d4c4500
R13: 0000000000000005 R14: 0000000000000000 R15: dffffc0000000000
FS:  000055558326d500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c46a83a CR3: 00000000769c7000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 bcm_release+0x244/0x870 net/can/bcm.c:1536
 __sock_release net/socket.c:654 [inline]
 sock_close+0xcd/0x230 net/socket.c:1400
 __fput+0x3f6/0x8d0 fs/file_table.c:320
 task_work_run+0x246/0x300 kernel/task_work.c:203
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 exit_to_user_mode_loop+0xde/0x100 kernel/entry/common.c:177
 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210
 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline]
 syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:303
 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f272017def9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffcbab21fe8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007f2720337a80 RCX: 00007f272017def9
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007f2720337a80 R08: 00007f2720322000 R09: 00007ffcbab222df
R10: 00000000003ffd08 R11: 0000000000000246 R12: 0000000000093f43
R13: 00007ffcbab220f0 R14: 0000000000000032 R15: ffffffffffffffff
 </TASK>

Crashes (9):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/09/12 21:19 linux-6.1.y 5f55cad62cc9 60e1a995 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in remove_proc_entry
2024/09/12 21:08 linux-6.1.y 5f55cad62cc9 60e1a995 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in remove_proc_entry
2024/09/12 21:02 linux-6.1.y 5f55cad62cc9 60e1a995 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in remove_proc_entry
2024/09/12 20:32 linux-6.1.y 5f55cad62cc9 60e1a995 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in remove_proc_entry
2024/09/12 20:32 linux-6.1.y 5f55cad62cc9 60e1a995 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in remove_proc_entry
2024/09/12 20:13 linux-6.1.y 5f55cad62cc9 60e1a995 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in remove_proc_entry
2024/09/12 20:12 linux-6.1.y 5f55cad62cc9 60e1a995 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in remove_proc_entry
2024/09/12 15:07 linux-6.1.y 5f55cad62cc9 60e1a995 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in remove_proc_entry
2024/09/12 15:07 linux-6.1.y 5f55cad62cc9 60e1a995 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in remove_proc_entry
* Struck through repros no longer work on HEAD.