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: 348d, last: 79d
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
  
Fix bisection the fix commit could be any of (bisect log):
  76fe372ccb81 can: bcm: Remove proc entry when dev is unregistered.
  06d4ef3056a7 can: m_can: Release irq on error in m_can_open
  
Discussions (6)
Title Replies (including bot) Last reply
Re: [PATCH 1/1] Net: bcm.c: Remove Subtree Instead of Entry 1 (1) 2024/08/09 20:28
Re: [PATCH 1/1] Net: bcm.c: Remove Subtree Instead of Entry 1 (1) 2024/08/09 16:21
[syzbot] Monthly fs report (Jul 2024) 0 (1) 2024/07/18 07:59
[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 222d 311d 0/3 auto-obsoleted due to no activity on 2024/10/03 08:47
linux-6.1 WARNING: proc registration bug in bcm_connect origin:upstream C error 28 209d 311d 0/3 upstream: reported C repro on 2024/01/14 11:26
Last patch testing requests (10)
Created Duration User Patch Repo Result
2024/11/10 12:45 23m retest repro net-next OK log
2024/10/27 16:00 21m retest repro upstream OK log
2024/10/01 16:33 25m retest repro upstream OK log
2024/09/17 13:47 23m retest repro net OK log
2024/09/17 13:47 23m retest repro net OK log
2024/09/16 12:39 38m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2024/09/16 12:39 25m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2024/09/16 12:39 27m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2024/09/16 12:39 2h57m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci error
2024/09/16 11:58 21m retest repro upstream OK log

Sample crash report:
netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0
netlink: 4 bytes leftover after parsing attributes in process `syz-executor345'.
------------[ cut here ]------------
proc_dir_entry 'can-bcm/960' already registered
WARNING: CPU: 0 PID: 6240 at fs/proc/generic.c:376 proc_register+0x2e8/0x464 fs/proc/generic.c:377
Modules linked in:
CPU: 0 PID: 6240 Comm: syz-executor345 Not tainted 6.9.0-rc7-syzkaller-gfda5695d692c #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : proc_register+0x2e8/0x464 fs/proc/generic.c:377
lr : proc_register+0x2e0/0x464 fs/proc/generic.c:375
sp : ffff80009b2d7a40
x29: ffff80009b2d7a60 x28: dfff800000000000 x27: 0000000000000000
x26: 0000000000000003 x25: ffff0000d65131f8 x24: ffff0000db015364
x23: ffff0000db015358 x22: 1fffe0001b602a62 x21: ffff0000db015314
x20: ffff0000d6513224 x19: ffff0000db015280 x18: 0000000000000008
x17: 0000000000000000 x16: ffff80008ae89e3c x15: 0000000000000001
x14: 1fffe000367b8a02 x13: 0000000000000000 x12: 0000000000000000
x11: 0000000000000003 x10: 0000000000ff0100 x9 : 5590dbb5c816cb00
x8 : 5590dbb5c816cb00 x7 : 0000000000000001 x6 : 0000000000000001
x5 : ffff80009b2d71b8 x4 : ffff80008ef95100 x3 : ffff8000805e61b0
x2 : 0000000000000001 x1 : 0000000100000001 x0 : ffff80008f1e1560
Call trace:
 proc_register+0x2e8/0x464 fs/proc/generic.c:377
 proc_create_net_single+0x140/0x198 fs/proc/proc_net.c:219
 bcm_connect+0x224/0x43c net/can/bcm.c:1673
 __sys_connect_file net/socket.c:2048 [inline]
 __sys_connect+0x268/0x290 net/socket.c:2065
 __do_sys_connect net/socket.c:2075 [inline]
 __se_sys_connect net/socket.c:2072 [inline]
 __arm64_sys_connect+0x7c/0x94 net/socket.c:2072
 __invoke_syscall arch/arm64/kernel/syscall.c:34 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:48
 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:133
 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:152
 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:712
 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730
 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598
irq event stamp: 126238
hardirqs last  enabled at (126237): [<ffff80008037430c>] __up_console_sem kernel/printk/printk.c:341 [inline]
hardirqs last  enabled at (126237): [<ffff80008037430c>] __console_unlock kernel/printk/printk.c:2731 [inline]
hardirqs last  enabled at (126237): [<ffff80008037430c>] console_unlock+0x17c/0x3d4 kernel/printk/printk.c:3050
hardirqs last disabled at (126238): [<ffff80008ae85288>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:470
softirqs last  enabled at (126214): [<ffff800088fc6518>] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32
softirqs last disabled at (126212): [<ffff800088fc64e4>] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19
---[ end trace 0000000000000000 ]---

Crashes (322):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/15 04:20 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fda5695d692c fdb4c10c .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 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/05/05 22:57 upstream b9158815de52 610f2a54 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING: proc registration bug in bcm_connect
2024/05/05 16:34 upstream 7367539ad4b0 610f2a54 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING: proc registration bug in bcm_connect
2024/05/05 15:52 upstream 7367539ad4b0 610f2a54 .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/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/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/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/09/02 11:55 upstream 67784a74e258 1eda0d14 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root 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/15 20:23 upstream 0bbac3facb5d 459f4b00 .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/15 12:01 upstream 0bbac3facb5d 459f4b00 .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/15 05:18 upstream 72374d71c315 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/14 15:35 upstream 7efd0a74039f 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/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/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/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/08/04 10:14 net-next 83044bf90e08 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: proc registration bug in bcm_connect
2024/05/23 08:58 net-next 4b377b4868ef 4d098039 .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/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/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/04/15 18:18 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/15 17: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/15 13:07 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/15 10:50 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/15 09:49 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/15 05:26 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/15 02:24 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/15 00:20 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/14 23:02 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/14 20:57 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/14 19:54 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/14 11:43 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/14 11:43 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/14 07:21 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 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
* Struck through repros no longer work on HEAD.