From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oa1-f69.google.com (mail-oa1-f69.google.com [209.85.160.69]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 059E683 for ; Tue, 12 Dec 2023 05:31:32 -0800 (PST) Received: by mail-oa1-f69.google.com with SMTP id 586e51a60fabf-1fb04956beeso8560713fac.0 for ; Tue, 12 Dec 2023 05:31:31 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702387891; x=1702992691; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=PtPNaa63pPbP35mOvk+m07ujnitLGqjs06clA4xZBik=; b=wQDgtu0Q/yEDhgPXUg6HslfTba3OiG6vhXQmx+6G2lBh7+kHMFgALTy41QXl42SvqR 6KtOmPkzxCyKn00Tx/gDb04/JrqCkZC1GxebDw8xN4bhoLMdOZmbK4DWOlqO4E6PRtg9 V+07FGeBDIM1jUup6c+4o7m7+xAFMZ5nIS4a5rxsyUX5DN8rJHFc5joucP9Kpa3HHQhF R652u2n/l6uT7boKfHs4Y3sWbldHMUtbkY30dljhBuQB1J22MFo7VfAMo9RQMrLloxAn PzooUv5RDqBGvXFkzuPUtPpNjALXG8f8iS5McphrYxFAt53+H3pDNPKsFmm21puqDIv2 NGmg== X-Gm-Message-State: AOJu0Ywwo5+AD5iE5XZS+cTe3bDnooWBG/YP1CEOgKCj3MKr0EpLLCwz 2XKV9ut+R5Sx5WRNRZZSxRCWYo1/siSADGLry78hZFWez0qFBRI= X-Google-Smtp-Source: AGHT+IGnAc0yCRSZ6mf1XuYEkcqnsA/8FsH+0QhPTlytVS5KZRO97nTUmH7p/gfi8Iz7E67e2ezrocW8fn+2DlRl2O+tPi2Wz/Jl Precedence: bulk X-Mailing-List: linux-fsdevel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6870:e310:b0:1fa:edd5:cb79 with SMTP id z16-20020a056870e31000b001faedd5cb79mr5562455oad.4.1702387891303; Tue, 12 Dec 2023 05:31:31 -0800 (PST) Date: Tue, 12 Dec 2023 05:31:31 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <00000000000087fa8f060c501197@google.com> Subject: [syzbot] [fs?] WARNING: proc registration bug in bcm_connect From: syzbot To: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Hello, syzbot found the following issue on: HEAD commit: d46efae31672 Merge branch 'for-next/core' into for-kernelci git tree: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci console output: https://syzkaller.appspot.com/x/log.txt?x=123d805ce80000 kernel config: https://syzkaller.appspot.com/x/.config?x=f62dd67b72f86455 dashboard link: https://syzkaller.appspot.com/bug?extid=df49d48077305d17519a compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 userspace arch: arm64 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=112e94fae80000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=11b971dae80000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/f1c7fab7b512/disk-d46efae3.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/44ed3d86d2c1/vmlinux-d46efae3.xz kernel image: https://storage.googleapis.com/syzbot-assets/2e0b5f52455a/Image-d46efae3.gz.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+df49d48077305d17519a@syzkaller.appspotmail.com __nla_validate_parse: 1 callbacks suppressed netlink: 4 bytes leftover after parsing attributes in process `syz-executor167'. ------------[ cut here ]------------ proc_dir_entry 'can-bcm/3005' already registered WARNING: CPU: 0 PID: 6120 at fs/proc/generic.c:376 proc_register+0x2e8/0x464 fs/proc/generic.c:377 Modules linked in: CPU: 0 PID: 6120 Comm: syz-executor167 Not tainted 6.7.0-rc4-syzkaller-gd46efae31672 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 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 : ffff800096fa7a40 x29: ffff800096fa7a60 x28: dfff800000000000 x27: 0000000000000000 x26: 0000000000000004 x25: ffff0000d3567ab8 x24: ffff0000c92524a4 x23: ffff0000c9252498 x22: 1fffe0001924a48a x21: ffff0000c9252454 x20: ffff0000d3567ae4 x19: ffff0000c92523c0 x18: ffff800096fa6f20 x17: 0000000000000000 x16: ffff80008a82b29c x15: 0000000000000001 x14: 1fffe0003682623a x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000000003 x10: 0000000000ff0100 x9 : 4358bb8e0c091100 x8 : 4358bb8e0c091100 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800096fa7338 x4 : ffff80008e5d1ea0 x3 : ffff8000805af654 x2 : 0000000000000001 x1 : 0000000100000001 x0 : ffff80008e80d580 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:1631 __sys_connect_file net/socket.c:2046 [inline] __sys_connect+0x268/0x290 net/socket.c:2063 __do_sys_connect net/socket.c:2073 [inline] __se_sys_connect net/socket.c:2070 [inline] __arm64_sys_connect+0x7c/0x94 net/socket.c:2070 __invoke_syscall arch/arm64/kernel/syscall.c:37 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:51 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:136 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:155 el0_svc+0x54/0x158 arch/arm64/kernel/entry-common.c:678 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:696 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:595 irq event stamp: 2368 hardirqs last enabled at (2367): [] __up_console_sem kernel/printk/printk.c:341 [inline] hardirqs last enabled at (2367): [] __console_unlock kernel/printk/printk.c:2706 [inline] hardirqs last enabled at (2367): [] console_unlock+0x17c/0x3d4 kernel/printk/printk.c:3038 hardirqs last disabled at (2368): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:436 softirqs last enabled at (2338): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (2336): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]--- --- This report is generated by a bot. It may contain errors. See https://goo.gl/tpsmEJ for more information about syzbot. syzbot engineers can be reached at syzkaller@googlegroups.com. syzbot will keep track of this issue. See: https://goo.gl/tpsmEJ#status for how to communicate with syzbot. If the report is already addressed, let syzbot know by replying with: #syz fix: exact-commit-title If you want syzbot to run the reproducer, reply with: #syz test: git://repo/address.git branch-or-commit-hash If you attach or paste a git patch, syzbot will apply it before testing. If you want to overwrite report's subsystems, reply with: #syz set subsystems: new-subsystem (See the list of subsystem names on the web dashboard) If the report is a duplicate of another one, reply with: #syz dup: exact-subject-of-another-report If you want to undo deduplication, reply with: #syz undup