bisecting cause commit starting from 3bdc70669eb2d53dc3abef3c1d790bfe408e2e40 building syzkaller on 17d6ab15777a82fc53dd5c339d04cbe5665ffdf0 testing commit 3bdc70669eb2d53dc3abef3c1d790bfe408e2e40 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: fae6912d82b87bc5e3487d0e5c782beedbdac76acfe6b8159e48cdef2fd069b3 all runs: crashed: possible deadlock in br_ioctl_call 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 3bdc70669eb2d53dc3abef3c1d790bfe408e2e40 62fb9874f5da54fdb243003b386128037319b219 Bisecting: 7495 revisions left to test after this (roughly 13 steps) [514798d36572fb8eba6ccff3de10c9615063a7f5] Merge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux testing commit 514798d36572fb8eba6ccff3de10c9615063a7f5 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: c48c1f58a49b135a0705833530c3090622f86ec0595e0aa8cdd20347380a1fdd run #0: basic kernel testing failed: BUG: sleeping function called from invalid context in stack_depot_save 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 # git bisect good 514798d36572fb8eba6ccff3de10c9615063a7f5 Bisecting: 3472 revisions left to test after this (roughly 12 steps) [a16d8644bad461bb073b92e812080ea6715ddf2b] Merge tag 'staging-5.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging testing commit a16d8644bad461bb073b92e812080ea6715ddf2b compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 91435ea47ec99f40fb4b9abd9bcbebf717239adac3c25ec13e7e47ab74a0a66f 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: possible deadlock in fs_reclaim_acquire 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: possible deadlock in fs_reclaim_acquire run #7: boot failed: possible deadlock in fs_reclaim_acquire 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 a16d8644bad461bb073b92e812080ea6715ddf2b Bisecting: 3472 revisions left to test after this (roughly 12 steps) [d892454b6814f07da676dae5e686cf221d34a1af] selftests/vm/pkeys: exercise x86 XSAVE init state testing commit d892454b6814f07da676dae5e686cf221d34a1af compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: d1c4f10e98e21ef241fcbd012bd3191d5807c93a2d54a730d53cf990caa060bb all runs: OK # git bisect good d892454b6814f07da676dae5e686cf221d34a1af Bisecting: 3472 revisions left to test after this (roughly 12 steps) [6fd9d695f305c8e18e8e87c28117c249040641c8] ALSA: usb-audio: scarlett2: Move info lookup out of init function testing commit 6fd9d695f305c8e18e8e87c28117c249040641c8 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: a4158bfa32eebbb856344905ef6de77147a2a762b67046469394f0f1390d59c6 all runs: OK # git bisect good 6fd9d695f305c8e18e8e87c28117c249040641c8 Bisecting: 3472 revisions left to test after this (roughly 12 steps) [099dcc1801d981260aee9496dbeb55270dca70c1] tracing: Fix set_named_trigger_data() kernel-doc comment testing commit 099dcc1801d981260aee9496dbeb55270dca70c1 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: cc3b505083b2e1693cb9821a1d4460db5d9e4144a41341143ef8d198faa024c7 all runs: OK # git bisect good 099dcc1801d981260aee9496dbeb55270dca70c1 Bisecting: 3472 revisions left to test after this (roughly 12 steps) [a3b7f9b8fa2967e1b3c2a402301715124c90306b] ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 445 G8 testing commit a3b7f9b8fa2967e1b3c2a402301715124c90306b compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 548217923c7e9fd4f79cffa3cd7d1252a579c340aec119881349fc9c443769b0 all runs: OK # git bisect good a3b7f9b8fa2967e1b3c2a402301715124c90306b Bisecting: 3242 revisions left to test after this (roughly 12 steps) [c932ed0adb09a7fa6d6649ee04dd78c83ab07ada] Merge tag 'tty-5.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty testing commit c932ed0adb09a7fa6d6649ee04dd78c83ab07ada compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 258a0c913cbce9af47305c6674de8eb7e3de192b3a7462c4ca2decf4916cd287 run #0: boot failed: possible deadlock in fs_reclaim_acquire run #1: boot failed: possible deadlock in fs_reclaim_acquire 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: BUG: sleeping function called from invalid context in stack_depot_save run #5: boot failed: BUG: sleeping function called from invalid context in stack_depot_save 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: kernel panic: VFS: Unable to mount root fs on unknown-block(0,0) # git bisect skip c932ed0adb09a7fa6d6649ee04dd78c83ab07ada Bisecting: 3242 revisions left to test after this (roughly 12 steps) [9249c32ec9197e8d34fe5179c9e31668a205db04] ACPI: video: Add quirk for the Dell Vostro 3350 testing commit 9249c32ec9197e8d34fe5179c9e31668a205db04 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: b7065284701079ebc1a1f1a1b8e51156d653b26c97bdcf52e24e583512ecdb2a all runs: OK # git bisect good 9249c32ec9197e8d34fe5179c9e31668a205db04 Bisecting: 3241 revisions left to test after this (roughly 12 steps) [37066837974ed5a43f6ed4c743cdf98731940e36] staging: rtl8723bs: remove unused ODM_PRINT_ADDR macro testing commit 37066837974ed5a43f6ed4c743cdf98731940e36 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 520160d85c9885b2d58c0073a62bf78158eef044fe30dbd7ed048739f76188b0 all runs: OK # git bisect good 37066837974ed5a43f6ed4c743cdf98731940e36 Bisecting: 3241 revisions left to test after this (roughly 12 steps) [0cdfb3b20797804ae835d7a325b08d8523794089] RDMA/rtrs-srv: Replace atomic_t with percpu_ref for ids_inflight testing commit 0cdfb3b20797804ae835d7a325b08d8523794089 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 962e2d5e799d2efc415e0fe355ab398bf45bba9119d7de1d21b82d639ea505f6 all runs: OK # git bisect good 0cdfb3b20797804ae835d7a325b08d8523794089 Bisecting: 3241 revisions left to test after this (roughly 12 steps) [6c74a55e1d791be9758d9f23b1c5375854949188] dt-binding: memory: pl353-smc: Describe the child reg property testing commit 6c74a55e1d791be9758d9f23b1c5375854949188 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 6c74a55e1d791be9758d9f23b1c5375854949188 Bisecting: 3241 revisions left to test after this (roughly 12 steps) [30639b8ed6c8e7bcbeb92c4261819bed68463215] ARM: dts: gemini-dlink-dir-685: rename gpio-i2c to i2c testing commit 30639b8ed6c8e7bcbeb92c4261819bed68463215 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 30639b8ed6c8e7bcbeb92c4261819bed68463215 Bisecting: 3233 revisions left to test after this (roughly 12 steps) [48a74b1147f7db4623eaed591cc01eb740b871c0] reset: Add compile-test stubs testing commit 48a74b1147f7db4623eaed591cc01eb740b871c0 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 5118fd9a2b1e093255805c3785a00c4563be7895aff54fb2b445a4bdeaf144b5 all runs: OK # git bisect good 48a74b1147f7db4623eaed591cc01eb740b871c0 Bisecting: 3213 revisions left to test after this (roughly 12 steps) [f299b34ef27cea62a38265fd877a17e5b3d36f80] staging: vchiq_arm: add blank line after declarations testing commit f299b34ef27cea62a38265fd877a17e5b3d36f80 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: a414fd8bfd27ade5b1427d2905c1a2bb015262ad57b4cff4768e2486bb65e98d all runs: OK # git bisect good f299b34ef27cea62a38265fd877a17e5b3d36f80 Bisecting: 3213 revisions left to test after this (roughly 12 steps) [933850c4b9126d41e1b0451e5a1b62c6ddcc0707] net: at91_can: add blank line after declarations testing commit 933850c4b9126d41e1b0451e5a1b62c6ddcc0707 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: af227078972e188f8a7e496f056369d3cb7739579bae680b2dd28edea1462d19 all runs: OK # git bisect good 933850c4b9126d41e1b0451e5a1b62c6ddcc0707 Bisecting: 74 revisions left to test after this (roughly 6 steps) [1118a14710ee97292c52e0185d12caa3eb17ad55] net: ipa: set up IPA interrupts earlier testing commit 1118a14710ee97292c52e0185d12caa3eb17ad55 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: de2715a4c08775c168ea28a7cbbb533ecc750ff84a2c4f9d96551fa2dccb60fa all runs: OK # git bisect good 1118a14710ee97292c52e0185d12caa3eb17ad55 Bisecting: 37 revisions left to test after this (roughly 5 steps) [81a68110a22a4ffdc3cb81377e5a565cd3e1a137] hippi: use ndo_siocdevprivate testing commit 81a68110a22a4ffdc3cb81377e5a565cd3e1a137 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 06ef1c6b089f0613852aa8682548de9187fd556b0f3ad2bf35f8410aca3009b2 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 81a68110a22a4ffdc3cb81377e5a565cd3e1a137 Bisecting: 17 revisions left to test after this (roughly 4 steps) [3343c49a959df1c6ff6560b8dfe178613c5fc38e] staging: wlan-ng: use siocdevprivate testing commit 3343c49a959df1c6ff6560b8dfe178613c5fc38e compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: b3e26d0e934e1bf537adc2b644fc239090f3e0c7d3eff840dca0db2c6885e87d all runs: OK # git bisect good 3343c49a959df1c6ff6560b8dfe178613c5fc38e Bisecting: 8 revisions left to test after this (roughly 3 steps) [d92f7b59d32bfeace7315b416f5244dd5c3935fa] eql: use ndo_siocdevprivate testing commit d92f7b59d32bfeace7315b416f5244dd5c3935fa compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 42e38c4b49f879add2accf941252d65bd7b1a35ad8ebb237416aacd9154e167d 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 d92f7b59d32bfeace7315b416f5244dd5c3935fa Bisecting: 4 revisions left to test after this (roughly 2 steps) [029a4fef6b22b92d4f9b50ac0cdc48dfaff9af68] tulip: use ndo_siocdevprivate testing commit 029a4fef6b22b92d4f9b50ac0cdc48dfaff9af68 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 70ecf80b536af43f51d24c5ce9713d0dcf9b954886c620c9d816edbea1a68116 all runs: OK # git bisect good 029a4fef6b22b92d4f9b50ac0cdc48dfaff9af68 Bisecting: 1 revision left to test after this (roughly 1 step) [99b78a37a3717e5879dda70dec5ef6d23073b379] hamachi: use ndo_siocdevprivate testing commit 99b78a37a3717e5879dda70dec5ef6d23073b379 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 0b4957d10cd89ebef7aeac80f2b02d862ae44113d1a75c07f1e28bf88ed661cd all runs: OK # git bisect good 99b78a37a3717e5879dda70dec5ef6d23073b379 Bisecting: 0 revisions left to test after this (roughly 0 steps) [32d05468c46267db1c0128057d4fcf80332fecf8] tehuti: use ndo_siocdevprivate testing commit 32d05468c46267db1c0128057d4fcf80332fecf8 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 0b4957d10cd89ebef7aeac80f2b02d862ae44113d1a75c07f1e28bf88ed661cd 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 32d05468c46267db1c0128057d4fcf80332fecf8 32d05468c46267db1c0128057d4fcf80332fecf8 is the first bad commit commit 32d05468c46267db1c0128057d4fcf80332fecf8 Author: Arnd Bergmann Date: Tue Jul 27 15:44:57 2021 +0200 tehuti: use ndo_siocdevprivate Tehuti only implements private ioctl commands, and implements them by overriding the ifreq layout, which is broken in compat mode. Move it to the ndo_siocdevprivate callback in order to fix this. Cc: Andy Gospodarek Signed-off-by: Arnd Bergmann Signed-off-by: David S. Miller drivers/net/ethernet/tehuti/tehuti.c | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) culprit signature: 0b4957d10cd89ebef7aeac80f2b02d862ae44113d1a75c07f1e28bf88ed661cd parent signature: 0b4957d10cd89ebef7aeac80f2b02d862ae44113d1a75c07f1e28bf88ed661cd Reproducer flagged being flaky revisions tested: 24, total time: 6h15m53.941263354s (build: 2h38m52.419137991s, test: 3h34m51.488801536s) first bad commit: 32d05468c46267db1c0128057d4fcf80332fecf8 tehuti: use ndo_siocdevprivate recipients (to): ["andy@greyhouse.net" "arnd@arndb.de" "davem@davemloft.net" "davem@davemloft.net" "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:3161 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 8955, name: syz-executor.1 1 lock held by syz-executor.1/8955: #0: ffffffff8c410180 (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: 8955 Comm: syz-executor.1 Not tainted 5.14.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: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:3161 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:0x4665e9 Code: Unable to access opcode bytes at RIP 0x4665bf. RSP: 002b:00007ffc78553df8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007ffc785545b8 RCX: 00000000004665e9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000043 RBP: 0000000000000000 R08: 0000000000000025 R09: 00007ffc785545b8 R10: 00000000ffffffff R11: 0000000000000246 R12: 00000000004bef74 R13: 0000000000000010 R14: 0000000000000000 R15: 0000000000400538 ======================================================