===================================================== BUG: KMSAN: uninit-value in receive_mergeable drivers/net/virtio_net.c:1847 [inline] BUG: KMSAN: uninit-value in receive_buf+0x2620/0x6070 drivers/net/virtio_net.c:1973 receive_mergeable drivers/net/virtio_net.c:1847 [inline] receive_buf+0x2620/0x6070 drivers/net/virtio_net.c:1973 virtnet_receive drivers/net/virtio_net.c:2277 [inline] virtnet_poll+0xd1c/0x23c0 drivers/net/virtio_net.c:2380 __napi_poll+0xe7/0x980 net/core/dev.c:6722 napi_poll net/core/dev.c:6791 [inline] net_rx_action+0x82a/0x1850 net/core/dev.c:6907 handle_softirqs+0x1ce/0x800 kernel/softirq.c:554 __do_softirq kernel/softirq.c:588 [inline] invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu+0x68/0x120 kernel/softirq.c:637 irq_exit_rcu+0x12/0x20 kernel/softirq.c:649 common_interrupt+0x94/0xa0 arch/x86/kernel/irq.c:278 asm_common_interrupt+0x2b/0x40 arch/x86/include/asm/idtentry.h:693 kmsan_get_shadow_origin_ptr+0x31/0xb0 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 stack_trace_consume_entry+0x8c/0x1e0 kernel/stacktrace.c:89 arch_stack_walk+0x1ca/0x2d0 arch/x86/kernel/stacktrace.c:27 stack_trace_save+0xaa/0xe0 kernel/stacktrace.c:122 kmsan_save_stack_with_flags mm/kmsan/core.c:74 [inline] kmsan_internal_poison_memory+0x49/0x90 mm/kmsan/core.c:58 kmsan_slab_free+0xd6/0x140 mm/kmsan/hooks.c:89 slab_free_hook mm/slub.c:2158 [inline] slab_free mm/slub.c:4437 [inline] kfree+0x23a/0xb70 mm/slub.c:4558 tomoyo_realpath_from_path+0x9fe/0xaa0 security/tomoyo/realpath.c:286 tomoyo_scan_exec_realpath security/tomoyo/condition.c:243 [inline] tomoyo_condition+0x1ceb/0x4cb0 security/tomoyo/condition.c:827 tomoyo_check_acl+0x279/0x5c0 security/tomoyo/domain.c:177 tomoyo_execute_permission+0x12f/0x470 security/tomoyo/file.c:615 tomoyo_find_next_domain+0x54f/0x37d0 security/tomoyo/domain.c:752 tomoyo_bprm_check_security+0x17f/0x270 security/tomoyo/tomoyo.c:102 security_bprm_check+0x96/0x150 security/security.c:1191 search_binary_handler fs/exec.c:1785 [inline] exec_binprm fs/exec.c:1839 [inline] bprm_execve+0xaf4/0x21c0 fs/exec.c:1891 do_execveat_common+0xceb/0xd70 fs/exec.c:1998 do_execve fs/exec.c:2072 [inline] __do_sys_execve fs/exec.c:2148 [inline] __se_sys_execve fs/exec.c:2143 [inline] __x64_sys_execve+0xf4/0x130 fs/exec.c:2143 x64_sys_call+0x164f/0x3b90 arch/x86/include/generated/asm/syscalls_64.h:60 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1e0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f Uninit was created at: __alloc_pages_noprof+0x9d6/0xe70 mm/page_alloc.c:4701 alloc_pages_mpol_noprof+0x299/0x990 mm/mempolicy.c:2265 alloc_pages_noprof+0x1bf/0x1e0 mm/mempolicy.c:2336 skb_page_frag_refill+0x2bf/0x7c0 net/core/sock.c:2920 virtnet_rq_alloc+0x43/0xbb0 drivers/net/virtio_net.c:882 add_recvbuf_mergeable drivers/net/virtio_net.c:2128 [inline] try_fill_recv+0x3f0/0x2f50 drivers/net/virtio_net.c:2173 virtnet_open+0x1cc/0xb00 drivers/net/virtio_net.c:2452 __dev_open+0x546/0x6f0 net/core/dev.c:1472 __dev_change_flags+0x309/0x9a0 net/core/dev.c:8781 dev_change_flags+0x8e/0x1d0 net/core/dev.c:8853 devinet_ioctl+0x13ec/0x22c0 net/ipv4/devinet.c:1177 inet_ioctl+0x4bd/0x6d0 net/ipv4/af_inet.c:1003 sock_do_ioctl+0xb7/0x540 net/socket.c:1222 sock_ioctl+0x727/0xd70 net/socket.c:1341 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl+0x261/0x450 fs/ioctl.c:893 __x64_sys_ioctl+0x96/0xe0 fs/ioctl.c:893 x64_sys_call+0x18c0/0x3b90 arch/x86/include/generated/asm/syscalls_64.h:17 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1e0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f CPU: 0 PID: 4805 Comm: dhcpcd-run-hook Not tainted 6.10.0-rc4-syzkaller-00179-g4545981f33be #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 =====================================================