syzbot


WARNING: proc registration bug in bcm_connect

Status: upstream: reported C repro on 2024/01/14 11:26
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+e810231fb4eca8a972fd@syzkaller.appspotmail.com
First crash: 131d, last: 42d
Fix bisection: failed (error log, bisect log)
  
Bug presence (1)
Date Name Commit Repro Result
2024/01/14 upstream (ToT) 052d534373b7 C [report] WARNING: proc registration bug in bcm_connect
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING: proc registration bug in bcm_connect fs C inconclusive 320 1d14h 164d 0/26 upstream: reported C repro on 2023/12/12 13:31
linux-6.1 WARNING: proc registration bug in bcm_connect origin:upstream C 28 28d 131d 0/3 upstream: reported C repro on 2024/01/14 11:26

Sample crash report:
__nla_validate_parse: 1 callbacks suppressed
netlink: 4 bytes leftover after parsing attributes in process `syz-executor312'.
------------[ cut here ]------------
proc_dir_entry 'can-bcm/24107' already registered
WARNING: CPU: 1 PID: 3993 at fs/proc/generic.c:377 proc_register+0x2e8/0x464 fs/proc/generic.c:378
Modules linked in:
CPU: 1 PID: 3993 Comm: syz-executor312 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 : ffff80001c6b7a20
x29: ffff80001c6b7a40 x28: dfff800000000000 x27: 0000000000000000
x26: 0000000000000005 x25: ffff0000dc32ebf8 x24: ffff0000d05b5c24
x23: ffff0000d05b5c18 x22: 1fffe0001a0b6b7a x21: ffff0000d05b5bd4
x20: ffff0000dc32ec24 x19: ffff0000d05b5b40 x18: 0000000000000002
x17: 0000000000000000 x16: ffff8000119811d4 x15: 00000000ffffffff
x14: ffff0000cafb1b40 x13: 0000000000000001 x12: 0000000000000001
x11: 0000000000000001 x10: 0000000000000000 x9 : 0a72980ad133ba00
x8 : 0a72980ad133ba00 x7 : 0000000000000001 x6 : 0000000000000001
x5 : ffff80001c6b7198 x4 : ffff8000149ff8e0 x3 : ffff80000854d024
x2 : 0000000000000001 x1 : 0000000100000001 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: 1894
hardirqs last  enabled at (1893): [<ffff800008329e94>] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:257
hardirqs last disabled at (1894): [<ffff80001197c860>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396
softirqs last  enabled at (1874): [<ffff80000fd41ca8>] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:31
softirqs last disabled at (1872): [<ffff80000fd41c74>] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:18
---[ end trace be941dfbbac08da2 ]---

Crashes (24):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/01/14 15:52 linux-5.15.y 26c690eff0a5 551587c1 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: proc registration bug in bcm_connect
2024/04/11 23:32 linux-5.15.y cdfd0a7f0139 95ed9ece .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: proc registration bug in bcm_connect
2024/04/01 18:44 linux-5.15.y 9465fef4ae35 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: proc registration bug in bcm_connect
2024/03/31 17:33 linux-5.15.y 9465fef4ae35 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: proc registration bug in bcm_connect
2024/04/12 07:29 linux-5.15.y cdfd0a7f0139 27de0a5c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: proc registration bug in bcm_connect
2024/04/12 06:39 linux-5.15.y cdfd0a7f0139 27de0a5c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: proc registration bug in bcm_connect
2024/04/12 06:10 linux-5.15.y cdfd0a7f0139 27de0a5c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: proc registration bug in bcm_connect
2024/04/12 06:10 linux-5.15.y cdfd0a7f0139 27de0a5c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: proc registration bug in bcm_connect
2024/04/12 06:10 linux-5.15.y cdfd0a7f0139 27de0a5c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: proc registration bug in bcm_connect
2024/04/12 00:01 linux-5.15.y cdfd0a7f0139 95ed9ece .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: proc registration bug in bcm_connect
2024/04/11 23:43 linux-5.15.y cdfd0a7f0139 95ed9ece .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: proc registration bug in bcm_connect
2024/04/06 14:02 linux-5.15.y 9465fef4ae35 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: proc registration bug in bcm_connect
2024/04/05 18:07 linux-5.15.y 9465fef4ae35 77230c29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: proc registration bug in bcm_connect
2024/04/02 18:46 linux-5.15.y 9465fef4ae35 eb2966c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: proc registration bug in bcm_connect
2024/04/02 16:59 linux-5.15.y 9465fef4ae35 eb2966c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: proc registration bug in bcm_connect
2024/04/01 22:07 linux-5.15.y 9465fef4ae35 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: proc registration bug in bcm_connect
2024/03/31 17:38 linux-5.15.y 9465fef4ae35 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: proc registration bug in bcm_connect
2024/03/30 21:31 linux-5.15.y 9465fef4ae35 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: proc registration bug in bcm_connect
2024/03/30 13:51 linux-5.15.y 9465fef4ae35 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: proc registration bug in bcm_connect
2024/01/18 02:05 linux-5.15.y ddcaf4999061 915053c7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: proc registration bug in bcm_connect
2024/01/17 13:02 linux-5.15.y ddcaf4999061 c9a1c95b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: proc registration bug in bcm_connect
2024/01/16 00:42 linux-5.15.y ddcaf4999061 2a7bcc7f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: proc registration bug in bcm_connect
2024/01/15 23:32 linux-5.15.y ddcaf4999061 2a7bcc7f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: proc registration bug in bcm_connect
2024/01/14 11:25 linux-5.15.y 26c690eff0a5 551587c1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: proc registration bug in bcm_connect
* Struck through repros no longer work on HEAD.