===================================================== BUG: KMSAN: uninit-value in bcm_tx_setup+0x1141/0x2ca0 net/can/bcm.c:932 bcm_tx_setup+0x1141/0x2ca0 net/can/bcm.c:932 bcm_sendmsg+0x8ee/0xe70 net/can/bcm.c:1334 sock_sendmsg_nosec net/socket.c:654 [inline] sock_sendmsg net/socket.c:674 [inline] ____sys_sendmsg+0xe11/0x12c0 net/socket.c:2337 ___sys_sendmsg net/socket.c:2391 [inline] __sys_sendmsg+0x704/0x840 net/socket.c:2420 __do_sys_sendmsg net/socket.c:2429 [inline] __se_sys_sendmsg net/socket.c:2427 [inline] __x64_sys_sendmsg+0xe2/0x120 net/socket.c:2427 do_syscall_64+0x55/0xc0 arch/x86/entry/common.c:49 entry_SYSCALL_64_after_hwframe+0x44/0xae Uninit was created at: slab_alloc_node mm/slub.c:2929 [inline] slab_alloc mm/slub.c:2938 [inline] __kmalloc+0x7c6/0x11d0 mm/slub.c:4069 kmalloc_array+0x95/0xf0 include/linux/slab.h:596 bcm_tx_setup+0x975/0x2ca0 net/can/bcm.c:913 bcm_sendmsg+0x8ee/0xe70 net/can/bcm.c:1334 sock_sendmsg_nosec net/socket.c:654 [inline] sock_sendmsg net/socket.c:674 [inline] ____sys_sendmsg+0xe11/0x12c0 net/socket.c:2337 ___sys_sendmsg net/socket.c:2391 [inline] __sys_sendmsg+0x704/0x840 net/socket.c:2420 __do_sys_sendmsg net/socket.c:2429 [inline] __se_sys_sendmsg net/socket.c:2427 [inline] __x64_sys_sendmsg+0xe2/0x120 net/socket.c:2427 do_syscall_64+0x55/0xc0 arch/x86/entry/common.c:49 entry_SYSCALL_64_after_hwframe+0x44/0xae ===================================================== Kernel panic - not syncing: panic_on_kmsan set ... CPU: 1 PID: 2736 Comm: syz-executor.4 Tainted: G B 5.13.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x25a/0x2f6 lib/dump_stack.c:120 panic+0x4c7/0xe98 kernel/panic.c:231 kmsan_report+0x2ee/0x300 mm/kmsan/report.c:186 __msan_warning+0xd7/0x150 mm/kmsan/instrumentation.c:208 bcm_tx_setup+0x1141/0x2ca0 net/can/bcm.c:932 bcm_sendmsg+0x8ee/0xe70 net/can/bcm.c:1334 sock_sendmsg_nosec net/socket.c:654 [inline] sock_sendmsg net/socket.c:674 [inline] ____sys_sendmsg+0xe11/0x12c0 net/socket.c:2337 ___sys_sendmsg net/socket.c:2391 [inline] __sys_sendmsg+0x704/0x840 net/socket.c:2420 __do_sys_sendmsg net/socket.c:2429 [inline] __se_sys_sendmsg net/socket.c:2427 [inline] __x64_sys_sendmsg+0xe2/0x120 net/socket.c:2427 do_syscall_64+0x55/0xc0 arch/x86/entry/common.c:49 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fc9abfbf709 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc9a9536188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fc9ac0c3f60 RCX: 00007fc9abfbf709 RDX: 0000000000000000 RSI: 0000000020000680 RDI: 0000000000000005 RBP: 00007fc9ac019cb4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fc9ac5f7b2f R14: 00007fc9a9536300 R15: 0000000000022000 Kernel Offset: disabled Rebooting in 86400 seconds..