syzbot


WARNING: proc registration bug in bcm_connect

Status: upstream: reported C repro on 2023/12/12 13:31
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+df49d48077305d17519a@syzkaller.appspotmail.com
First crash: 127d, last: 2h21m
Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: WARNING: proc registration bug in bcm_connect (log)
Repro: C syz .config
  
Discussions (3)
Title Replies (including bot) Last reply
[syzbot] Monthly fs report (Mar 2024) 0 (1) 2024/03/16 12:09
[syzbot] Monthly fs report (Feb 2024) 0 (1) 2024/02/12 21:31
[syzbot] [fs?] WARNING: proc registration bug in bcm_connect 0 (1) 2023/12/12 13:31
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING: proc registration bug in bcm_connect origin:upstream C error 24 1d22h 90d 0/3 upstream: reported C repro on 2024/01/14 11:26
linux-6.1 WARNING: proc registration bug in bcm_connect origin:upstream C 27 17h51m 90d 0/3 upstream: reported C repro on 2024/01/14 11:26
Last patch testing requests (1)
Created Duration User Patch Repo Result
2023/12/22 13:57 17m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log

Sample crash report:
------------[ cut here ]------------
proc_dir_entry 'can-bcm/4732' already registered
WARNING: CPU: 1 PID: 5078 at fs/proc/generic.c:375 proc_register+0x451/0x5f0 fs/proc/generic.c:375
Modules linked in:
CPU: 1 PID: 5078 Comm: syz-executor114 Not tainted 6.7.0-syzkaller-09928-g052d534373b7 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
RIP: 0010:proc_register+0x451/0x5f0 fs/proc/generic.c:375
Code: 48 89 f9 48 c1 e9 03 80 3c 01 00 0f 85 a2 01 00 00 48 8b 44 24 10 48 c7 c7 60 07 e0 8a 48 8b b0 d8 00 00 00 e8 10 ff 37 ff 90 <0f> 0b 90 90 48 c7 c7 00 82 3d 8d e8 5f a8 78 08 48 8b 4c 24 28 48
RSP: 0018:ffffc90003a9fc58 EFLAGS: 00010282
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff814e08e9
RDX: ffff88802ab7d940 RSI: ffffffff814e08f6 RDI: 0000000000000001
RBP: ffff888022c8fb38 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: ffff888026c01a80
R13: dffffc0000000000 R14: ffff888026c019f0 R15: ffffed1004d8036c
FS:  0000555556910380(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f13b0e66900 CR3: 0000000028e91000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 proc_create_net_single+0x105/0x170 fs/proc/proc_net.c:219
 bcm_connect+0x1ed/0x4c0 net/can/bcm.c:1631
 __sys_connect_file+0x15b/0x1a0 net/socket.c:2048
 __sys_connect+0x145/0x170 net/socket.c:2065
 __do_sys_connect net/socket.c:2075 [inline]
 __se_sys_connect net/socket.c:2072 [inline]
 __x64_sys_connect+0x72/0xb0 net/socket.c:2072
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xd3/0x250 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7f13b0e7fde9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 d1 19 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffdfd95a4d8 EFLAGS: 00000246 ORIG_RAX: 000000000000002a
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f13b0e7fde9
RDX: 0000000000000010 RSI: 00000000200001c0 RDI: 0000000000000005
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000100000000
R10: 0000000100000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007ffdfd95a4fc R15: 0000000000000003
 </TASK>

Crashes (276):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/01/14 17:09 upstream 052d534373b7 551587c1 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING: proc registration bug in bcm_connect
2024/01/15 04:44 net e327b2372bc0 551587c1 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING: proc registration bug in bcm_connect
2024/01/14 16:52 net 5ef7f6b308bb 551587c1 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING: proc registration bug in bcm_connect
2024/01/15 01:28 net-next 3e7aeb78ab01 551587c1 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: proc registration bug in bcm_connect
2024/01/14 16:56 net-next 3e7aeb78ab01 551587c1 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: proc registration bug in bcm_connect
2024/01/15 02:33 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 0802e17d9aca 551587c1 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING: proc registration bug in bcm_connect
2024/01/14 18:34 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 0802e17d9aca 551587c1 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING: proc registration bug in bcm_connect
2023/12/08 13:20 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci d46efae31672 28b24332 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING: proc registration bug in bcm_connect
2024/04/12 19:44 upstream fe46a7dd189e 27de0a5c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING: proc registration bug in bcm_connect
2024/04/12 12:25 upstream fe46a7dd189e 27de0a5c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING: proc registration bug in bcm_connect
2024/04/12 11:11 upstream fe46a7dd189e 27de0a5c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING: proc registration bug in bcm_connect
2024/04/11 23:56 upstream fe46a7dd189e 478efa7f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING: proc registration bug in bcm_connect
2024/04/11 06:42 upstream fe46a7dd189e 56086b24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING: proc registration bug in bcm_connect
2024/04/08 00:08 upstream 480e035fc4c7 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING: proc registration bug in bcm_connect
2024/04/06 14:04 upstream fe46a7dd189e ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING: proc registration bug in bcm_connect
2024/04/06 13:55 upstream fe46a7dd189e ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING: proc registration bug in bcm_connect
2024/04/05 05:18 upstream 480e035fc4c7 0ee3535e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING: proc registration bug in bcm_connect
2024/04/02 17:46 upstream 480e035fc4c7 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING: proc registration bug in bcm_connect
2024/04/02 01:53 upstream 480e035fc4c7 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING: proc registration bug in bcm_connect
2024/04/01 18:38 upstream 480e035fc4c7 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING: proc registration bug in bcm_connect
2024/04/01 13:08 upstream 480e035fc4c7 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING: proc registration bug in bcm_connect
2024/04/01 10:19 upstream fe46a7dd189e 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING: proc registration bug in bcm_connect
2024/03/31 09:48 upstream 480e035fc4c7 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING: proc registration bug in bcm_connect
2024/03/30 17:18 upstream fe46a7dd189e 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING: proc registration bug in bcm_connect
2024/04/05 19:29 upstream e8b0ccb2a787 ca620dd8 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING: proc registration bug in bcm_connect
2024/04/02 18:47 upstream 026e680b0a08 f861ecca .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING: proc registration bug in bcm_connect
2024/04/14 03:17 upstream fa4022cb7361 c8349e48 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-compat WARNING: proc registration bug in bcm_connect
2024/04/13 11:47 upstream 8f2c057754b2 c8349e48 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64 WARNING: proc registration bug in bcm_connect
2024/04/13 11:41 upstream 8f2c057754b2 c8349e48 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING: proc registration bug in bcm_connect
2024/04/13 09:31 upstream 8f2c057754b2 c8349e48 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64 WARNING: proc registration bug in bcm_connect
2024/04/12 18:37 upstream 586b5dfb51b9 a154e056 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64 WARNING: proc registration bug in bcm_connect
2024/04/12 06:04 upstream 00dcf5d862e8 27de0a5c .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING: proc registration bug in bcm_connect
2024/04/12 05:03 upstream 00dcf5d862e8 27de0a5c .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64 WARNING: proc registration bug in bcm_connect
2024/04/12 03:42 upstream 00dcf5d862e8 27de0a5c .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING: proc registration bug in bcm_connect
2024/04/12 03:41 upstream 00dcf5d862e8 27de0a5c .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING: proc registration bug in bcm_connect
2024/04/12 01:09 upstream 00dcf5d862e8 27de0a5c .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64 WARNING: proc registration bug in bcm_connect
2024/04/11 21:21 upstream e8c39d0f57f3 3023abf0 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64 WARNING: proc registration bug in bcm_connect
2024/04/11 16:54 upstream e8c39d0f57f3 3023abf0 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64 WARNING: proc registration bug in bcm_connect
2024/04/11 12:51 upstream e8c39d0f57f3 3023abf0 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64 WARNING: proc registration bug in bcm_connect
2024/04/11 09:06 upstream a6189a740779 33b9e058 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64 WARNING: proc registration bug in bcm_connect
2024/04/11 06:48 upstream a6189a740779 33b9e058 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING: proc registration bug in bcm_connect
2024/04/06 20:20 upstream 6c6e47d69d82 ca620dd8 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-compat WARNING: proc registration bug in bcm_connect
2024/04/06 03:50 upstream e8b0ccb2a787 ca620dd8 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64 WARNING: proc registration bug in bcm_connect
2024/04/05 23:15 upstream e8b0ccb2a787 ca620dd8 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING: proc registration bug in bcm_connect
2024/04/02 14:21 upstream 026e680b0a08 f861ecca .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING: proc registration bug in bcm_connect
2024/03/31 18:05 upstream 712e14250dd2 6baf5069 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING: proc registration bug in bcm_connect
2024/04/12 08:52 net f99c5f563c17 27de0a5c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING: proc registration bug in bcm_connect
2024/04/03 02:35 net f99c5f563c17 7925100d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING: proc registration bug in bcm_connect
2024/04/03 00:09 net f99c5f563c17 7925100d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING: proc registration bug in bcm_connect
2024/04/01 22:11 net f99c5f563c17 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING: proc registration bug in bcm_connect
2024/03/28 07:28 net-next 237bb5f7f7f5 454571b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: proc registration bug in bcm_connect
2024/03/25 06:24 net-next 237bb5f7f7f5 0ea90952 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce WARNING: proc registration bug in bcm_connect
2024/04/01 21:50 linux-next a6bd6c933339 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING: proc registration bug in bcm_connect
2024/03/31 17:29 linux-next a6bd6c933339 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING: proc registration bug in bcm_connect
2024/04/13 23:27 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci b5d2afe8745b c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING: proc registration bug in bcm_connect
2024/04/13 22:09 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci b5d2afe8745b c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING: proc registration bug in bcm_connect
2024/04/13 21:09 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci b5d2afe8745b c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING: proc registration bug in bcm_connect
2024/04/13 19:11 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci b5d2afe8745b c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING: proc registration bug in bcm_connect
2024/04/12 17:25 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fec50db7033e 27de0a5c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING: proc registration bug in bcm_connect
2024/04/12 13:22 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fec50db7033e 27de0a5c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING: proc registration bug in bcm_connect
2024/04/12 09:58 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fec50db7033e 27de0a5c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING: proc registration bug in bcm_connect
2024/04/12 07:12 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fec50db7033e 27de0a5c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING: proc registration bug in bcm_connect
2024/04/12 02:39 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fec50db7033e 478efa7f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING: proc registration bug in bcm_connect
2024/04/11 22:55 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fec50db7033e 478efa7f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING: proc registration bug in bcm_connect
2024/04/11 18:20 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fec50db7033e 478efa7f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING: proc registration bug in bcm_connect
2024/04/05 17:57 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 707081b61156 18ea8213 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING: proc registration bug in bcm_connect
2024/04/04 20:22 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 707081b61156 0ee3535e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING: proc registration bug in bcm_connect
* Struck through repros no longer work on HEAD.