===================================================== BUG: KMSAN: use-after-free in __list_add_valid+0x280/0x420 lib/list_debug.c:26 CPU: 0 PID: 11575 Comm: syz-executor.0 Not tainted 5.6.0-rc2-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+0xf7/0x1e0 mm/kmsan/kmsan_report.c:118 __msan_warning+0x58/0xa0 mm/kmsan/kmsan_instr.c:215 __list_add_valid+0x280/0x420 lib/list_debug.c:26 __list_add include/linux/list.h:67 [inline] list_add_tail include/linux/list.h:100 [inline] cma_listen_on_all drivers/infiniband/core/cma.c:2512 [inline] rdma_listen+0x623/0x10b0 drivers/infiniband/core/cma.c:3622 ucma_listen+0x36c/0x5e0 drivers/infiniband/core/ucma.c:1092 ucma_write+0x5c5/0x630 drivers/infiniband/core/ucma.c:1684 __vfs_write+0x1a9/0xca0 fs/read_write.c:494 vfs_write+0x44a/0x8f0 fs/read_write.c:558 ksys_write+0x267/0x450 fs/read_write.c:611 __do_sys_write fs/read_write.c:623 [inline] __se_sys_write fs/read_write.c:620 [inline] __ia32_sys_write+0xdb/0x120 fs/read_write.c:620 do_syscall_32_irqs_on arch/x86/entry/common.c:339 [inline] do_fast_syscall_32+0x3c7/0x6e0 arch/x86/entry/common.c:410 entry_SYSENTER_compat+0x68/0x77 arch/x86/entry/entry_64_compat.S:139 RIP: 0023:0xf7f95d99 Code: 90 e8 0b 00 00 00 f3 90 0f ae e8 eb f9 8d 74 26 00 89 3c 24 c3 90 90 90 90 90 90 90 90 90 90 90 90 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 eb 0d 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 002b:00000000f7f6f0cc EFLAGS: 00000296 ORIG_RAX: 0000000000000004 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000020000140 RDX: 0000000000000010 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Uninit was created at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:144 [inline] kmsan_internal_poison_shadow+0x66/0xd0 mm/kmsan/kmsan.c:127 kmsan_slab_free+0x6e/0xb0 mm/kmsan/kmsan_hooks.c:107 slab_free_freelist_hook mm/slub.c:1477 [inline] slab_free mm/slub.c:3040 [inline] kfree+0x565/0x30a0 mm/slub.c:3993 skb_free_head net/core/skbuff.c:592 [inline] skb_release_data+0x7ea/0xa10 net/core/skbuff.c:612 skb_release_all net/core/skbuff.c:666 [inline] __kfree_skb+0x90/0x240 net/core/skbuff.c:680 kfree_skb+0x2b9/0x320 net/core/skbuff.c:698 __netif_receive_skb_core+0x50b4/0x5840 net/core/dev.c:5179 __netif_receive_skb_one_core net/core/dev.c:5196 [inline] __netif_receive_skb net/core/dev.c:5312 [inline] process_backlog+0x936/0x1410 net/core/dev.c:6144 napi_poll net/core/dev.c:6582 [inline] net_rx_action+0x786/0x1aa0 net/core/dev.c:6650 __do_softirq+0x311/0x83d kernel/softirq.c:293 =====================================================