bisecting cause commit starting from 6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f building syzkaller on 3ce60af85b4644bd7f2d2ef01a7d2b9a41545b76 testing commit 6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 65895619433c754ce44db3981353c6048e1ca34ec6e78a215e30aa0aa93be4fc run #0: OK run #1: OK run #2: OK run #3: OK run #4: OK run #5: crashed: INFO: task hung in netdev_run_todo 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 reproducer seems to be flaky testing release v5.14 testing commit 7d2a07b769330c34b4deabeed939325c77a7ec2f compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 8c219514f33cf5f7e995cffb6643e798eb9f0e406da2dbcbb7423680d5a3f503 all runs: OK # git bisect start 6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f 7d2a07b769330c34b4deabeed939325c77a7ec2f Bisecting: 5788 revisions left to test after this (roughly 13 steps) [1b4f3dfb4792f03b139edf10124fcbeb44e608e6] Merge tag 'usb-serial-5.15-rc1' of https://git.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial into usb-next testing commit 1b4f3dfb4792f03b139edf10124fcbeb44e608e6 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 2a21ff9c3775a869ed875a487dbb63bb481a58752b4a2427f39fc52291f831d7 all runs: OK # git bisect good 1b4f3dfb4792f03b139edf10124fcbeb44e608e6 Bisecting: 2896 revisions left to test after this (roughly 12 steps) [c793011242d182e5f12800c12dbaf37af80be735] Merge tag 'pinctrl-v5.15-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl testing commit c793011242d182e5f12800c12dbaf37af80be735 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 08e48cb0d5ba83b11ae472f96f785bbfe945a3d557e70e395cc6fc01c2813e85 all runs: OK # git bisect good c793011242d182e5f12800c12dbaf37af80be735 Bisecting: 1447 revisions left to test after this (roughly 11 steps) [5e6a5845dd651b00754a62edec2f0a439182024d] Merge tag 'gpio-updates-for-v5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux testing commit 5e6a5845dd651b00754a62edec2f0a439182024d compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 598b966aa91b123c15d82156fe0cabbc0a26dd1dfd5a96c55a6f065c571f71ea run #0: crashed: KFENCE: use-after-free in kvm_fastop_exception 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 5e6a5845dd651b00754a62edec2f0a439182024d Bisecting: 721 revisions left to test after this (roughly 10 steps) [603eefda5fcf8f9dab3ae253e677abb285f6f3bc] Merge tag 'for-linus' of git://github.com/openrisc/linux testing commit 603eefda5fcf8f9dab3ae253e677abb285f6f3bc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 428ae4e4995f14c146b1a9cf77b4c07d12245b77dc2608bce8eb8119a9b63ca8 all runs: OK # git bisect good 603eefda5fcf8f9dab3ae253e677abb285f6f3bc Bisecting: 356 revisions left to test after this (roughly 9 steps) [f7464060f7ab9a2424428008f0ee9f1e267e410f] Merge git://github.com/Paragon-Software-Group/linux-ntfs3 testing commit f7464060f7ab9a2424428008f0ee9f1e267e410f compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: fbe75b9173f5a408c745287fe447cefe3fd9c79ea24b7b43a451f66219aa5309 all runs: OK # git bisect good f7464060f7ab9a2424428008f0ee9f1e267e410f Bisecting: 221 revisions left to test after this (roughly 8 steps) [58ca24158758f1784400d32743373d7d6227d018] Merge tag 'trace-v5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace testing commit 58ca24158758f1784400d32743373d7d6227d018 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: e38602a0687196019678eea613b91531812f34905071007b27836067a6a8b4ad all runs: OK # git bisect good 58ca24158758f1784400d32743373d7d6227d018 Bisecting: 110 revisions left to test after this (roughly 7 steps) [d21fc5f077f7760bbae5742e185691718518f255] perf evsel: Separate missing feature detection from evsel__open_cpu() testing commit d21fc5f077f7760bbae5742e185691718518f255 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 8c219514f33cf5f7e995cffb6643e798eb9f0e406da2dbcbb7423680d5a3f503 all runs: OK # git bisect good d21fc5f077f7760bbae5742e185691718518f255 Bisecting: 55 revisions left to test after this (roughly 6 steps) [3754707bcc3e190e5dadc978d172b61e809cb3bd] Revert "memcg: enable accounting for file lock caches" testing commit 3754707bcc3e190e5dadc978d172b61e809cb3bd compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: bb255d30331b69e444c6a00041201b83ae3abcd7fcba1d7c95640c8243e1401a all runs: OK # git bisect good 3754707bcc3e190e5dadc978d172b61e809cb3bd Bisecting: 27 revisions left to test after this (roughly 5 steps) [3a29355a22c0275fe864100794fee58a73175d93] gpio: Add virtio-gpio driver testing commit 3a29355a22c0275fe864100794fee58a73175d93 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 8bf5e51399d21157546f99b575beecfca58d53032beaca52f09f1284c5223aef 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 3a29355a22c0275fe864100794fee58a73175d93 Bisecting: 13 revisions left to test after this (roughly 4 steps) [8990899d84d7f46c0c1cd3f41135707b26d0eeaa] gpiolib: of: constify few local device_node variables testing commit 8990899d84d7f46c0c1cd3f41135707b26d0eeaa compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: f912ea5044c25dc1afba1bbae9448f52dd55f106e7ef619272c6cd78a8e71f3a all runs: OK # git bisect good 8990899d84d7f46c0c1cd3f41135707b26d0eeaa Bisecting: 7 revisions left to test after this (roughly 3 steps) [5111c2b6b0194b509f47e6338c4deeeb4497bda8] gpio: dwapb: Get rid of legacy platform data testing commit 5111c2b6b0194b509f47e6338c4deeeb4497bda8 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 4e5e627e5fc39964a51c5939e5a72017e548b86cc093cd509bf0866f09fa6ce2 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 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 good 5111c2b6b0194b509f47e6338c4deeeb4497bda8 Bisecting: 3 revisions left to test after this (roughly 2 steps) [dabe57c3a32d763b4b096915f8488dd9100c37e9] gpio: mlxbf2: Convert to device PM ops testing commit dabe57c3a32d763b4b096915f8488dd9100c37e9 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: f912ea5044c25dc1afba1bbae9448f52dd55f106e7ef619272c6cd78a8e71f3a 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 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 good dabe57c3a32d763b4b096915f8488dd9100c37e9 Bisecting: 1 revision left to test after this (roughly 1 step) [4e6864f8563df318f1aac92f23d06210a2b3d15f] gpio: mlxbf2: Use devm_platform_ioremap_resource() testing commit 4e6864f8563df318f1aac92f23d06210a2b3d15f compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: f912ea5044c25dc1afba1bbae9448f52dd55f106e7ef619272c6cd78a8e71f3a run #0: basic kernel testing failed: possible deadlock in fs_reclaim_acquire run #1: basic kernel testing failed: possible deadlock in fs_reclaim_acquire run #2: crashed: possible deadlock in fs_reclaim_acquire 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 4e6864f8563df318f1aac92f23d06210a2b3d15f Bisecting: 0 revisions left to test after this (roughly 0 steps) [603607e70e3626e6ceb3ddec86e2a060c6cd6191] gpio: mlxbf2: Drop wrong use of ACPI_PTR() testing commit 603607e70e3626e6ceb3ddec86e2a060c6cd6191 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: f912ea5044c25dc1afba1bbae9448f52dd55f106e7ef619272c6cd78a8e71f3a run #0: basic kernel testing failed: possible deadlock in fs_reclaim_acquire run #1: crashed: BUG: sleeping function called from invalid context in lock_sock_nested 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 603607e70e3626e6ceb3ddec86e2a060c6cd6191 603607e70e3626e6ceb3ddec86e2a060c6cd6191 is the first bad commit commit 603607e70e3626e6ceb3ddec86e2a060c6cd6191 Author: Andy Shevchenko Date: Mon Aug 16 14:59:49 2021 +0300 gpio: mlxbf2: Drop wrong use of ACPI_PTR() ACPI_PTR() is more harmful than helpful. For example, in this case if CONFIG_ACPI=n, the ID table left unused which is not what we want. Instead of adding ifdeffery here and there, drop ACPI_PTR() and replace acpi.h with mod_devicetable.h. Signed-off-by: Andy Shevchenko Acked-by: Asmaa Mnehi Signed-off-by: Bartosz Golaszewski drivers/gpio/gpio-mlxbf2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) culprit signature: f912ea5044c25dc1afba1bbae9448f52dd55f106e7ef619272c6cd78a8e71f3a parent signature: f912ea5044c25dc1afba1bbae9448f52dd55f106e7ef619272c6cd78a8e71f3a Reproducer flagged being flaky revisions tested: 16, total time: 4h17m6.493830824s (build: 1h47m24.742584803s, test: 2h27m43.905447111s) first bad commit: 603607e70e3626e6ceb3ddec86e2a060c6cd6191 gpio: mlxbf2: Drop wrong use of ACPI_PTR() recipients (to): ["andriy.shevchenko@linux.intel.com" "asmaa@nvidia.com" "bgolaszewski@baylibre.com"] 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:3100 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 10306, name: syz-executor.3 1 lock held by syz-executor.3/10306: #0: ffffffff8c40af80 (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: 10306 Comm: syz-executor.3 Not tainted 5.14.0-rc1-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:3100 lock_sock include/net/sock.h:1610 [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 get_signal+0x3b2/0x1c80 kernel/signal.c:2808 arch_do_signal_or_restart+0x2a9/0x1c40 arch/x86/kernel/signal.c:865 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0x17d/0x290 kernel/entry/common.c:209 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:302 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x41940b Code: Unable to access opcode bytes at RIP 0x4193e1. RSP: 002b:00007ffc7ed2d6e0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 000000000041940b RDX: 00000000005708b0 RSI: 0000000000000001 RDI: 0000000000000004 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000001b33920118 R10: 00007ffc7ed2d7d0 R11: 0000000000000293 R12: 0000000000013e25 R13: 00000000000003e8 R14: 000000000056bf80 R15: 0000000000013c31 ======================================================