===================================================== BUG: KMSAN: uninit-value in ethnl_update_u32 net/ethtool/netlink.h:81 [inline] BUG: KMSAN: uninit-value in ethnl_update_linkmodes net/ethtool/linkmodes.c:300 [inline] BUG: KMSAN: uninit-value in ethnl_set_linkmodes+0x1469/0x2270 net/ethtool/linkmodes.c:349 ethnl_update_u32 net/ethtool/netlink.h:81 [inline] ethnl_update_linkmodes net/ethtool/linkmodes.c:300 [inline] ethnl_set_linkmodes+0x1469/0x2270 net/ethtool/linkmodes.c:349 genl_family_rcv_msg_doit net/netlink/genetlink.c:731 [inline] genl_family_rcv_msg net/netlink/genetlink.c:808 [inline] genl_rcv_msg+0x1d7b/0x1e40 net/netlink/genetlink.c:825 netlink_rcv_skb+0x3b5/0x6e0 net/netlink/af_netlink.c:2540 genl_rcv+0x3c/0x50 net/netlink/genetlink.c:836 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline] netlink_unicast+0xf3b/0x1270 net/netlink/af_netlink.c:1345 netlink_sendmsg+0x127d/0x1430 net/netlink/af_netlink.c:1921 sock_sendmsg_nosec net/socket.c:714 [inline] sock_sendmsg net/socket.c:734 [inline] ____sys_sendmsg+0xa8e/0xe70 net/socket.c:2482 ___sys_sendmsg+0x2a1/0x3f0 net/socket.c:2536 __sys_sendmsg+0x258/0x440 net/socket.c:2565 __compat_sys_sendmsg net/compat.c:344 [inline] __do_compat_sys_sendmsg net/compat.c:351 [inline] __se_compat_sys_sendmsg net/compat.c:348 [inline] __ia32_compat_sys_sendmsg+0x99/0xe0 net/compat.c:348 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0xa2/0x100 arch/x86/entry/common.c:178 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203 do_SYSENTER_32+0x1b/0x20 arch/x86/entry/common.c:246 entry_SYSENTER_compat_after_hwframe+0x70/0x82 Uninit was stored to memory at: tun_get_link_ksettings+0x33/0x60 drivers/net/tun.c:3529 __ethtool_get_link_ksettings+0x176/0x260 net/ethtool/ioctl.c:448 ethnl_set_linkmodes+0x57c/0x2270 net/ethtool/linkmodes.c:343 genl_family_rcv_msg_doit net/netlink/genetlink.c:731 [inline] genl_family_rcv_msg net/netlink/genetlink.c:808 [inline] genl_rcv_msg+0x1d7b/0x1e40 net/netlink/genetlink.c:825 netlink_rcv_skb+0x3b5/0x6e0 net/netlink/af_netlink.c:2540 genl_rcv+0x3c/0x50 net/netlink/genetlink.c:836 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline] netlink_unicast+0xf3b/0x1270 net/netlink/af_netlink.c:1345 netlink_sendmsg+0x127d/0x1430 net/netlink/af_netlink.c:1921 sock_sendmsg_nosec net/socket.c:714 [inline] sock_sendmsg net/socket.c:734 [inline] ____sys_sendmsg+0xa8e/0xe70 net/socket.c:2482 ___sys_sendmsg+0x2a1/0x3f0 net/socket.c:2536 __sys_sendmsg+0x258/0x440 net/socket.c:2565 __compat_sys_sendmsg net/compat.c:344 [inline] __do_compat_sys_sendmsg net/compat.c:351 [inline] __se_compat_sys_sendmsg net/compat.c:348 [inline] __ia32_compat_sys_sendmsg+0x99/0xe0 net/compat.c:348 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0xa2/0x100 arch/x86/entry/common.c:178 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203 do_SYSENTER_32+0x1b/0x20 arch/x86/entry/common.c:246 entry_SYSENTER_compat_after_hwframe+0x70/0x82 Uninit was stored to memory at: tun_set_link_ksettings+0x33/0x60 drivers/net/tun.c:3538 ethtool_set_link_ksettings+0x5fc/0x690 net/ethtool/ioctl.c:616 __dev_ethtool net/ethtool/ioctl.c:2985 [inline] dev_ethtool+0x1862/0x2600 net/ethtool/ioctl.c:3039 dev_ioctl+0x369/0x1020 net/core/dev_ioctl.c:524 compat_ifr_data_ioctl net/socket.c:3306 [inline] compat_sock_ioctl_trans net/socket.c:3334 [inline] compat_sock_ioctl+0xabc/0xf30 net/socket.c:3423 __do_compat_sys_ioctl fs/ioctl.c:968 [inline] __se_compat_sys_ioctl+0x781/0xfa0 fs/ioctl.c:910 __ia32_compat_sys_ioctl+0x8f/0xd0 fs/ioctl.c:910 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0xa2/0x100 arch/x86/entry/common.c:178 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203 do_SYSENTER_32+0x1b/0x20 arch/x86/entry/common.c:246 entry_SYSENTER_compat_after_hwframe+0x70/0x82 Local variable link_ksettings created at: ethtool_set_link_ksettings+0x54/0x690 net/ethtool/ioctl.c:584 __dev_ethtool net/ethtool/ioctl.c:2985 [inline] dev_ethtool+0x1862/0x2600 net/ethtool/ioctl.c:3039 CPU: 1 PID: 19554 Comm: syz-executor.0 Not tainted 6.1.0-rc2-syzkaller-61955-g4a3e741a3d6a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 =====================================================