===================================================== BUG: KMSAN: uninit-value in crc32_body lib/crc32.c:112 [inline] BUG: KMSAN: uninit-value in crc32_le_generic lib/crc32.c:179 [inline] BUG: KMSAN: uninit-value in __crc32c_le_base+0x4fa/0xd30 lib/crc32.c:202 CPU: 1 PID: 5319 Comm: udevd Not tainted 5.5.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1c9/0x220 lib/dump_stack.c:118 kmsan_report+0xf8/0x1e0 mm/kmsan/kmsan_report.c:118 __msan_warning+0x58/0xa0 mm/kmsan/kmsan_instr.c:215 crc32_body lib/crc32.c:112 [inline] crc32_le_generic lib/crc32.c:179 [inline] __crc32c_le_base+0x4fa/0xd30 lib/crc32.c:202 chksum_update+0xb2/0x110 crypto/crc32c_generic.c:90 crypto_shash_update+0x4ed/0x550 crypto/shash.c:107 crc32c+0x150/0x220 lib/libcrc32c.c:47 sctp_csum_update+0x89/0xa0 include/net/sctp/checksum.h:36 __skb_checksum+0x12f7/0x1300 net/core/skbuff.c:2640 sctp_compute_cksum include/net/sctp/checksum.h:59 [inline] sctp_packet_pack net/sctp/output.c:528 [inline] sctp_packet_transmit+0x422d/0x4380 net/sctp/output.c:597 sctp_outq_flush_transports net/sctp/outqueue.c:1146 [inline] sctp_outq_flush+0x1823/0x5d80 net/sctp/outqueue.c:1194 sctp_outq_uncork+0xd0/0xf0 net/sctp/outqueue.c:757 sctp_cmd_interpreter net/sctp/sm_sideeffect.c:1786 [inline] sctp_side_effects net/sctp/sm_sideeffect.c:1189 [inline] sctp_do_sm+0x9105/0x9760 net/sctp/sm_sideeffect.c:1160 sctp_generate_heartbeat_event+0x3c6/0x5a0 net/sctp/sm_sideeffect.c:391 call_timer_fn+0x232/0x530 kernel/time/timer.c:1404 expire_timers kernel/time/timer.c:1449 [inline] __run_timers+0xd60/0x1270 kernel/time/timer.c:1773 run_timer_softirq+0x2d/0x50 kernel/time/timer.c:1786 __do_softirq+0x4a1/0x83a kernel/softirq.c:293 invoke_softirq kernel/softirq.c:375 [inline] irq_exit+0x230/0x280 kernel/softirq.c:416 exiting_irq+0xe/0x10 arch/x86/include/asm/apic.h:536 smp_apic_timer_interrupt+0x48/0x70 arch/x86/kernel/apic/apic.c:1140 apic_timer_interrupt+0x2e/0x40 arch/x86/entry/entry_64.S:834 RIP: 0010:__msan_chain_origin+0x70/0x90 mm/kmsan/kmsan_instr.c:168 Code: 7d 35 44 89 f7 e8 a0 f4 ff ff be ff ff ff ff 65 0f c1 35 c3 cd 57 5d ff ce 75 1e 89 c3 e8 b8 98 32 ff 4c 89 7d e0 ff 75 e0 9d <89> d8 48 83 c4 10 5b 41 5e 41 5f 5d c3 0f 0b 48 c7 c7 af 16 e7 af RSP: 0018:ffff8f46c28ef850 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: 00000000152900b9 RBX: 00000000152900b9 RCX: 0000000007ab0004 RDX: 0000000000000a20 RSI: 0000000000000000 RDI: 00000000052900b9 RBP: ffff8f46c28ef878 R08: 0000000000000003 R09: ffff8f46c28ef5fc R10: 0000000000000003 R11: ffffffffa2263cc0 R12: ffff8f46c28efb60 R13: ffff8f46c28efb58 R14: 0000000007ab0004 R15: 0000000000000246 step_into+0x70c/0x1b80 fs/namei.c:1770 walk_component+0x1ca/0x950 fs/namei.c:1816 lookup_last fs/namei.c:2260 [inline] path_lookupat+0x28f/0x1130 fs/namei.c:2305 filename_lookup+0x328/0xbb0 fs/namei.c:2335 user_path_at_empty+0x123/0x140 fs/namei.c:2615 user_path_at include/linux/namei.h:49 [inline] vfs_statx+0x1f0/0x4d0 fs/stat.c:187 vfs_stat include/linux/fs.h:3249 [inline] __do_sys_newstat fs/stat.c:341 [inline] __se_sys_newstat+0xce/0x8f0 fs/stat.c:337 __x64_sys_newstat+0x3e/0x60 fs/stat.c:337 do_syscall_64+0xb6/0x160 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f8b3d639c65 Code: 00 00 00 e8 5d 01 00 00 48 83 c4 18 c3 90 90 90 90 90 90 90 90 83 ff 01 48 89 f0 77 18 48 89 c7 48 89 d6 b8 04 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 17 f3 c3 90 48 8b 05 a1 51 2b 00 64 c7 00 16 RSP: 002b:00007ffeb593e208 EFLAGS: 00000246 ORIG_RAX: 0000000000000004 RAX: ffffffffffffffda RBX: 0000000000db1250 RCX: 00007f8b3d639c65 RDX: 00007ffeb593e220 RSI: 00007ffeb593e220 RDI: 00007ffeb593e6b0 RBP: 00007ffeb593eb10 R08: 000000000041f4f1 R09: 00007f8b3d6907d0 R10: 7269762f73656369 R11: 0000000000000246 R12: 0000000000000004 R13: 00007ffeb593eb17 R14: 0000000000dc2720 R15: 0000000000db1250 Uninit was stored to memory at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:144 [inline] kmsan_internal_chain_origin+0xc5/0x140 mm/kmsan/kmsan.c:310 kmsan_memcpy_memmove_metadata+0x25c/0x2e0 mm/kmsan/kmsan.c:247 kmsan_memcpy_metadata+0xb/0x10 mm/kmsan/kmsan.c:267 __msan_memcpy+0x44/0x50 mm/kmsan/kmsan_instr.c:116 skb_put_data include/linux/skbuff.h:2235 [inline] sctp_packet_pack net/sctp/output.c:470 [inline] sctp_packet_transmit+0x1dd1/0x4380 net/sctp/output.c:597 sctp_outq_flush_transports net/sctp/outqueue.c:1146 [inline] sctp_outq_flush+0x1823/0x5d80 net/sctp/outqueue.c:1194 sctp_outq_uncork+0xd0/0xf0 net/sctp/outqueue.c:757 sctp_cmd_interpreter net/sctp/sm_sideeffect.c:1786 [inline] sctp_side_effects net/sctp/sm_sideeffect.c:1189 [inline] sctp_do_sm+0x9105/0x9760 net/sctp/sm_sideeffect.c:1160 sctp_generate_heartbeat_event+0x3c6/0x5a0 net/sctp/sm_sideeffect.c:391 call_timer_fn+0x232/0x530 kernel/time/timer.c:1404 expire_timers kernel/time/timer.c:1449 [inline] __run_timers+0xd60/0x1270 kernel/time/timer.c:1773 run_timer_softirq+0x2d/0x50 kernel/time/timer.c:1786 __do_softirq+0x4a1/0x83a kernel/softirq.c:293 Uninit was stored to memory at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:144 [inline] kmsan_internal_chain_origin+0xc5/0x140 mm/kmsan/kmsan.c:310 kmsan_memcpy_memmove_metadata+0x25c/0x2e0 mm/kmsan/kmsan.c:247 kmsan_memcpy_metadata+0xb/0x10 mm/kmsan/kmsan.c:267 __msan_memcpy+0x44/0x50 mm/kmsan/kmsan_instr.c:116 skb_put_data include/linux/skbuff.h:2235 [inline] sctp_addto_chunk+0x21c/0x430 net/sctp/sm_make_chunk.c:1494 sctp_make_heartbeat+0x4eb/0x700 net/sctp/sm_make_chunk.c:1164 sctp_sf_heartbeat net/sctp/sm_statefuns.c:990 [inline] sctp_sf_sendbeat_8_3+0x18d/0xb10 net/sctp/sm_statefuns.c:1034 sctp_do_sm+0x2b4/0x9760 net/sctp/sm_sideeffect.c:1157 sctp_generate_heartbeat_event+0x3c6/0x5a0 net/sctp/sm_sideeffect.c:391 call_timer_fn+0x232/0x530 kernel/time/timer.c:1404 expire_timers kernel/time/timer.c:1449 [inline] __run_timers+0xd60/0x1270 kernel/time/timer.c:1773 run_timer_softirq+0x2d/0x50 kernel/time/timer.c:1786 __do_softirq+0x4a1/0x83a kernel/softirq.c:293 Uninit was stored to memory at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:144 [inline] kmsan_internal_chain_origin+0xc5/0x140 mm/kmsan/kmsan.c:310 kmsan_memcpy_memmove_metadata+0x25c/0x2e0 mm/kmsan/kmsan.c:247 kmsan_memcpy_metadata+0xb/0x10 mm/kmsan/kmsan.c:267 __msan_memcpy+0x44/0x50 mm/kmsan/kmsan_instr.c:116 sctp_make_heartbeat+0x3f7/0x700 net/sctp/sm_make_chunk.c:1156 sctp_sf_heartbeat net/sctp/sm_statefuns.c:990 [inline] sctp_sf_sendbeat_8_3+0x18d/0xb10 net/sctp/sm_statefuns.c:1034 sctp_do_sm+0x2b4/0x9760 net/sctp/sm_sideeffect.c:1157 sctp_generate_heartbeat_event+0x3c6/0x5a0 net/sctp/sm_sideeffect.c:391 call_timer_fn+0x232/0x530 kernel/time/timer.c:1404 expire_timers kernel/time/timer.c:1449 [inline] __run_timers+0xd60/0x1270 kernel/time/timer.c:1773 run_timer_softirq+0x2d/0x50 kernel/time/timer.c:1786 __do_softirq+0x4a1/0x83a kernel/softirq.c:293 Uninit was stored to memory at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:144 [inline] kmsan_internal_chain_origin+0xc5/0x140 mm/kmsan/kmsan.c:310 kmsan_memcpy_memmove_metadata+0x25c/0x2e0 mm/kmsan/kmsan.c:247 kmsan_memcpy_metadata+0xb/0x10 mm/kmsan/kmsan.c:267 __msan_memcpy+0x44/0x50 mm/kmsan/kmsan_instr.c:116 sctp_transport_init net/sctp/transport.c:47 [inline] sctp_transport_new+0x248/0xa20 net/sctp/transport.c:100 sctp_assoc_add_peer+0x5ba/0x2120 net/sctp/associola.c:617 sctp_process_param net/sctp/sm_make_chunk.c:2524 [inline] sctp_process_init+0x162b/0x3e30 net/sctp/sm_make_chunk.c:2345 sctp_sf_do_5_1D_ce+0xe0f/0x30d0 net/sctp/sm_statefuns.c:767 sctp_do_sm+0x2b4/0x9760 net/sctp/sm_sideeffect.c:1157 sctp_endpoint_bh_rcv+0xd99/0x1040 net/sctp/endpointola.c:395 sctp_inq_push+0x300/0x420 net/sctp/inqueue.c:80 sctp_rcv+0x4ba4/0x54b0 net/sctp/input.c:256 ip_protocol_deliver_rcu+0x70f/0xbd0 net/ipv4/ip_input.c:204 ip_local_deliver_finish net/ipv4/ip_input.c:231 [inline] NF_HOOK include/linux/netfilter.h:307 [inline] ip_local_deliver+0x62a/0x7c0 net/ipv4/ip_input.c:252 dst_input include/net/dst.h:442 [inline] ip_rcv_finish net/ipv4/ip_input.c:428 [inline] NF_HOOK include/linux/netfilter.h:307 [inline] ip_rcv+0x6cf/0x750 net/ipv4/ip_input.c:538 __netif_receive_skb_one_core net/core/dev.c:5150 [inline] __netif_receive_skb net/core/dev.c:5264 [inline] process_backlog+0xece/0x13c0 net/core/dev.c:6095 napi_poll net/core/dev.c:6532 [inline] net_rx_action+0x7a6/0x1aa0 net/core/dev.c:6600 __do_softirq+0x4a1/0x83a kernel/softirq.c:293 Local variable ----addr.i@sctp_process_init created at: sctp_process_param net/sctp/sm_make_chunk.c:2495 [inline] sctp_process_init+0x603/0x3e30 net/sctp/sm_make_chunk.c:2345 sctp_process_param net/sctp/sm_make_chunk.c:2495 [inline] sctp_process_init+0x603/0x3e30 net/sctp/sm_make_chunk.c:2345 =====================================================