ci starts bisection 2023-01-14 18:21:06.908456913 +0000 UTC m=+25592.083886181 bisecting cause commit starting from 60d86034b14eed902b3f2bea97d0c237cf2f9499 building syzkaller on 96166539c4c242fccd41c7316b7080377dca428b ensuring issue is reproducible on original commit 60d86034b14eed902b3f2bea97d0c237cf2f9499 testing commit 60d86034b14eed902b3f2bea97d0c237cf2f9499 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 24d55f56037af74900f7555ee8de23e9d2afe2d9e4923a65c0dc9bcc60de0529 all runs: crashed: general protection fault in ethnl_set_plca_cfg testing release v6.1 testing commit 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 1c286bf0eb8f0b27983f8bf194793d7c2451051d523646340161587e0c072ad8 all runs: OK # git bisect start 60d86034b14eed902b3f2bea97d0c237cf2f9499 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 Bisecting: 7679 revisions left to test after this (roughly 13 steps) [1ca06f1c1acecbe02124f14a37cce347b8c1a90c] Merge tag 'xtensa-20221213' of https://github.com/jcmvbkbc/linux-xtensa testing commit 1ca06f1c1acecbe02124f14a37cce347b8c1a90c gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: ceb191954f5949c5035af4246d48b2b6622e89f17514dfaccbde2f1e85080c55 all runs: OK # git bisect good 1ca06f1c1acecbe02124f14a37cce347b8c1a90c Bisecting: 3953 revisions left to test after this (roughly 12 steps) [0948a9ef1d59d1bc7fae29f32058e463bbff4a6c] Merge branches 'acpi-resource' and 'acpi-video' testing commit 0948a9ef1d59d1bc7fae29f32058e463bbff4a6c gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: c5717f0ef902aaaa1d4b120c64f11d32862de2c1aa589d38a14bc239a468b23f all runs: OK # git bisect good 0948a9ef1d59d1bc7fae29f32058e463bbff4a6c Bisecting: 2000 revisions left to test after this (roughly 11 steps) [b611996ef270a88ebb350c82832c4d76913887e9] Merge tag 'linux-watchdog-6.2-rc1' of git://www.linux-watchdog.org/linux-watchdog testing commit b611996ef270a88ebb350c82832c4d76913887e9 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 5bab4742d15055bd9985a1fd36af99058f0ee3cae745a3a2f3dfad0cc2815ac9 all runs: OK # git bisect good b611996ef270a88ebb350c82832c4d76913887e9 Bisecting: 1000 revisions left to test after this (roughly 10 steps) [49d9601b8187f202bb7f6f43026ef6acf4c7a178] Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf testing commit 49d9601b8187f202bb7f6f43026ef6acf4c7a178 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 5855fab68c33ac6f3b5485809b3c38cc2513106b36b9203069df68b918af5eb2 all runs: OK # git bisect good 49d9601b8187f202bb7f6f43026ef6acf4c7a178 Bisecting: 497 revisions left to test after this (roughly 9 steps) [699aee7b47dbb1d3c30bf24f3c905eff366d9571] Merge tag 'mm-hotfixes-stable-2022-12-22-14-34' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm testing commit 699aee7b47dbb1d3c30bf24f3c905eff366d9571 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: bbb053185b87b3ab0de30c6464756ec70edb8da2bf289c6c3f3632d01ecf2d72 all runs: OK # git bisect good 699aee7b47dbb1d3c30bf24f3c905eff366d9571 Bisecting: 248 revisions left to test after this (roughly 8 steps) [72bb8f8cc088730c4d84117a6906f458c2fc64bb] x86/insn: Avoid namespace clash by separating instruction decoder MMIO type from MMIO trace type testing commit 72bb8f8cc088730c4d84117a6906f458c2fc64bb gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 6d3883f071fd460b8455c5e917246446307fbf230336df714c24308f60329d8e all runs: OK # git bisect good 72bb8f8cc088730c4d84117a6906f458c2fc64bb Bisecting: 114 revisions left to test after this (roughly 7 steps) [4aea86b4033f92f01547e6d4388d4451ae9b0980] Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net testing commit 4aea86b4033f92f01547e6d4388d4451ae9b0980 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 31da2f859c808a465b77b2986fa9e3b38a88134bbd050a4522ff4c35bbaba61c all runs: OK # git bisect good 4aea86b4033f92f01547e6d4388d4451ae9b0980 Bisecting: 57 revisions left to test after this (roughly 6 steps) [a963853fd465e6ede985e71a320bc8a0ae7f878f] mptcp: use net instead of sock_net testing commit a963853fd465e6ede985e71a320bc8a0ae7f878f gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 128ad2b19d91b659ee34d58b1b3fc79f8334a6fd541cbab7435c1dc7c6e2abba all runs: OK # git bisect good a963853fd465e6ede985e71a320bc8a0ae7f878f Bisecting: 28 revisions left to test after this (roughly 5 steps) [002dd3de097c778a74ae9e47e598bea6ad055af0] net: mdio: mdio-bitbang: Separate C22 and C45 transactions testing commit 002dd3de097c778a74ae9e47e598bea6ad055af0 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: eeb008841ff1689dcbfc49462df26d633b56e64e4dabd24ae1baddb1d7e5d67a all runs: OK # git bisect good 002dd3de097c778a74ae9e47e598bea6ad055af0 Bisecting: 14 revisions left to test after this (roughly 4 steps) [3a3da78dd258cc164ab41ec09cf2feacca423fb4] net/mlx5e: Add flow steering debugfs directory testing commit 3a3da78dd258cc164ab41ec09cf2feacca423fb4 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 19912b8fe6dd0744f49b708e68dce028684dc404eae5ded446a9bcc2568d8745 all runs: OK # git bisect good 3a3da78dd258cc164ab41ec09cf2feacca423fb4 Bisecting: 7 revisions left to test after this (roughly 3 steps) [4238654ce166bb6534379ecc08a2cd5d69055f48] net/mlx5: remove redundant ret variable testing commit 4238654ce166bb6534379ecc08a2cd5d69055f48 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 8affb7673b2e107521db7d4f2064d877fc6dbfdd0f3ad43629991d99cbd031a4 all runs: OK # git bisect good 4238654ce166bb6534379ecc08a2cd5d69055f48 Bisecting: 3 revisions left to test after this (roughly 2 steps) [493323416fed6b1ec6128a65c00e5f01d38b7e17] drivers/net/phy: add helpers to get/set PLCA configuration testing commit 493323416fed6b1ec6128a65c00e5f01d38b7e17 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 537de499756d0011090e4c5e0951afbe4c9d595a31dfc8474da3afe458423cdf all runs: crashed: general protection fault in ethnl_set_plca_cfg # git bisect bad 493323416fed6b1ec6128a65c00e5f01d38b7e17 Bisecting: 1 revision left to test after this (roughly 1 step) [16178c8ef53dc9734302c4c07633696454579ee3] drivers/net/phy: add the link modes for the 10BASE-T1S Ethernet PHY testing commit 16178c8ef53dc9734302c4c07633696454579ee3 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: b2552fd6adf89600eb45824f5de8e4b049c37ab9a3ba2606690e026027efdacc all runs: crashed: general protection fault in ethnl_set_plca_cfg # git bisect bad 16178c8ef53dc9734302c4c07633696454579ee3 Bisecting: 0 revisions left to test after this (roughly 0 steps) [8580e16c28f3f1a1bee87de115157161577334b4] net/ethtool: add netlink interface for the PLCA RS testing commit 8580e16c28f3f1a1bee87de115157161577334b4 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 270731f74328c5f2f10ceb5f955a08814052c8ae0bc2611c6e6b740666ced6f0 all runs: crashed: general protection fault in ethnl_set_plca_cfg # git bisect bad 8580e16c28f3f1a1bee87de115157161577334b4 8580e16c28f3f1a1bee87de115157161577334b4 is the first bad commit commit 8580e16c28f3f1a1bee87de115157161577334b4 Author: Piergiorgio Beruto Date: Mon Jan 9 17:59:39 2023 +0100 net/ethtool: add netlink interface for the PLCA RS Add support for configuring the PLCA Reconciliation Sublayer on multi-drop PHYs that support IEEE802.3cg-2019 Clause 148 (e.g., 10BASE-T1S). This patch adds the appropriate netlink interface to ethtool. Signed-off-by: Piergiorgio Beruto Reviewed-by: Andrew Lunn Signed-off-by: David S. Miller Documentation/networking/ethtool-netlink.rst | 138 +++++++++++++ MAINTAINERS | 6 + include/linux/ethtool.h | 12 ++ include/linux/phy.h | 57 ++++++ include/uapi/linux/ethtool_netlink.h | 25 +++ net/ethtool/Makefile | 2 +- net/ethtool/netlink.c | 29 +++ net/ethtool/netlink.h | 6 + net/ethtool/plca.c | 277 +++++++++++++++++++++++++++ 9 files changed, 551 insertions(+), 1 deletion(-) create mode 100644 net/ethtool/plca.c parent commit a6f536063b69102adf3588fbc0bb4f08d6c8cb82 wasn't tested testing commit a6f536063b69102adf3588fbc0bb4f08d6c8cb82 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 01f54c4c9ab936a032d727cf2b2871108bc0982ff3822f3cdd29fbe3594335ae culprit signature: 270731f74328c5f2f10ceb5f955a08814052c8ae0bc2611c6e6b740666ced6f0 parent signature: 01f54c4c9ab936a032d727cf2b2871108bc0982ff3822f3cdd29fbe3594335ae revisions tested: 16, total time: 4h38m6.841092936s (build: 2h37m45.742753086s, test: 1h57m46.768459987s) first bad commit: 8580e16c28f3f1a1bee87de115157161577334b4 net/ethtool: add netlink interface for the PLCA RS recipients (to): ["andrew@lunn.ch" "davem@davemloft.net" "piergiorgio.beruto@gmail.com"] recipients (cc): [] crash: general protection fault in ethnl_set_plca_cfg general protection fault, probably for non-canonical address 0xdffffc0000000173: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000b98-0x0000000000000b9f] CPU: 0 PID: 5605 Comm: syz-executor.0 Not tainted 6.2.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:ethnl_set_plca_cfg+0x1a6/0x8d0 net/ethtool/plca.c:162 Code: 5c 41 5d 41 5e 41 5f c3 4c 8b 7c 24 50 e8 f2 40 cb ff 48 b8 00 00 00 00 00 fc ff df 4d 8d 8f 98 0b 00 00 4c 89 ca 48 c1 ea 03 <80> 3c 02 00 0f 85 47 05 00 00 49 83 bf 98 0b 00 00 00 0f 84 b4 04 RSP: 0018:ffffc90004bd74a0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffffc90004bd7600 RCX: 0000000000000000 RDX: 0000000000000173 RSI: ffffffff896b89a0 RDI: 0000000000000001 RBP: 1ffff9200097ae9a R08: 0000000000000000 R09: 0000000000000b98 R10: fffffbfff1ac2e82 R11: 0000000000000000 R12: 00000000ffffffea R13: ffffc90004bd7640 R14: ffff8880169d3800 R15: 0000000000000000 FS: 00007fdd74c8c700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020001ac0 CR3: 000000001e805000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: genl_family_rcv_msg_doit.isra.0+0x1b8/0x290 net/netlink/genetlink.c:968 genl_family_rcv_msg net/netlink/genetlink.c:1048 [inline] genl_rcv_msg+0x3c9/0x6c0 net/netlink/genetlink.c:1065 netlink_rcv_skb+0x12a/0x390 net/netlink/af_netlink.c:2564 genl_rcv+0x23/0x30 net/netlink/genetlink.c:1076 netlink_unicast_kernel net/netlink/af_netlink.c:1330 [inline] netlink_unicast+0x437/0x710 net/netlink/af_netlink.c:1356 netlink_sendmsg+0x786/0xc30 net/netlink/af_netlink.c:1932 sock_sendmsg_nosec net/socket.c:714 [inline] sock_sendmsg+0xaf/0xe0 net/socket.c:734 ____sys_sendmsg+0x5f7/0x8a0 net/socket.c:2476 ___sys_sendmsg+0xdb/0x160 net/socket.c:2530 __sys_sendmsg+0xc7/0x160 net/socket.c:2559 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fdd73e8c0c9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 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 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fdd74c8c168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fdd73fabf80 RCX: 00007fdd73e8c0c9 RDX: 0000000000000000 RSI: 0000000020001ac0 RDI: 0000000000000003 RBP: 00007fdd73ee7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc80412c7f R14: 00007fdd74c8c300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ethnl_set_plca_cfg+0x1a6/0x8d0 net/ethtool/plca.c:162 Code: 5c 41 5d 41 5e 41 5f c3 4c 8b 7c 24 50 e8 f2 40 cb ff 48 b8 00 00 00 00 00 fc ff df 4d 8d 8f 98 0b 00 00 4c 89 ca 48 c1 ea 03 <80> 3c 02 00 0f 85 47 05 00 00 49 83 bf 98 0b 00 00 00 0f 84 b4 04 RSP: 0018:ffffc90004bd74a0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffffc90004bd7600 RCX: 0000000000000000 RDX: 0000000000000173 RSI: ffffffff896b89a0 RDI: 0000000000000001 RBP: 1ffff9200097ae9a R08: 0000000000000000 R09: 0000000000000b98 R10: fffffbfff1ac2e82 R11: 0000000000000000 R12: 00000000ffffffea R13: ffffc90004bd7640 R14: ffff8880169d3800 R15: 0000000000000000 FS: 00007fdd74c8c700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f658e71f1d0 CR3: 000000001e805000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 5c pop %rsp 1: 41 5d pop %r13 3: 41 5e pop %r14 5: 41 5f pop %r15 7: c3 retq 8: 4c 8b 7c 24 50 mov 0x50(%rsp),%r15 d: e8 f2 40 cb ff callq 0xffcb4104 12: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 19: fc ff df 1c: 4d 8d 8f 98 0b 00 00 lea 0xb98(%r15),%r9 23: 4c 89 ca mov %r9,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 0f 85 47 05 00 00 jne 0x57b 34: 49 83 bf 98 0b 00 00 cmpq $0x0,0xb98(%r15) 3b: 00 3c: 0f .byte 0xf 3d: 84 .byte 0x84 3e: b4 04 mov $0x4,%ah