bisecting cause commit starting from 82564f6c706a37e5f7dec962375581cc9f8fca5d building syzkaller on 6972b10616d785401dea17cec890cca8916424a7 testing commit 82564f6c706a37e5f7dec962375581cc9f8fca5d compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: afe12e2bdf30f09e74575640534c1df99d4f9d68e5072624cef66d408d1b2cbc all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in devlink_nl_cmd_port_set_doit testing release v5.13 testing commit 62fb9874f5da54fdb243003b386128037319b219 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 909f5b513362d755e99068620c19525cb2afd91ca8725228219fd46574a48866 all runs: OK # git bisect start 82564f6c706a37e5f7dec962375581cc9f8fca5d 62fb9874f5da54fdb243003b386128037319b219 Bisecting: 7934 revisions left to test after this (roughly 13 steps) [71bd9341011f626d692aabe024f099820f02c497] Merge branch 'akpm' (patches from Andrew) testing commit 71bd9341011f626d692aabe024f099820f02c497 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: f38e6ef7a09cbf44cb4fdaa8b26970bc4654e2a96050b8ba9d122b139fc240b4 all runs: OK # git bisect good 71bd9341011f626d692aabe024f099820f02c497 Bisecting: 3968 revisions left to test after this (roughly 12 steps) [729437e334a9d9e079e2be9a42629316bee8a17e] Merge tag 'for-linus-5.14-ofs1' of git://git.kernel.org/pub/scm/linux/kernel/git/hubcap/linux testing commit 729437e334a9d9e079e2be9a42629316bee8a17e compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: d0ec278c753556f86625e25d4b525cfc1c9453bee566c84baad7e5a283fe4043 run #0: boot failed: BUG: sleeping function called from invalid context in stack_depot_save run #1: boot failed: kernel panic: VFS: Unable to mount root fs on unknown-block(0,0) run #2: boot failed: BUG: sleeping function called from invalid context in stack_depot_save run #3: boot failed: kernel panic: VFS: Unable to mount root fs on unknown-block(0,0) run #4: boot failed: kernel panic: VFS: Unable to mount root fs on unknown-block(0,0) run #5: boot failed: kernel panic: VFS: Unable to mount root fs on unknown-block(0,0) run #6: boot failed: BUG: sleeping function called from invalid context in stack_depot_save run #7: boot failed: BUG: sleeping function called from invalid context in stack_depot_save run #8: boot failed: kernel panic: VFS: Unable to mount root fs on unknown-block(0,0) run #9: boot failed: kernel panic: VFS: Unable to mount root fs on unknown-block(0,0) # git bisect skip 729437e334a9d9e079e2be9a42629316bee8a17e Bisecting: 3968 revisions left to test after this (roughly 12 steps) [d25fba0e34742f19b5ca307c60c4d260ca5a754a] tools/memory-model: Fix smp_mb__after_spinlock() spelling testing commit d25fba0e34742f19b5ca307c60c4d260ca5a754a compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: f27b781a0a49a7852f1c4f1d2d6e7fe5900f905ce600ea22e7c7dc39c8a88e0f all runs: OK # git bisect good d25fba0e34742f19b5ca307c60c4d260ca5a754a Bisecting: 3968 revisions left to test after this (roughly 12 steps) [1b0482229c302a3c6afd00d6b3bf0169cf279b44] powerpc/64s/interrupt: preserve regs->softe for NMI interrupts testing commit 1b0482229c302a3c6afd00d6b3bf0169cf279b44 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 01dfa9f8b84d4ecddd0e02f32cb0a87cb4490a1b47bc1843e0b5d6b583ffdf27 all runs: OK # git bisect good 1b0482229c302a3c6afd00d6b3bf0169cf279b44 Bisecting: 3861 revisions left to test after this (roughly 12 steps) [4ea90317956718e0648e1f87e56530db809a5a04] Merge tag 'for-linus-5.14-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip testing commit 4ea90317956718e0648e1f87e56530db809a5a04 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 8ee6c2405a69f16f1c332fde24c86659615965f4903148e28e600a029be0c896 run #0: boot failed: kernel panic: VFS: Unable to mount root fs on unknown-block(0,0) run #1: boot failed: kernel panic: VFS: Unable to mount root fs on unknown-block(0,0) run #2: boot failed: BUG: sleeping function called from invalid context in stack_depot_save run #3: boot failed: BUG: sleeping function called from invalid context in stack_depot_save run #4: boot failed: kernel panic: VFS: Unable to mount root fs on unknown-block(0,0) run #5: boot failed: kernel panic: VFS: Unable to mount root fs on unknown-block(0,0) run #6: boot failed: kernel panic: VFS: Unable to mount root fs on unknown-block(0,0) run #7: boot failed: kernel panic: VFS: Unable to mount root fs on unknown-block(0,0) run #8: boot failed: kernel panic: VFS: Unable to mount root fs on unknown-block(0,0) run #9: boot failed: BUG: sleeping function called from invalid context in stack_depot_save # git bisect skip 4ea90317956718e0648e1f87e56530db809a5a04 Bisecting: 3861 revisions left to test after this (roughly 12 steps) [c8daba4640ac9619f9cb34ca7c314ff1eaff5f33] kgdb: Fix fall-through warning for Clang testing commit c8daba4640ac9619f9cb34ca7c314ff1eaff5f33 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 5c55beab24fd0334c6198d6c4fb414f8aa889600167426852591f7716231a8cd all runs: OK # git bisect good c8daba4640ac9619f9cb34ca7c314ff1eaff5f33 Bisecting: 3861 revisions left to test after this (roughly 12 steps) [366b45b974481bea9603843d308aded519aab7dc] ASoC: hdmi-codec: Rework to support more controls testing commit 366b45b974481bea9603843d308aded519aab7dc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: f27b781a0a49a7852f1c4f1d2d6e7fe5900f905ce600ea22e7c7dc39c8a88e0f all runs: OK # git bisect good 366b45b974481bea9603843d308aded519aab7dc Bisecting: 3861 revisions left to test after this (roughly 12 steps) [fc36da3131a747a9367a05caf06de19be1bcc972] iio: accel: bma180: Fix buffer alignment in iio_push_to_buffers_with_timestamp() testing commit fc36da3131a747a9367a05caf06de19be1bcc972 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: aab576bba7caf6666300a55c555db004a38919d2d7528dac90a204b9fd227ef8 all runs: OK # git bisect good fc36da3131a747a9367a05caf06de19be1bcc972 Bisecting: 3712 revisions left to test after this (roughly 12 steps) [0cc2ea8cebe909203f994e9113dc1f1b3907d03c] Merge tag 'nfsd-5.14' of git://linux-nfs.org/~bfields/linux testing commit 0cc2ea8cebe909203f994e9113dc1f1b3907d03c compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: f3e5bb6d65fc866183cfdd72309049fb01cfe19da87913c5f014fc2e2088b229 run #0: boot failed: kernel panic: VFS: Unable to mount root fs on unknown-block(0,0) run #1: boot failed: kernel panic: VFS: Unable to mount root fs on unknown-block(0,0) run #2: boot failed: kernel panic: VFS: Unable to mount root fs on unknown-block(0,0) run #3: boot failed: kernel panic: VFS: Unable to mount root fs on unknown-block(0,0) run #4: boot failed: kernel panic: VFS: Unable to mount root fs on unknown-block(0,0) run #5: boot failed: kernel panic: VFS: Unable to mount root fs on unknown-block(0,0) run #6: boot failed: BUG: sleeping function called from invalid context in stack_depot_save run #7: boot failed: BUG: sleeping function called from invalid context in stack_depot_save run #8: boot failed: possible deadlock in fs_reclaim_acquire run #9: boot failed: kernel panic: VFS: Unable to mount root fs on unknown-block(0,0) # git bisect skip 0cc2ea8cebe909203f994e9113dc1f1b3907d03c Bisecting: 3712 revisions left to test after this (roughly 12 steps) [78b77c760f71ef408a2276f5a3b531c400089304] can: j1939: j1939_session_tx_dat(): use consistent name se_skcb for session skb control buffer testing commit 78b77c760f71ef408a2276f5a3b531c400089304 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 3edbf7488fdc174fbfe14f48c0e51335313493aa143eafbf320fd71a51351e3b all runs: OK # git bisect good 78b77c760f71ef408a2276f5a3b531c400089304 Bisecting: 584 revisions left to test after this (roughly 9 steps) [e04480920d1eec9c061841399aa6f35b6f987d8b] Bluetooth: defer cleanup of resources in hci_unregister_dev() testing commit e04480920d1eec9c061841399aa6f35b6f987d8b compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 615ddc83fa6cd797b73878d0ee8c4fbef4fae268d77c30630d774dc8959b5fed all runs: OK # git bisect good e04480920d1eec9c061841399aa6f35b6f987d8b Bisecting: 322 revisions left to test after this (roughly 8 steps) [d2e11fd2b7fcd10b7bcef418c55490c934aa94e8] Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net testing commit d2e11fd2b7fcd10b7bcef418c55490c934aa94e8 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 2b9fd3d2e61ee2009e061baa3c93d252227d18ce678bdc014cb612d191633e99 all runs: boot failed: WARNING: refcount bug in fib_create_info # git bisect skip d2e11fd2b7fcd10b7bcef418c55490c934aa94e8 Bisecting: 322 revisions left to test after this (roughly 8 steps) [220ade77452c15ecb1ab94c3f8aaeb6d033c3582] bonding: 3ad: fix the concurrency between __bond_release_one() and bond_3ad_state_machine_handler() testing commit 220ade77452c15ecb1ab94c3f8aaeb6d033c3582 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 3546b2f87ffc0b8625ff523dc0ceda3793c61099afc537937dd4e37db667e3e7 all runs: boot failed: WARNING: refcount bug in fib_create_info # git bisect skip 220ade77452c15ecb1ab94c3f8aaeb6d033c3582 Bisecting: 322 revisions left to test after this (roughly 8 steps) [773bda96492153e11d21eb63ac814669b51fc701] ptp: ocp: Expose various resources on the timecard. testing commit 773bda96492153e11d21eb63ac814669b51fc701 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 36816752ddeb2bf16cb06dcc8c01cf213029555637fe56550bfd331f57519615 all runs: OK # git bisect good 773bda96492153e11d21eb63ac814669b51fc701 Bisecting: 70 revisions left to test after this (roughly 6 steps) [902e7f373fff2476b53824264c12e4e76c7ec02a] Merge tag 'net-5.14-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net testing commit 902e7f373fff2476b53824264c12e4e76c7ec02a compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 78b7a58a09722f8edb9e16b54be16f41b9f28d543a5edf55943bb73a475b835a all runs: OK # git bisect good 902e7f373fff2476b53824264c12e4e76c7ec02a Bisecting: 34 revisions left to test after this (roughly 5 steps) [1160dfa178eb848327e9dec39960a735f4dc1685] net: Remove redundant if statements testing commit 1160dfa178eb848327e9dec39960a735f4dc1685 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 2a449ed4d0d5dd58944f059db1b817fb71bcadbb557f975895c9ba45ca10193d all runs: boot failed: KASAN: null-ptr-deref Write in packet_do_bind # git bisect skip 1160dfa178eb848327e9dec39960a735f4dc1685 Bisecting: 34 revisions left to test after this (roughly 5 steps) [a0d1d0f47e3193d6188869ae6bcf08a792f63cf6] virtio_net: Replace deprecated CPU-hotplug functions. testing commit a0d1d0f47e3193d6188869ae6bcf08a792f63cf6 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 36816752ddeb2bf16cb06dcc8c01cf213029555637fe56550bfd331f57519615 all runs: OK # git bisect good a0d1d0f47e3193d6188869ae6bcf08a792f63cf6 Bisecting: 34 revisions left to test after this (roughly 5 steps) [0fd75f5760b6a7a7f35dff46a6cdc4f6d1a86ee8] net: ipa: fix IPA v4.9 interconnects testing commit 0fd75f5760b6a7a7f35dff46a6cdc4f6d1a86ee8 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 36816752ddeb2bf16cb06dcc8c01cf213029555637fe56550bfd331f57519615 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 0fd75f5760b6a7a7f35dff46a6cdc4f6d1a86ee8 Bisecting: 1 revision left to test after this (roughly 1 step) [372bbdd5bb3fc454d9c280dc0914486a3c7419d5] net: Replace deprecated CPU-hotplug functions. testing commit 372bbdd5bb3fc454d9c280dc0914486a3c7419d5 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 36816752ddeb2bf16cb06dcc8c01cf213029555637fe56550bfd331f57519615 all runs: OK # git bisect good 372bbdd5bb3fc454d9c280dc0914486a3c7419d5 Bisecting: 0 revisions left to test after this (roughly 0 steps) [df7ba0eb25edded52b1b3f6bb6ab0c0048a7e0bb] mctp: remove duplicated assignment of pointer hdr testing commit df7ba0eb25edded52b1b3f6bb6ab0c0048a7e0bb compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 36816752ddeb2bf16cb06dcc8c01cf213029555637fe56550bfd331f57519615 all runs: OK # git bisect good df7ba0eb25edded52b1b3f6bb6ab0c0048a7e0bb 0fd75f5760b6a7a7f35dff46a6cdc4f6d1a86ee8 is the first bad commit commit 0fd75f5760b6a7a7f35dff46a6cdc4f6d1a86ee8 Author: Alex Elder Date: Wed Aug 4 08:54:07 2021 -0500 net: ipa: fix IPA v4.9 interconnects Three interconnects are defined for IPA version 4.9, but there should only be two. They should also use names that match what's used for other platforms (and specified in the Device Tree binding). Signed-off-by: Alex Elder Signed-off-by: David S. Miller drivers/net/ipa/ipa_data-v4.9.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) culprit signature: 36816752ddeb2bf16cb06dcc8c01cf213029555637fe56550bfd331f57519615 parent signature: 36816752ddeb2bf16cb06dcc8c01cf213029555637fe56550bfd331f57519615 Reproducer flagged being flaky revisions tested: 22, total time: 5h48m2.415383807s (build: 2h23m22.086605033s, test: 3h22m34.360402866s) first bad commit: 0fd75f5760b6a7a7f35dff46a6cdc4f6d1a86ee8 net: ipa: fix IPA v4.9 interconnects recipients (to): ["davem@davemloft.net" "davem@davemloft.net" "elder@kernel.org" "elder@linaro.org" "kuba@kernel.org" "netdev@vger.kernel.org"] recipients (cc): ["linux-kernel@vger.kernel.org"] crash: BUG: sleeping function called from invalid context in lock_sock_nested BUG: sleeping function called from invalid context at net/core/sock.c:3175 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 8953, name: syz-executor.5 1 lock held by syz-executor.5/8953: #0: ffffffff8c40f440 (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: 0 PID: 8953 Comm: syz-executor.5 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:3175 lock_sock include/net/sock.h:1612 [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:0x4665e9 Code: Unable to access opcode bytes at RIP 0x4665bf. RSP: 002b:00007ffd525e2048 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007ffd525e2808 RCX: 00000000004665e9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000043 RBP: 0000000000000000 R08: 0000000000000025 R09: 00007ffd525e2808 R10: 00000000ffffffff R11: 0000000000000246 R12: 00000000004bef74 R13: 0000000000000010 R14: 0000000000000000 R15: 0000000000400538 ======================================================