Hello,
syzbot found the following issue on:
HEAD commit: 26c690eff0a5 Linux 5.15.146
git tree: linux-5.15.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=15df1683e80000
kernel config:
https://syzkaller.appspot.com/x/.config?x=ab948f7b303e76f8
dashboard link:
https://syzkaller.appspot.com/bug?extid=e810231fb4eca8a972fd
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
userspace arch: arm64
Unfortunately, I don't have any reproducer for this issue yet.
Downloadable assets:
disk image:
https://storage.googleapis.com/syzbot-assets/33e6f3a42ce6/disk-26c690ef.raw.xz
vmlinux:
https://storage.googleapis.com/syzbot-assets/0224f0ff4ede/vmlinux-26c690ef.xz
kernel image:
https://storage.googleapis.com/syzbot-assets/822737ca97e0/Image-26c690ef.gz.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+e81023...@syzkaller.appspotmail.com
------------[ cut here ]------------
proc_dir_entry 'can-bcm/91548' already registered
WARNING: CPU: 1 PID: 23441 at fs/proc/generic.c:377 proc_register+0x2e8/0x464 fs/proc/generic.c:378
Modules linked in:
CPU: 1 PID: 23441 Comm: syz-executor.4 Not tainted 5.15.146-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : proc_register+0x2e8/0x464 fs/proc/generic.c:378
lr : proc_register+0x2e0/0x464 fs/proc/generic.c:376
sp : ffff800021497a20
x29: ffff800021497a40 x28: dfff800000000000 x27: 0000000000000000
x26: 0000000000000005 x25: ffff0000cd582bf8 x24: ffff00011c76e364
x23: ffff00011c76e358 x22: 1fffe000238edc62 x21: ffff00011c76e314
x20: ffff0000cd582c24 x19: ffff00011c76e280 x18: 0000000000000002
x17: 0000000000000002 x16: ffff8000119811d4 x15: 00000000ffffffff
x14: ffff0000cc1ed1c0 x13: 0000000000000001 x12: 0000000000040000
x11: 0000000000002dba x10: ffff800021cbd000 x9 : 568654ff41e5ff00
x8 : 568654ff41e5ff00 x7 : 0000000000000001 x6 : 0000000000000001
x5 : ffff800021497198 x4 : ffff8000149ff8e0 x3 : ffff80000854d024
x2 : 0000000000000001 x1 : 0000000000000001 x0 : ffff800014c0faa0
Call trace:
proc_register+0x2e8/0x464 fs/proc/generic.c:378
proc_create_net_single+0x140/0x198 fs/proc/proc_net.c:209
bcm_connect+0x21c/0x448 net/can/bcm.c:1626
__sys_connect_file net/socket.c:1916 [inline]
__sys_connect+0x268/0x290 net/socket.c:1933
__do_sys_connect net/socket.c:1943 [inline]
__se_sys_connect net/socket.c:1940 [inline]
__arm64_sys_connect+0x7c/0x94 net/socket.c:1940
__invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52
el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181
el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608
el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626
el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
irq event stamp: 218
hardirqs last enabled at (217): [<ffff800008329e94>] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:257
hardirqs last disabled at (218): [<ffff80001197c860>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396
softirqs last enabled at (206): [<ffff800008020ccc>] softirq_handle_end kernel/softirq.c:401 [inline]
softirqs last enabled at (206): [<ffff800008020ccc>] __do_softirq+0xb5c/0xdb0 kernel/softirq.c:587
softirqs last disabled at (77): [<ffff8000081b5568>] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline]
softirqs last disabled at (77): [<ffff8000081b5568>] invoke_softirq kernel/softirq.c:439 [inline]
softirqs last disabled at (77): [<ffff8000081b5568>] __irq_exit_rcu+0x264/0x4d4 kernel/softirq.c:637
---[ end trace 86ad1b84a5c48e9e ]---
---
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
syzk...@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 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