===================================================== BUG: KMSAN: uninit-value in __preempt_count_add arch/x86/include/asm/preempt.h:80 [inline] BUG: KMSAN: uninit-value in preempt_count_add+0x1b8/0x320 kernel/sched/core.c:5754 __preempt_count_add arch/x86/include/asm/preempt.h:80 [inline] preempt_count_add+0x1b8/0x320 kernel/sched/core.c:5754 sysvec_reschedule_ipi+0x20/0x120 arch/x86/kernel/smp.c:225 asm_sysvec_reschedule_ipi+0x1f/0x30 arch/x86/include/asm/idtentry.h:654 page_has_metadata mm/kmsan/shadow.c:38 [inline] kmsan_get_metadata+0x245/0x2c0 mm/kmsan/shadow.c:146 kmsan_get_shadow_origin_ptr+0x38/0xa0 mm/kmsan/shadow.c:97 get_shadow_origin_ptr mm/kmsan/instrumentation.c:36 [inline] __msan_metadata_ptr_for_load_4+0x24/0x40 mm/kmsan/instrumentation.c:91 ip_fast_csum+0x2ce/0x5f0 lib/checksum.c:108 nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:774 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:808 [inline] nsim_dev_trap_report_work+0x920/0x11f0 drivers/net/netdevsim/dev.c:853 process_one_work+0xe73/0x18d0 kernel/workqueue.c:2289 worker_thread+0x10fc/0x2230 kernel/workqueue.c:2436 kthread+0x3c7/0x500 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Uninit was created at: slab_post_alloc_hook+0x271/0xf70 mm/slab.h:766 slab_alloc_node mm/slub.c:3452 [inline] __kmem_cache_alloc_node+0x68c/0xac0 mm/slub.c:3491 __do_kmalloc_node mm/slab_common.c:967 [inline] __kmalloc_node_track_caller+0x3df/0x710 mm/slab_common.c:988 kmalloc_reserve net/core/skbuff.c:492 [inline] __alloc_skb+0x56e/0xad0 net/core/skbuff.c:565 alloc_skb include/linux/skbuff.h:1270 [inline] nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:751 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:808 [inline] nsim_dev_trap_report_work+0x420/0x11f0 drivers/net/netdevsim/dev.c:853 process_one_work+0xe73/0x18d0 kernel/workqueue.c:2289 worker_thread+0x10fc/0x2230 kernel/workqueue.c:2436 kthread+0x3c7/0x500 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 CPU: 1 PID: 5088 Comm: kworker/1:6 Not tainted 6.2.0-rc8-syzkaller-80998-g9c866a280876 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 Workqueue: events nsim_dev_trap_report_work =====================================================