bisecting cause commit starting from 835d31d319d9c8c4eb6cac074643360ba0ecab10 building syzkaller on 7eb7e15259fddd67759f90feb2b016da878f76c7 testing commit 835d31d319d9c8c4eb6cac074643360ba0ecab10 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 9854be32fa8b60d6063f44e68ff320be704d7e0e7af2425ca5b8f2d67f0c3902 all runs: crashed: WARNING in static_key_slow_try_dec testing release v5.14 testing commit 7d2a07b769330c34b4deabeed939325c77a7ec2f compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 22f356b24ddd30ea3e41017a45adf7b1452162a1d468cc20535b0490e0ecba4c all runs: OK # git bisect start 835d31d319d9c8c4eb6cac074643360ba0ecab10 7d2a07b769330c34b4deabeed939325c77a7ec2f Bisecting: 3520 revisions left to test after this (roughly 11 steps) [29ce8f9701072fc221d9c38ad952de1a9578f95c] Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net testing commit 29ce8f9701072fc221d9c38ad952de1a9578f95c compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 3d319e55a89f4cc10c56530bb0a6ce66ad61ca2f13a073f123aa35ee10710ea9 all runs: crashed: WARNING in static_key_slow_try_dec # git bisect bad 29ce8f9701072fc221d9c38ad952de1a9578f95c Bisecting: 951 revisions left to test after this (roughly 10 steps) [bed5a942e27e1df67250e27e1f2eb5ea2d4cc362] Merge tag 'mlx5-updates-2021-08-11' of git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux testing commit bed5a942e27e1df67250e27e1f2eb5ea2d4cc362 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 361ff5d602c39e9ff822d6baf3af27896c140978afbe170ec3f40dd11ea71cec all runs: crashed: WARNING in static_key_slow_try_dec # git bisect bad bed5a942e27e1df67250e27e1f2eb5ea2d4cc362 Bisecting: 475 revisions left to test after this (roughly 9 steps) [8f601a1e4f8c84f0a5d249837c567565844fe56e] mctp: Add base socket/protocol definitions testing commit 8f601a1e4f8c84f0a5d249837c567565844fe56e compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: c4e1add635581c2dd4bb4217a1fd24b385fe6ef887db04eab54ef88615fb05fc all runs: OK # git bisect good 8f601a1e4f8c84f0a5d249837c567565844fe56e Bisecting: 240 revisions left to test after this (roughly 8 steps) [51b8f812e5b327b343232685ea7969e02348d5dd] ipv6: exthdrs: get rid of indirect calls in ip6_parse_tlv() testing commit 51b8f812e5b327b343232685ea7969e02348d5dd compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 69698ca96b40466aaf04a6323db3035bc39a79ef3b294d635d604af6f08b4ba4 run #0: crashed: BUG: sleeping function called from invalid context in lock_sock_nested run #1: OK run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK reproducer seems to be flaky # git bisect bad 51b8f812e5b327b343232685ea7969e02348d5dd Bisecting: 112 revisions left to test after this (roughly 7 steps) [d39e8b92c34113e0e406c9853d655b1350a15624] Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next testing commit d39e8b92c34113e0e406c9853d655b1350a15624 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 4978ccda5c30ac08a1f9c906e3808d3d9bf49af55d0ef85fe93020817a4e9f8f all runs: boot failed: WARNING: refcount bug in fib_create_info # git bisect skip d39e8b92c34113e0e406c9853d655b1350a15624 Bisecting: 112 revisions left to test after this (roughly 7 steps) [371cf74e78f3468016e8c7a159fc288a71d4dc86] net/mlx5: Move TTC logic to fs_ttc testing commit 371cf74e78f3468016e8c7a159fc288a71d4dc86 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: b9ddf1382f50d061907478b529faf5d148b9506988f7537f77181e09d027d696 all runs: boot failed: WARNING: refcount bug in fib_create_info # git bisect skip 371cf74e78f3468016e8c7a159fc288a71d4dc86 Bisecting: 112 revisions left to test after this (roughly 7 steps) [b820c114eba7e105556429031656918ebdd50ab1] net: fec: fix MAC internal delay doesn't work testing commit b820c114eba7e105556429031656918ebdd50ab1 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 82e9ddb5cf7d2963c97106025d48cda3b3108b4a249db910ed14c0f7bb92205b all runs: OK # git bisect good b820c114eba7e105556429031656918ebdd50ab1 Bisecting: 14 revisions left to test after this (roughly 4 steps) [aa730a9905b7b079ef2fffdab7f15dbb842f5c7c] net: wwan: Add MHI MBIM network driver testing commit aa730a9905b7b079ef2fffdab7f15dbb842f5c7c compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: e418011259ba347372205ad583b2bd09df13a25dab8f1a6e16d2a7199ff15659 run #0: crashed: BUG: sleeping function called from invalid context in lock_sock_nested run #1: OK run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK run #10: OK run #11: OK run #12: OK run #13: OK run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK # git bisect bad aa730a9905b7b079ef2fffdab7f15dbb842f5c7c Bisecting: 7 revisions left to test after this (roughly 3 steps) [8581362d9c8528fb9b013cfb51324447c6bdae54] dpaa2-switch: add a prefix to HW ethtool stats testing commit 8581362d9c8528fb9b013cfb51324447c6bdae54 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 82e9ddb5cf7d2963c97106025d48cda3b3108b4a249db910ed14c0f7bb92205b all runs: OK # git bisect good 8581362d9c8528fb9b013cfb51324447c6bdae54 Bisecting: 3 revisions left to test after this (roughly 2 steps) [8679c31e0284aa3aaba038035e443180b5bacb99] net: add extack arg for link ops testing commit 8679c31e0284aa3aaba038035e443180b5bacb99 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 8ed9f9f758b7781750f7c1669b8df4defa8f9ecd2da34a8b4b311e94c06a2f09 run #0: crashed: BUG: sleeping function called from invalid context in lock_sock_nested run #1: OK run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK run #10: OK run #11: OK run #12: OK run #13: OK run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK # git bisect bad 8679c31e0284aa3aaba038035e443180b5bacb99 Bisecting: 1 revision left to test after this (roughly 1 step) [7e89350c901923c48370ae7b922223c6c5a2b7fd] Merge branch 'dpaa2-switch-next' testing commit 7e89350c901923c48370ae7b922223c6c5a2b7fd compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 82e9ddb5cf7d2963c97106025d48cda3b3108b4a249db910ed14c0f7bb92205b run #0: crashed: BUG: sleeping function called from invalid context in lock_sock_nested run #1: OK run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK run #10: OK run #11: OK run #12: OK run #13: OK run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK # git bisect bad 7e89350c901923c48370ae7b922223c6c5a2b7fd Bisecting: 0 revisions left to test after this (roughly 0 steps) [f0653a892097ca16c90e32b6615cac5eba0df3a8] dpaa2-switch: export MAC statistics in ethtool testing commit f0653a892097ca16c90e32b6615cac5eba0df3a8 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 82e9ddb5cf7d2963c97106025d48cda3b3108b4a249db910ed14c0f7bb92205b all runs: OK # git bisect good f0653a892097ca16c90e32b6615cac5eba0df3a8 7e89350c901923c48370ae7b922223c6c5a2b7fd is the first bad commit commit 7e89350c901923c48370ae7b922223c6c5a2b7fd Merge: b820c114eba7 f0653a892097 Author: David S. Miller Date: Wed Aug 4 09:53:34 2021 +0100 Merge branch 'dpaa2-switch-next' Ioana Ciornei says: ==================== dpaa2-switch: integrate the MAC endpoint support This patch set integrates the already available MAC support into the dpaa2-switch driver as well. The first 4 patches are fixing up some minor problems or optimizing the code, while the remaining ones are actually integrating the dpaa2-mac support into the switch driver by calling the dpaa2_mac_* provided functions. While at it, we also export the MAC statistics in ethtool like we do for dpaa2-eth. ==================== Signed-off-by: David S. Miller drivers/bus/fsl-mc/fsl-mc-bus.c | 4 +- drivers/net/ethernet/freescale/dpaa2/Makefile | 2 +- drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c | 2 +- .../freescale/dpaa2/dpaa2-switch-ethtool.c | 56 +++++--- .../net/ethernet/freescale/dpaa2/dpaa2-switch.c | 151 +++++++++++++++------ .../net/ethernet/freescale/dpaa2/dpaa2-switch.h | 18 +++ drivers/net/ethernet/freescale/dpaa2/dpsw.h | 5 + include/linux/fsl/mc.h | 3 +- 8 files changed, 177 insertions(+), 64 deletions(-) Reproducer flagged being flaky revisions tested: 14, total time: 3h54m1.814998498s (build: 1h35m27.801982782s, test: 2h17m1.836248908s) first bad commit: 7e89350c901923c48370ae7b922223c6c5a2b7fd Merge branch 'dpaa2-switch-next' recipients (to): ["davem@davemloft.net"] recipients (cc): [] crash: BUG: sleeping function called from invalid context in lock_sock_nested BUG: sleeping function called from invalid context at net/core/sock.c:3162 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 8948, name: syz-executor.4 1 lock held by syz-executor.4/8948: #0: ffffffff8c1f9e80 (hci_sk_list.lock){++++}-{2:2}, at: hci_sock_dev_event+0x374/0x5c0 net/bluetooth/hci_sock.c:763 Preemption disabled at: [<0000000000000000>] 0x0 CPU: 1 PID: 8948 Comm: syz-executor.4 Not tainted 5.14.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x57/0x7d lib/dump_stack.c:105 ___might_sleep.cold+0x1f1/0x237 kernel/sched/core.c:9154 lock_sock_nested+0x1e/0xf0 net/core/sock.c:3162 lock_sock include/net/sock.h:1613 [inline] hci_sock_dev_event+0x3ea/0x5c0 net/bluetooth/hci_sock.c:765 hci_unregister_dev+0x29b/0xfb0 net/bluetooth/hci_core.c:4033 vhci_release+0x62/0xd0 drivers/bluetooth/hci_vhci.c:340 __fput+0x209/0x870 fs/file_table.c:280 task_work_run+0xc0/0x160 kernel/task_work.c:164 exit_task_work include/linux/task_work.h:32 [inline] do_exit+0x9fe/0x24e0 kernel/exit.c:825 do_group_exit+0xe7/0x290 kernel/exit.c:922 __do_sys_exit_group kernel/exit.c:933 [inline] __se_sys_exit_group kernel/exit.c:931 [inline] __x64_sys_exit_group+0x35/0x40 kernel/exit.c:931 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665f9 Code: Unable to access opcode bytes at RIP 0x4665cf. RSP: 002b:00007ffe4c8a0e88 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007ffe4c8a1648 RCX: 00000000004665f9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000043 RBP: 0000000000000000 R08: 0000000000000025 R09: 00007ffe4c8a1648 R10: 00000000ffffffff R11: 0000000000000246 R12: 00000000004bef74 R13: 0000000000000010 R14: 0000000000000000 R15: 0000000000400538 ======================================================