===================================================== BUG: KMSAN: kernel-infoleak in instrument_copy_to_user include/linux/instrumented.h:121 [inline] BUG: KMSAN: kernel-infoleak in copyout lib/iov_iter.c:169 [inline] BUG: KMSAN: kernel-infoleak in _copy_to_iter+0x870/0x1fd0 lib/iov_iter.c:523 instrument_copy_to_user include/linux/instrumented.h:121 [inline] copyout lib/iov_iter.c:169 [inline] _copy_to_iter+0x870/0x1fd0 lib/iov_iter.c:523 copy_to_iter include/linux/uio.h:181 [inline] simple_copy_to_iter+0x68/0xa0 net/core/datagram.c:513 __skb_datagram_iter+0x123/0xdc0 net/core/datagram.c:419 skb_copy_datagram_iter+0x5c/0x200 net/core/datagram.c:527 skb_copy_datagram_msg include/linux/skbuff.h:3934 [inline] netlink_recvmsg+0x4f4/0x15f0 net/netlink/af_netlink.c:1999 sock_recvmsg_nosec net/socket.c:1017 [inline] sock_recvmsg net/socket.c:1038 [inline] sock_read_iter+0x48e/0x5d0 net/socket.c:1116 call_read_iter include/linux/fs.h:1845 [inline] new_sync_read fs/read_write.c:389 [inline] vfs_read+0x8cd/0xf40 fs/read_write.c:470 ksys_read+0x21f/0x4f0 fs/read_write.c:613 __do_sys_read fs/read_write.c:623 [inline] __se_sys_read fs/read_write.c:621 [inline] __ia32_sys_read+0x91/0xd0 fs/read_write.c:621 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+0x37/0x80 arch/x86/entry/common.c:203 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:246 entry_SYSENTER_compat_after_hwframe+0x70/0x82 Uninit was stored to memory at: pskb_expand_head+0x312/0x1a30 net/core/skbuff.c:2001 netlink_trim+0x2c0/0x330 net/netlink/af_netlink.c:1321 netlink_unicast+0xa9/0x1270 net/netlink/af_netlink.c:1355 nlmsg_unicast include/net/netlink.h:1100 [inline] nlmsg_notify+0x20c/0x2e0 net/netlink/af_netlink.c:2628 rtnetlink_send+0x73/0x90 net/core/rtnetlink.c:752 tcf_add_notify net/sched/act_api.c:1971 [inline] tcf_action_add net/sched/act_api.c:1993 [inline] tc_ctl_action+0x1285/0x18c0 net/sched/act_api.c:2044 rtnetlink_rcv_msg+0x16ca/0x1860 net/core/rtnetlink.c:6181 netlink_rcv_skb+0x3f8/0x750 net/netlink/af_netlink.c:2577 rtnetlink_rcv+0x34/0x40 net/core/rtnetlink.c:6199 netlink_unicast_kernel net/netlink/af_netlink.c:1339 [inline] netlink_unicast+0xf41/0x1270 net/netlink/af_netlink.c:1365 netlink_sendmsg+0x127d/0x1430 net/netlink/af_netlink.c:1942 sock_sendmsg_nosec net/socket.c:724 [inline] sock_sendmsg net/socket.c:747 [inline] ____sys_sendmsg+0xa24/0xe40 net/socket.c:2501 ___sys_sendmsg+0x2a1/0x3f0 net/socket.c:2555 __sys_sendmsg+0x25c/0x440 net/socket.c:2584 __compat_sys_sendmsg net/compat.c:345 [inline] __do_compat_sys_sendmsg net/compat.c:352 [inline] __se_compat_sys_sendmsg net/compat.c:349 [inline] __ia32_compat_sys_sendmsg+0x9d/0xe0 net/compat.c:349 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+0x37/0x80 arch/x86/entry/common.c:203 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:246 entry_SYSENTER_compat_after_hwframe+0x70/0x82 Uninit was stored to memory at: __nla_put lib/nlattr.c:1009 [inline] nla_put+0x1c6/0x230 lib/nlattr.c:1067 tcf_ife_dump+0x257/0x1170 net/sched/act_ife.c:660 tcf_action_dump_old net/sched/act_api.c:1159 [inline] tcf_action_dump_1+0x879/0x980 net/sched/act_api.c:1195 tcf_action_dump+0x1fd/0x460 net/sched/act_api.c:1220 tca_get_fill+0x515/0x7a0 net/sched/act_api.c:1600 tcf_add_notify net/sched/act_api.c:1964 [inline] tcf_action_add net/sched/act_api.c:1993 [inline] tc_ctl_action+0x11cc/0x18c0 net/sched/act_api.c:2044 rtnetlink_rcv_msg+0x16ca/0x1860 net/core/rtnetlink.c:6181 netlink_rcv_skb+0x3f8/0x750 net/netlink/af_netlink.c:2577 rtnetlink_rcv+0x34/0x40 net/core/rtnetlink.c:6199 netlink_unicast_kernel net/netlink/af_netlink.c:1339 [inline] netlink_unicast+0xf41/0x1270 net/netlink/af_netlink.c:1365 netlink_sendmsg+0x127d/0x1430 net/netlink/af_netlink.c:1942 sock_sendmsg_nosec net/socket.c:724 [inline] sock_sendmsg net/socket.c:747 [inline] ____sys_sendmsg+0xa24/0xe40 net/socket.c:2501 ___sys_sendmsg+0x2a1/0x3f0 net/socket.c:2555 __sys_sendmsg+0x25c/0x440 net/socket.c:2584 __compat_sys_sendmsg net/compat.c:345 [inline] __do_compat_sys_sendmsg net/compat.c:352 [inline] __se_compat_sys_sendmsg net/compat.c:349 [inline] __ia32_compat_sys_sendmsg+0x9d/0xe0 net/compat.c:349 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+0x37/0x80 arch/x86/entry/common.c:203 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:246 entry_SYSENTER_compat_after_hwframe+0x70/0x82 Local variable opt created at: tcf_ife_dump+0xcd/0x1170 net/sched/act_ife.c:647 tcf_action_dump_old net/sched/act_api.c:1159 [inline] tcf_action_dump_1+0x879/0x980 net/sched/act_api.c:1195 Bytes 158-159 of 223 are uninitialized Memory access of size 223 starts at ffff888050bd3b80 Data copied to user address 00000000200002c0 CPU: 0 PID: 17918 Comm: syz-executor.3 Not tainted 6.3.0-syzkaller-g81af97bdef5e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 =====================================================