syzbot


KMSAN: uninit-value in rtl8150_get_link_ksettings

Status: auto-obsoleted due to no activity on 2024/09/19 15:17
Subsystems: net usb
[Documentation on labels]
Reported-by: syzbot+2a7bab173edebd242de7@syzkaller.appspotmail.com
First crash: 198d, last: 198d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [net?] [usb?] KMSAN: uninit-value in rtl8150_get_link_ksettings 0 (1) 2024/06/15 15:27

Sample crash report:
=====================================================
BUG: KMSAN: uninit-value in rtl8150_get_link_ksettings+0x3d0/0x420 drivers/net/usb/rtl8150.c:794
 rtl8150_get_link_ksettings+0x3d0/0x420 drivers/net/usb/rtl8150.c:794
 __ethtool_get_link_ksettings+0x17d/0x270 net/ethtool/ioctl.c:445
 linkinfo_prepare_data+0xe2/0x290 net/ethtool/linkinfo.c:37
 ethnl_default_dump_one net/ethtool/netlink.c:460 [inline]
 ethnl_default_dumpit+0x458/0xd80 net/ethtool/netlink.c:494
 genl_dumpit+0x19d/0x290 net/netlink/genetlink.c:1025
 netlink_dump+0xa05/0x15b0 net/netlink/af_netlink.c:2269
 __netlink_dump_start+0xb3a/0xce0 net/netlink/af_netlink.c:2386
 genl_family_rcv_msg_dumpit net/netlink/genetlink.c:1074 [inline]
 genl_family_rcv_msg net/netlink/genetlink.c:1190 [inline]
 genl_rcv_msg+0x106d/0x12c0 net/netlink/genetlink.c:1208
 netlink_rcv_skb+0x375/0x650 net/netlink/af_netlink.c:2559
 genl_rcv+0x40/0x60 net/netlink/genetlink.c:1217
 netlink_unicast_kernel net/netlink/af_netlink.c:1335 [inline]
 netlink_unicast+0xf4c/0x1260 net/netlink/af_netlink.c:1361
 netlink_sendmsg+0x10df/0x11f0 net/netlink/af_netlink.c:1905
 sock_sendmsg_nosec net/socket.c:730 [inline]
 __sock_sendmsg+0x30f/0x380 net/socket.c:745
 ____sys_sendmsg+0x877/0xb60 net/socket.c:2584
 ___sys_sendmsg+0x28d/0x3c0 net/socket.c:2638
 __sys_sendmsg+0x225/0x3c0 net/socket.c:2667
 __compat_sys_sendmsg net/compat.c:346 [inline]
 __do_compat_sys_sendmsg net/compat.c:353 [inline]
 __se_compat_sys_sendmsg net/compat.c:350 [inline]
 __ia32_compat_sys_sendmsg+0x9d/0xe0 net/compat.c:350
 ia32_sys_call+0x209f/0x40a0 arch/x86/include/generated/asm/syscalls_32.h:371
 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline]
 __do_fast_syscall_32+0xb4/0x120 arch/x86/entry/common.c:386
 do_fast_syscall_32+0x38/0x80 arch/x86/entry/common.c:411
 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:449
 entry_SYSENTER_compat_after_hwframe+0x84/0x8e

Local variable bmcr created at:
 rtl8150_get_link_ksettings+0x52/0x420
 __ethtool_get_link_ksettings+0x17d/0x270 net/ethtool/ioctl.c:445

CPU: 1 PID: 18500 Comm: syz-executor.1 Not tainted 6.9.0-syzkaller-02339-g101b7a97143a #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
=====================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/11 15:16 upstream 101b7a97143a c7d7d815 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386-root KMSAN: uninit-value in rtl8150_get_link_ksettings
* Struck through repros no longer work on HEAD.