===================================================== BUG: KMSAN: uninit-value in receive_mergeable drivers/net/virtio_net.c:1839 [inline] BUG: KMSAN: uninit-value in receive_buf+0x25e3/0x5fd0 drivers/net/virtio_net.c:1955 receive_mergeable drivers/net/virtio_net.c:1839 [inline] receive_buf+0x25e3/0x5fd0 drivers/net/virtio_net.c:1955 virtnet_receive drivers/net/virtio_net.c:2259 [inline] virtnet_poll+0xd1c/0x23c0 drivers/net/virtio_net.c:2362 __napi_poll+0xe7/0x980 net/core/dev.c:6721 napi_poll net/core/dev.c:6790 [inline] net_rx_action+0x82a/0x1850 net/core/dev.c:6906 handle_softirqs+0x1d8/0x810 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 __preempt_count_dec_and_test arch/x86/include/asm/preempt.h:94 [inline] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock_irqrestore+0x33/0x60 kernel/locking/spinlock.c:194 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] rmqueue_bulk mm/page_alloc.c:2238 [inline] __rmqueue_pcplist+0x6c82/0x7650 mm/page_alloc.c:2911 rmqueue_pcplist+0x179/0x5e0 mm/page_alloc.c:2953 rmqueue+0x55/0x1940 mm/page_alloc.c:2990 get_page_from_freelist+0xe6d/0x15f0 mm/page_alloc.c:3399 __alloc_pages_noprof+0x8a7/0xe70 mm/page_alloc.c:4660 alloc_pages_mpol_noprof+0x299/0x990 mm/mempolicy.c:2265 alloc_pages_noprof mm/mempolicy.c:2336 [inline] folio_alloc_noprof+0x1db/0x310 mm/mempolicy.c:2343 filemap_alloc_folio_noprof+0xa6/0x440 mm/filemap.c:1008 page_cache_ra_unbounded+0x2da/0x9f0 mm/readahead.c:248 do_page_cache_ra mm/readahead.c:303 [inline] page_cache_ra_order+0xf1d/0xfd0 mm/readahead.c:547 ondemand_readahead+0x157d/0x1750 mm/readahead.c:669 page_cache_async_ra+0x178/0x190 mm/readahead.c:718 filemap_readahead mm/filemap.c:2504 [inline] filemap_get_pages+0x8d6/0x2be0 mm/filemap.c:2545 filemap_read+0x5cd/0x1500 mm/filemap.c:2625 generic_file_read_iter+0x136/0xae0 mm/filemap.c:2806 ext4_file_read_iter+0x8ab/0xad0 __kernel_read+0x728/0xd00 fs/read_write.c:434 integrity_kernel_read+0x77/0x90 security/integrity/iint.c:28 ima_calc_file_hash_tfm security/integrity/ima/ima_crypto.c:480 [inline] ima_calc_file_shash security/integrity/ima/ima_crypto.c:511 [inline] ima_calc_file_hash+0x1748/0x3cd0 security/integrity/ima/ima_crypto.c:568 ima_collect_measurement+0x473/0xd30 security/integrity/ima/ima_api.c:293 process_measurement+0x295d/0x3f50 security/integrity/ima/ima_main.c:372 ima_bprm_check+0xdc/0x2a0 security/integrity/ima/ima_main.c:547 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+0x1612/0x3b50 arch/x86/include/generated/asm/syscalls_64.h:60 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/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:4683 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:2110 [inline] try_fill_recv+0x3f0/0x2f50 drivers/net/virtio_net.c:2155 virtnet_open+0x1cc/0xb00 drivers/net/virtio_net.c:2434 __dev_open+0x546/0x6f0 net/core/dev.c:1472 __dev_change_flags+0x309/0x9a0 net/core/dev.c:8780 dev_change_flags+0x8e/0x1d0 net/core/dev.c:8852 devinet_ioctl+0x13ec/0x22c0 net/ipv4/devinet.c:1177 inet_ioctl+0x4bd/0x6d0 net/ipv4/af_inet.c:1001 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+0x1883/0x3b50 arch/x86/include/generated/asm/syscalls_64.h:17 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x1e0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f CPU: 0 PID: 4782 Comm: S50sshd Not tainted 6.9.0-syzkaller-09480-ga90f1cd105c6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 =====================================================