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: b30323b43f6870750ea7eb67afd91ed763b407839e900f10afbf5c53dc53091f run #0: crashed: WARNING: kmalloc bug in hash_ip_create run #1: crashed: WARNING: kmalloc bug in hash_ip_create run #2: crashed: WARNING: kmalloc bug in hash_ip_create run #3: crashed: WARNING: kmalloc bug in hash_ip_create run #4: crashed: WARNING: kmalloc bug in hash_ip_create run #5: crashed: WARNING: kmalloc bug in hash_ip_create run #6: crashed: WARNING: kmalloc bug in hash_ip_create run #7: crashed: WARNING: kmalloc bug in hash_ip_create run #8: crashed: WARNING: kmalloc bug in hash_ip_create run #9: crashed: WARNING: kmalloc bug in hash_ip_create run #10: crashed: WARNING: kmalloc bug in hash_ip_create run #11: crashed: WARNING: kmalloc bug in hash_ip_create run #12: crashed: WARNING: kmalloc bug in hash_ip_create run #13: crashed: WARNING: kmalloc bug in hash_ip_create run #14: crashed: WARNING: kmalloc bug in hash_ip_create run #15: crashed: WARNING: kmalloc bug in hash_ip_create run #16: crashed: WARNING: kmalloc bug in hash_ip_create run #17: crashed: WARNING: kmalloc bug in hash_ip_create run #18: crashed: WARNING: kmalloc bug in hash_ip_create run #19: boot failed: possible deadlock in blktrans_open 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: 1bc25c310b773f41f60536ec01fad7eee81fbd08982b6b34e2bd4f1aafdef1ea 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: 3ad773abad4875aca6165cc8d7a5d10640385c8f0913f100c23018f0927b5091 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: fdf19eb98e9b5acebb60c53458a074837c5e3b81fca2d954b35c7312161fecdb 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: 8cbcb066ce0e423dcee70dc9f00b49cc7112066ce740a7f2b0a0cd0f8bbf6bc1 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: 107df9769a90368980473ccb439b9599b8188d5f5aea1c3eda7b4114b24bc224 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: 107df9769a90368980473ccb439b9599b8188d5f5aea1c3eda7b4114b24bc224 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: 8cbcb066ce0e423dcee70dc9f00b49cc7112066ce740a7f2b0a0cd0f8bbf6bc1 parent signature: 107df9769a90368980473ccb439b9599b8188d5f5aea1c3eda7b4114b24bc224 Reproducer flagged being flaky revisions tested: 7, total time: 2h8m7.119068671s (build: 1h1m54.875836218s, test: 1h4m42.510877702s) 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: 8805, name: syz-executor.2 1 lock held by syz-executor.2/8805: #0: ffffffff8c40f740 (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: 8805 Comm: syz-executor.2 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:00007ffcb12cf8a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007ffcb12d0068 RCX: 00000000004665f9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000043 RBP: 0000000000000000 R08: 0000000000000025 R09: 00007ffcb12d0068 R10: 00000000ffffffff R11: 0000000000000246 R12: 00000000004bef74 R13: 0000000000000010 R14: 0000000000000000 R15: 0000000000400538 ======================================================