bisecting cause commit starting from 1ece2fbe9b427d379455f18a874bcd3ab86a2419 building syzkaller on ddc3e85997efdad885e208db6a98bca86e5dd52f testing commit 1ece2fbe9b427d379455f18a874bcd3ab86a2419 with gcc (GCC) 8.1.0 kernel signature: b09daa70751e4dee3d473be5a04bdb27362feabd all runs: crashed: WARNING in set_precision testing release v5.4 testing commit 219d54332a09e8d8741c1e1982f5eae56099de85 with gcc (GCC) 8.1.0 kernel signature: 97b6da08c19719ab919a599cedd1430ea730a939 all runs: OK # git bisect start 1ece2fbe9b427d379455f18a874bcd3ab86a2419 219d54332a09e8d8741c1e1982f5eae56099de85 Bisecting: 8455 revisions left to test after this (roughly 13 steps) [8c39f71ee2019e77ee14f88b1321b2348db51820] Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net testing commit 8c39f71ee2019e77ee14f88b1321b2348db51820 with gcc (GCC) 8.1.0 kernel signature: 6e384c37e26ef12a128ccb32611ef845a5e30232 all runs: OK # git bisect good 8c39f71ee2019e77ee14f88b1321b2348db51820 Bisecting: 4219 revisions left to test after this (roughly 12 steps) [97eeb4d9d755605385fa329da9afa38729f3413c] Merge tag 'xfs-5.5-merge-16' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux testing commit 97eeb4d9d755605385fa329da9afa38729f3413c with gcc (GCC) 8.1.0 kernel signature: 12fe958c8ae8f2c814ac8cb3464a6229e12240cf all runs: OK # git bisect good 97eeb4d9d755605385fa329da9afa38729f3413c Bisecting: 2108 revisions left to test after this (roughly 11 steps) [94e89b40235476a83a53a47b9ffb0cb91a4c335e] Merge tag 'vfio-v5.5-rc1' of git://github.com/awilliam/linux-vfio testing commit 94e89b40235476a83a53a47b9ffb0cb91a4c335e with gcc (GCC) 8.1.0 kernel signature: a1ea20318b3cf004c0d1ebba994e3ca41f5434a6 all runs: OK # git bisect good 94e89b40235476a83a53a47b9ffb0cb91a4c335e Bisecting: 985 revisions left to test after this (roughly 10 steps) [78bac77b521b032f96077c21241cc5d5668482c5] Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net testing commit 78bac77b521b032f96077c21241cc5d5668482c5 with gcc (GCC) 8.1.0 kernel signature: 36d9219b2df173b1c918ca3057b0b5f25f1937f5 all runs: OK # git bisect good 78bac77b521b032f96077c21241cc5d5668482c5 Bisecting: 496 revisions left to test after this (roughly 9 steps) [9e41fbf3dd38327d440a8f3ba0c234519dbb5280] Merge branch 's390-qeth-next' testing commit 9e41fbf3dd38327d440a8f3ba0c234519dbb5280 with gcc (GCC) 8.1.0 kernel signature: c33edc48c0099f6fbc4368596d540477fd7c38c5 all runs: OK # git bisect good 9e41fbf3dd38327d440a8f3ba0c234519dbb5280 Bisecting: 288 revisions left to test after this (roughly 8 steps) [684ea87cc312c98386c667d1046c61eb92ea8379] igc: Remove serdes comments from a description of methods testing commit 684ea87cc312c98386c667d1046c61eb92ea8379 with gcc (GCC) 8.1.0 kernel signature: 1bc34cb205cd5c460a0bd23da3a62331874cbebd all runs: crashed: WARNING in set_precision # git bisect bad 684ea87cc312c98386c667d1046c61eb92ea8379 Bisecting: 103 revisions left to test after this (roughly 7 steps) [96360004b8628541f5d05a845ea213267db0b1a2] xdp: Make devmap flush_list common for all map instances testing commit 96360004b8628541f5d05a845ea213267db0b1a2 with gcc (GCC) 8.1.0 kernel signature: d81d623cd0dd532a132dbd6f0161876c2be92e66 all runs: OK # git bisect good 96360004b8628541f5d05a845ea213267db0b1a2 Bisecting: 51 revisions left to test after this (roughly 6 steps) [6b08d6c146f4c5ed451c45339c10feb06d619db2] ethtool: support for netlink notifications testing commit 6b08d6c146f4c5ed451c45339c10feb06d619db2 with gcc (GCC) 8.1.0 kernel signature: 9640a389c205406897eb4e600f5c0813b2b6cc46 all runs: crashed: WARNING in set_precision # git bisect bad 6b08d6c146f4c5ed451c45339c10feb06d619db2 Bisecting: 25 revisions left to test after this (roughly 5 steps) [d3f11b018f6ce278e683008e9c225fe87afc532d] samples/bpf: xdpsock: Add duration option to specify how long to run testing commit d3f11b018f6ce278e683008e9c225fe87afc532d with gcc (GCC) 8.1.0 kernel signature: 9e2337f0e3bb2c3e4a3d647b979cff8bb72a9dc1 all runs: OK # git bisect good d3f11b018f6ce278e683008e9c225fe87afc532d Bisecting: 12 revisions left to test after this (roughly 4 steps) [35821fc2b41c51161e503bade3630603668dd3af] tcp_cubic: remove one conditional from hystart_update() testing commit 35821fc2b41c51161e503bade3630603668dd3af with gcc (GCC) 8.1.0 kernel signature: 5182763ae9b981ec56edb18a5aa3d949bb821969 all runs: OK # git bisect good 35821fc2b41c51161e503bade3630603668dd3af Bisecting: 6 revisions left to test after this (roughly 3 steps) [c8f957df6e338406128cadb2ee30e38f9a816ed6] net: dsa: qca: ar9331: drop pointless static qualifier in ar9331_sw_mbus_init testing commit c8f957df6e338406128cadb2ee30e38f9a816ed6 with gcc (GCC) 8.1.0 kernel signature: a22a06cf8b0be049f604ce9659458e6a14bbc80e all runs: OK # git bisect good c8f957df6e338406128cadb2ee30e38f9a816ed6 Bisecting: 3 revisions left to test after this (roughly 2 steps) [356b23c073dd063427102329b296061855b912d9] sctp: do trace_sctp_probe after SACK validation and check testing commit 356b23c073dd063427102329b296061855b912d9 with gcc (GCC) 8.1.0 kernel signature: e381fd182e4752af9b55897039e876dba8485a21 all runs: OK # git bisect good 356b23c073dd063427102329b296061855b912d9 Bisecting: 1 revision left to test after this (roughly 1 step) [041b1c5d4a53e97fc9e029ae32469552ca12cb9b] ethtool: helper functions for netlink interface testing commit 041b1c5d4a53e97fc9e029ae32469552ca12cb9b with gcc (GCC) 8.1.0 kernel signature: 82368871da9fe3a56be7545c97c0ce6aa27999ab all runs: crashed: WARNING in set_precision # git bisect bad 041b1c5d4a53e97fc9e029ae32469552ca12cb9b Bisecting: 0 revisions left to test after this (roughly 0 steps) [2b4a8990b7df55875745a80a609a1ceaaf51f322] ethtool: introduce ethtool netlink interface testing commit 2b4a8990b7df55875745a80a609a1ceaaf51f322 with gcc (GCC) 8.1.0 kernel signature: dde516a5af2fdb736a738cfa8125b65bc322e389 all runs: crashed: WARNING in set_precision # git bisect bad 2b4a8990b7df55875745a80a609a1ceaaf51f322 2b4a8990b7df55875745a80a609a1ceaaf51f322 is the first bad commit commit 2b4a8990b7df55875745a80a609a1ceaaf51f322 Author: Michal Kubecek Date: Fri Dec 27 15:55:18 2019 +0100 ethtool: introduce ethtool netlink interface Basic genetlink and init infrastructure for the netlink interface, register genetlink family "ethtool". Add CONFIG_ETHTOOL_NETLINK Kconfig option to make the build optional. Add initial overall interface description into Documentation/networking/ethtool-netlink.rst, further patches will add more detailed information. Signed-off-by: Michal Kubecek Reviewed-by: Florian Fainelli Reviewed-by: Andrew Lunn Signed-off-by: David S. Miller Documentation/networking/ethtool-netlink.rst | 216 +++++++++++++++++++++++++++ Documentation/networking/index.rst | 1 + include/linux/ethtool_netlink.h | 9 ++ include/uapi/linux/ethtool_netlink.h | 36 +++++ net/Kconfig | 8 + net/ethtool/Makefile | 6 +- net/ethtool/netlink.c | 33 ++++ net/ethtool/netlink.h | 10 ++ 8 files changed, 318 insertions(+), 1 deletion(-) create mode 100644 Documentation/networking/ethtool-netlink.rst create mode 100644 include/linux/ethtool_netlink.h create mode 100644 include/uapi/linux/ethtool_netlink.h create mode 100644 net/ethtool/netlink.c create mode 100644 net/ethtool/netlink.h culprit signature: dde516a5af2fdb736a738cfa8125b65bc322e389 parent signature: e381fd182e4752af9b55897039e876dba8485a21 revisions tested: 16, total time: 3h54m52.28811231s (build: 1h42m3.81746083s, test: 2h11m39.667246038s) first bad commit: 2b4a8990b7df55875745a80a609a1ceaaf51f322 ethtool: introduce ethtool netlink interface cc: ["andrew@lunn.ch" "davem@davemloft.net" "f.fainelli@gmail.com" "mkubecek@suse.cz"] crash: WARNING in set_precision netlink: 179916 bytes leftover after parsing attributes in process `syz-executor.3'. ------------[ cut here ]------------ precision 33020 too large WARNING: CPU: 1 PID: 8096 at lib/vsprintf.c:2471 set_precision+0x114/0x150 lib/vsprintf.c:2471 Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 8096 Comm: syz-executor.3 Not tainted 5.5.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x12d/0x187 lib/dump_stack.c:118 panic+0x22a/0x4e3 kernel/panic.c:221 __warn.cold.10+0x25/0x2a kernel/panic.c:582 report_bug+0x1b0/0x270 lib/bug.c:195 fixup_bug arch/x86/kernel/traps.c:174 [inline] do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:267 do_invalid_op+0x36/0x40 arch/x86/kernel/traps.c:286 invalid_op+0x23/0x30 arch/x86/entry/entry_64.S:1027 RIP: 0010:set_precision+0x114/0x150 lib/vsprintf.c:2471 Code: 0f 95 c2 84 d1 75 45 88 43 06 0f b6 c4 88 43 07 eb 80 89 c6 48 c7 c7 e0 0a 68 88 89 45 e4 c6 05 9f b6 8f 02 01 e8 f4 52 03 fa <0f> 0b 8b 45 e4 e9 72 ff ff ff be 08 00 00 00 48 89 df 89 45 e4 e8 RSP: 0018:ffffc90002bf72d8 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffffc90002bf7370 RCX: 0000000000000006 RDX: 1ffffffff11e5ba3 RSI: 0000000000000008 RDI: 0000000000000282 RBP: ffffc90002bf72f8 R08: 0000000000000006 R09: fffffbfff14fb9ab R10: fffffbfff14fb9aa R11: ffffffff8a7dcd57 R12: ffffc90002bf7377 R13: 00000000000080fc R14: ffffc90002bf7370 R15: dffffc0000000000 vsnprintf+0x29e/0x17a0 lib/vsprintf.c:2547 kvasprintf+0x90/0x130 lib/kasprintf.c:22 kasprintf+0x96/0xc0 lib/kasprintf.c:59 hwsim_del_radio_nl+0x57a/0x780 drivers/net/wireless/mac80211_hwsim.c:3625 genl_family_rcv_msg_doit net/netlink/genetlink.c:672 [inline] genl_family_rcv_msg net/netlink/genetlink.c:717 [inline] genl_rcv_msg+0x5d9/0x10e0 net/netlink/genetlink.c:734 netlink_rcv_skb+0x13c/0x380 net/netlink/af_netlink.c:2477 genl_rcv+0x23/0x40 net/netlink/genetlink.c:745 netlink_unicast_kernel net/netlink/af_netlink.c:1302 [inline] netlink_unicast+0x45e/0x6a0 net/netlink/af_netlink.c:1328 netlink_sendmsg+0x7b0/0xcb0 net/netlink/af_netlink.c:1917 sock_sendmsg_nosec net/socket.c:643 [inline] sock_sendmsg+0xb5/0xf0 net/socket.c:663 ____sys_sendmsg+0x603/0x950 net/socket.c:2342 ___sys_sendmsg+0xe4/0x160 net/socket.c:2396 __sys_sendmsg+0xd9/0x180 net/socket.c:2429 __do_sys_sendmsg net/socket.c:2438 [inline] __se_sys_sendmsg net/socket.c:2436 [inline] __x64_sys_sendmsg+0x73/0xb0 net/socket.c:2436 do_syscall_64+0xca/0x5f0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45af49 Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f89008a5c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045af49 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000003 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f89008a66d4 R13: 00000000004ca92d R14: 00000000004e3cd8 R15: 00000000ffffffff Kernel Offset: disabled Rebooting in 86400 seconds..