bisecting cause commit starting from a9c9a6f741cdaa2fa9ba24a790db8d07295761e3 building syzkaller on f62a58290e2f1200a2b21f2707a9ff0394a2a724 testing commit a9c9a6f741cdaa2fa9ba24a790db8d07295761e3 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: b09044881bc018e89969e71baeab2135d4b50a88a316fa52505ef93bfab21244 all runs: crashed: WARNING: kmalloc bug in hash_net_create 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: 42ab57fc9434604be7336d8d442f9783c66c96a21b1e995b8854978c9dcd9fa5 all runs: OK # git bisect start a9c9a6f741cdaa2fa9ba24a790db8d07295761e3 7d2a07b769330c34b4deabeed939325c77a7ec2f Bisecting: 4220 revisions left to test after this (roughly 12 steps) [ebf435d3b51b22340ef047aad0c2936ec4833ab2] Merge tag 'staging-5.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging testing commit ebf435d3b51b22340ef047aad0c2936ec4833ab2 arch/x86/kernel/setup.c:916:6: error: implicit declaration of function 'acpi_mps_check' [-Werror=implicit-function-declaration] arch/x86/kernel/setup.c:1110:2: error: implicit declaration of function 'acpi_table_upgrade' [-Werror=implicit-function-declaration] arch/x86/kernel/setup.c:1112:2: error: implicit declaration of function 'acpi_boot_table_init' [-Werror=implicit-function-declaration] arch/x86/kernel/setup.c:1120:2: error: implicit declaration of function 'early_acpi_boot_init'; did you mean 'early_cpu_init'? [-Werror=implicit-function-declaration] arch/x86/kernel/setup.c:1162:2: error: implicit declaration of function 'acpi_boot_init' [-Werror=implicit-function-declaration] # git bisect skip ebf435d3b51b22340ef047aad0c2936ec4833ab2 Bisecting: 4220 revisions left to test after this (roughly 12 steps) [afb08b7e220ef7278ffceb4f9e201c2a904e18a9] net: ipa: move IPA flags field testing commit afb08b7e220ef7278ffceb4f9e201c2a904e18a9 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: fb7b63ffccea52a919295efe09137bbda1dd02b3a50e026ae9da6ce2a45aa51c all runs: OK # git bisect good afb08b7e220ef7278ffceb4f9e201c2a904e18a9 Bisecting: 3980 revisions left to test after this (roughly 12 steps) [07281a257a6868b900da5de1eda808c9e20253f1] Merge tag 'usb-5.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb testing commit 07281a257a6868b900da5de1eda808c9e20253f1 arch/x86/kernel/setup.c:916:6: error: implicit declaration of function 'acpi_mps_check' [-Werror=implicit-function-declaration] arch/x86/kernel/setup.c:1110:2: error: implicit declaration of function 'acpi_table_upgrade' [-Werror=implicit-function-declaration] arch/x86/kernel/setup.c:1112:2: error: implicit declaration of function 'acpi_boot_table_init' [-Werror=implicit-function-declaration] arch/x86/kernel/setup.c:1120:2: error: implicit declaration of function 'early_acpi_boot_init'; did you mean 'early_cpu_init'? [-Werror=implicit-function-declaration] arch/x86/kernel/setup.c:1162:2: error: implicit declaration of function 'acpi_boot_init' [-Werror=implicit-function-declaration] # git bisect skip 07281a257a6868b900da5de1eda808c9e20253f1 Bisecting: 3980 revisions left to test after this (roughly 12 steps) [8d7e5908c0bcf8a0abc437385e58e49abab11a93] mailbox: qcom-ipcc: Enable loading QCOM_IPCC as a module testing commit 8d7e5908c0bcf8a0abc437385e58e49abab11a93 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: d2840f49ee4cc95635d1162c6cf180ed069d23e92a6b657e2532275d98dc5cf8 all runs: OK # git bisect good 8d7e5908c0bcf8a0abc437385e58e49abab11a93 Bisecting: 3978 revisions left to test after this (roughly 12 steps) [e6e7471706dc42cbe0e01278540c0730138d43e5] bvec: add a bvec_kmap_local helper testing commit e6e7471706dc42cbe0e01278540c0730138d43e5 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 9e77e5be7c50f8f039583aaec16363124285c740fa15b3188e9edaabcb755268 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 e6e7471706dc42cbe0e01278540c0730138d43e5 Bisecting: 1 revision left to test after this (roughly 1 step) [4c7251e1b576d884046e62d23505e75486f88c1f] MIPS: don't include in testing commit 4c7251e1b576d884046e62d23505e75486f88c1f compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 4526d6e00b870d5b37855420646a3099f0249879d9e3adca19375306f47997c7 all runs: OK # git bisect good 4c7251e1b576d884046e62d23505e75486f88c1f Bisecting: 0 revisions left to test after this (roughly 0 steps) [e45cef51dba9765a6e1df1be724f3d26323512c8] bvec: fix the include guards for bvec.h testing commit e45cef51dba9765a6e1df1be724f3d26323512c8 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 4526d6e00b870d5b37855420646a3099f0249879d9e3adca19375306f47997c7 all runs: OK # git bisect good e45cef51dba9765a6e1df1be724f3d26323512c8 e6e7471706dc42cbe0e01278540c0730138d43e5 is the first bad commit commit e6e7471706dc42cbe0e01278540c0730138d43e5 Author: Christoph Hellwig Date: Tue Jul 27 07:56:34 2021 +0200 bvec: add a bvec_kmap_local helper Add a helper to call kmap_local_page on a bvec. There is no need for an unmap helper given that kunmap_local accept any address in the mapped page. Signed-off-by: Christoph Hellwig Reviewed-by: Chaitanya Kulkarni Reviewed-by: Martin K. Petersen Reviewed-by: Ira Weiny Link: https://lore.kernel.org/r/20210727055646.118787-4-hch@lst.de Signed-off-by: Jens Axboe include/linux/bvec.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) culprit signature: 9e77e5be7c50f8f039583aaec16363124285c740fa15b3188e9edaabcb755268 parent signature: 4526d6e00b870d5b37855420646a3099f0249879d9e3adca19375306f47997c7 Reproducer flagged being flaky revisions tested: 7, total time: 2h13m46.867350447s (build: 1h13m20.718475966s, test: 59m14.316624036s) first bad commit: e6e7471706dc42cbe0e01278540c0730138d43e5 bvec: add a bvec_kmap_local helper recipients (to): ["axboe@kernel.dk" "chaitanya.kulkarni@wdc.com" "hch@lst.de" "ira.weiny@intel.com" "martin.petersen@oracle.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:3161 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 8813, name: syz-executor.5 1 lock held by syz-executor.5/8813: #0: ffffffff8c40b980 (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: 8813 Comm: syz-executor.5 Not tainted 5.14.0-rc4-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:0x4665f9 Code: Unable to access opcode bytes at RIP 0x4665cf. RSP: 002b:00007fff27442b28 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007fff274432e8 RCX: 00000000004665f9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000043 RBP: 0000000000000000 R08: 0000000000000025 R09: 00007fff274432e8 R10: 00000000ffffffff R11: 0000000000000246 R12: 00000000004bef74 R13: 0000000000000010 R14: 0000000000000000 R15: 0000000000400538 ======================================================