================================================================== BUG: KMSAN: uninit-value in __list_add_valid+0x2a4/0x450 lib/list_debug.c:26 CPU: 1 PID: 26983 Comm: syz-executor4 Not tainted 4.17.0+ #9 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+0x185/0x1d0 lib/dump_stack.c:113 kmsan_report+0x188/0x2a0 mm/kmsan/kmsan.c:1125 __msan_warning_32+0x70/0xc0 mm/kmsan/kmsan_instr.c:620 __list_add_valid+0x2a4/0x450 lib/list_debug.c:26 __list_add include/linux/list.h:60 [inline] list_add_tail include/linux/list.h:93 [inline] cma_listen_on_all drivers/infiniband/core/cma.c:2301 [inline] rdma_listen+0x65f/0x10f0 drivers/infiniband/core/cma.c:3327 ucma_listen+0x4e9/0x630 drivers/infiniband/core/ucma.c:1096 ucma_write+0x57e/0x5f0 drivers/infiniband/core/ucma.c:1676 __vfs_write+0x1aa/0x9f0 fs/read_write.c:485 vfs_write+0x467/0x8c0 fs/read_write.c:549 ksys_write fs/read_write.c:598 [inline] __do_sys_write fs/read_write.c:610 [inline] __se_sys_write fs/read_write.c:607 [inline] __x64_sys_write+0x1bf/0x3e0 fs/read_write.c:607 do_syscall_64+0x15b/0x230 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x455b29 RSP: 002b:00007f2045f94c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f2045f956d4 RCX: 0000000000455b29 RDX: 0000000000000010 RSI: 00000000200000c0 RDI: 0000000000000013 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004c25fd R14: 00000000004d3c30 R15: 0000000000000000 Uninit was created at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:282 [inline] kmsan_internal_poison_shadow+0xb8/0x1b0 mm/kmsan/kmsan.c:192 kmsan_kmalloc+0x94/0x100 mm/kmsan/kmsan.c:318 kmsan_slab_alloc+0x10/0x20 mm/kmsan/kmsan.c:325 IPVS: ftp: loaded support on port[0] = 21 slab_post_alloc_hook mm/slab.h:446 [inline] slab_alloc_node mm/slub.c:2753 [inline] __kmalloc_node_track_caller+0xb35/0x11b0 mm/slub.c:4395 __kmalloc_reserve net/core/skbuff.c:138 [inline] __alloc_skb+0x2cb/0x9e0 net/core/skbuff.c:206 alloc_skb_fclone include/linux/skbuff.h:1030 [inline] sk_stream_alloc_skb+0x17c/0xcf0 net/ipv4/tcp.c:875 tso_fragment net/ipv4/tcp_output.c:1870 [inline] tcp_write_xmit+0x1a18/0xb200 net/ipv4/tcp_output.c:2364 tcp_send_loss_probe+0x77e/0xf10 net/ipv4/tcp_output.c:2485 tcp_write_timer_handler+0x726/0xef0 net/ipv4/tcp_timer.c:569 tcp_write_timer+0x12b/0x280 net/ipv4/tcp_timer.c:593 call_timer_fn+0x280/0x5d0 kernel/time/timer.c:1326 expire_timers kernel/time/timer.c:1363 [inline] __run_timers+0xd96/0x11b0 kernel/time/timer.c:1666 run_timer_softirq+0x43/0x70 kernel/time/timer.c:1692 __do_softirq+0x592/0x979 kernel/softirq.c:285 ==================================================================