bisecting fixing commit since 28a2686c185e84b6aa6a4d9c9a972360eb7ca266 building syzkaller on 49ca1f59e37fcf63dc38a6bd2b60fcc47a0a708e testing commit 28a2686c185e84b6aa6a4d9c9a972360eb7ca266 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: cd002552844078de5f980f0617be9ff80740714a31edf6602cf3196fbaa1b1fa all runs: crashed: BUG: sleeping function called from invalid context in tipc_crypto_start testing current HEAD baa59504c1cd0cca7d41954a45ee0b3dc78e41a0 testing commit baa59504c1cd0cca7d41954a45ee0b3dc78e41a0 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: db9355f907acf6ed60d696c19d51d5bab20a3aa40b1f9a6c3a4d433037cadb25 all runs: OK # git bisect start baa59504c1cd0cca7d41954a45ee0b3dc78e41a0 28a2686c185e84b6aa6a4d9c9a972360eb7ca266 Bisecting: 3124 revisions left to test after this (roughly 12 steps) [8aaaf2f3af2ae212428f4db1af34214225f5cec3] Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net testing commit 8aaaf2f3af2ae212428f4db1af34214225f5cec3 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: e2f3e1b78fd6d1c44b421b21f6b6622b17444cc8155111ef2c2235989e8d9072 all runs: OK # git bisect bad 8aaaf2f3af2ae212428f4db1af34214225f5cec3 Bisecting: 1552 revisions left to test after this (roughly 11 steps) [7cd2802d7496c1fc76f42dc045b48cc16d11df39] Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net testing commit 7cd2802d7496c1fc76f42dc045b48cc16d11df39 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 00b1bcca1d8df6d3f600135af1260c80d81029c17d190a3b2a3d22a22d1c11ba all runs: crashed: BUG: sleeping function called from invalid context in tipc_crypto_start # git bisect good 7cd2802d7496c1fc76f42dc045b48cc16d11df39 Bisecting: 614 revisions left to test after this (roughly 10 steps) [aec53e60e0e665b359328b946654bc3ef77aed57] Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net testing commit aec53e60e0e665b359328b946654bc3ef77aed57 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 4029226226c4e36fc9d0fdfeaae2dcea9f531fda19248c805350f81ca82ea93c all runs: OK # git bisect bad aec53e60e0e665b359328b946654bc3ef77aed57 Bisecting: 451 revisions left to test after this (roughly 9 steps) [8b3f91332291fa280a56215f5189baca185998f5] Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net testing commit 8b3f91332291fa280a56215f5189baca185998f5 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 83771b2ee4a43e5febc6e52918ff7a26cd7c2d3fda26d782510b531820e35a05 all runs: OK # git bisect bad 8b3f91332291fa280a56215f5189baca185998f5 Bisecting: 242 revisions left to test after this (roughly 8 steps) [be98737a4faa3a0dc1781ced5bbf5c47865e29d7] net/mlx5e: Use dynamic per-channel allocations in stats testing commit be98737a4faa3a0dc1781ced5bbf5c47865e29d7 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 3c5cf521f091e074086ea4a5eefb84eec018bf68bcbe59841303556b5b9c55b7 all runs: crashed: BUG: sleeping function called from invalid context in tipc_crypto_start # git bisect good be98737a4faa3a0dc1781ced5bbf5c47865e29d7 Bisecting: 114 revisions left to test after this (roughly 7 steps) [bc11517bc8219314948780570ec92814d14d6602] Merge tag 'iwlwifi-next-for-kalle-2021-12-21-v2' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-next testing commit bc11517bc8219314948780570ec92814d14d6602 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 2ca5ef683da7656a8baf6a44af68bd5b88a45ac65744dda448c456ead7c03d53 all runs: crashed: BUG: sleeping function called from invalid context in tipc_crypto_start # git bisect good bc11517bc8219314948780570ec92814d14d6602 Bisecting: 49 revisions left to test after this (roughly 6 steps) [f2b551fad8d8f2ac5e1f810ad595298381e0b0c5] Merge tag 'wireless-drivers-next-2021-12-23' of git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next testing commit f2b551fad8d8f2ac5e1f810ad595298381e0b0c5 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 6b1ec5088aacbf53b17bc5fc9eabb703c53eb8f0dc19962634ed9b3eade73620 all runs: crashed: BUG: sleeping function called from invalid context in tipc_crypto_start # git bisect good f2b551fad8d8f2ac5e1f810ad595298381e0b0c5 Bisecting: 24 revisions left to test after this (roughly 5 steps) [87a270625a89fc841f1a7e21aae6176543d8385c] mac80211: fix locking in ieee80211_start_ap error path testing commit 87a270625a89fc841f1a7e21aae6176543d8385c compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 0be108b477143acec81266945df3c609b6f8ee22439b55e7989e3ad3740114c9 all runs: OK # git bisect bad 87a270625a89fc841f1a7e21aae6176543d8385c Bisecting: 12 revisions left to test after this (roughly 4 steps) [8b681bd7c301c423fbe97a6b23388a2180ff04ca] net: marvell: prestera: fix incorrect return of port_find testing commit 8b681bd7c301c423fbe97a6b23388a2180ff04ca compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: cfd3587382d2e4e9f6d4c83c17e2a429dd2346ec9ab31f149b617a1dc4731b9b all runs: OK # git bisect bad 8b681bd7c301c423fbe97a6b23388a2180ff04ca Bisecting: 5 revisions left to test after this (roughly 3 steps) [ec624fe740b416fb68d536b37fb8eef46f90b5c2] net/sched: Extend qdisc control block with tc control block testing commit ec624fe740b416fb68d536b37fb8eef46f90b5c2 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 561e5f3549b395a3c25bf8ad896f95af5d99afed3c4b8e90b1ad2fc3f0061075 all runs: crashed: BUG: sleeping function called from invalid context in tipc_crypto_start # git bisect good ec624fe740b416fb68d536b37fb8eef46f90b5c2 Bisecting: 2 revisions left to test after this (roughly 2 steps) [14193d57c81456541256e2545865d0f9536794eb] Merge branch 'net-sched-fix-ct-zone-matching-for-invalid-conntrack-state' testing commit 14193d57c81456541256e2545865d0f9536794eb compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: edd18f35a94d886f8c77fc4da71cbcc54f0d597998087e67953d0aad84d18a85 all runs: crashed: BUG: sleeping function called from invalid context in tipc_crypto_start # git bisect good 14193d57c81456541256e2545865d0f9536794eb Bisecting: 0 revisions left to test after this (roughly 1 step) [f845fe5819efc4111c456c102f15db6d9ed3406e] Revert "tipc: use consistent GFP flags" testing commit f845fe5819efc4111c456c102f15db6d9ed3406e compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: cfd3587382d2e4e9f6d4c83c17e2a429dd2346ec9ab31f149b617a1dc4731b9b all runs: OK # git bisect bad f845fe5819efc4111c456c102f15db6d9ed3406e Bisecting: 0 revisions left to test after this (roughly 0 steps) [1488fc204568f707fe2a42a913788c00a95af30e] net: lantiq_xrx200: increase buffer reservation testing commit 1488fc204568f707fe2a42a913788c00a95af30e compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: edd18f35a94d886f8c77fc4da71cbcc54f0d597998087e67953d0aad84d18a85 all runs: crashed: BUG: sleeping function called from invalid context in tipc_crypto_start # git bisect good 1488fc204568f707fe2a42a913788c00a95af30e f845fe5819efc4111c456c102f15db6d9ed3406e is the first bad commit commit f845fe5819efc4111c456c102f15db6d9ed3406e Author: Hoang Le Date: Fri Dec 17 10:00:59 2021 +0700 Revert "tipc: use consistent GFP flags" This reverts commit 86c3a3e964d910a62eeb277d60b2a60ebefa9feb. The tipc_aead_init() function can be calling from an interrupt routine. This allocation might sleep with GFP_KERNEL flag, hence the following BUG is reported. [ 17.657509] BUG: sleeping function called from invalid context at include/linux/sched/mm.h:230 [ 17.660916] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 17.664093] preempt_count: 302, expected: 0 [ 17.665619] RCU nest depth: 2, expected: 0 [ 17.667163] Preemption disabled at: [ 17.667165] [<0000000000000000>] 0x0 [ 17.669753] CPU: 3 PID: 0 Comm: swapper/3 Kdump: loaded Tainted: G W 5.16.0-rc4+ #1 [ 17.673006] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 17.675540] Call Trace: [ 17.676285] [ 17.676913] dump_stack_lvl+0x34/0x44 [ 17.678033] __might_resched.cold+0xd6/0x10f [ 17.679311] kmem_cache_alloc_trace+0x14d/0x220 [ 17.680663] tipc_crypto_start+0x4a/0x2b0 [tipc] [ 17.682146] ? kmem_cache_alloc_trace+0xd3/0x220 [ 17.683545] tipc_node_create+0x2f0/0x790 [tipc] [ 17.684956] tipc_node_check_dest+0x72/0x680 [tipc] [ 17.686706] ? ___cache_free+0x31/0x350 [ 17.688008] ? skb_release_data+0x128/0x140 [ 17.689431] tipc_disc_rcv+0x479/0x510 [tipc] [ 17.690904] tipc_rcv+0x71c/0x730 [tipc] [ 17.692219] ? __netif_receive_skb_core+0xb7/0xf60 [ 17.693856] tipc_l2_rcv_msg+0x5e/0x90 [tipc] [ 17.695333] __netif_receive_skb_list_core+0x20b/0x260 [ 17.697072] netif_receive_skb_list_internal+0x1bf/0x2e0 [ 17.698870] ? dev_gro_receive+0x4c2/0x680 [ 17.700255] napi_complete_done+0x6f/0x180 [ 17.701657] virtnet_poll+0x29c/0x42e [virtio_net] [ 17.703262] __napi_poll+0x2c/0x170 [ 17.704429] net_rx_action+0x22f/0x280 [ 17.705706] __do_softirq+0xfd/0x30a [ 17.706921] common_interrupt+0xa4/0xc0 [ 17.708206] [ 17.708922] [ 17.709651] asm_common_interrupt+0x1e/0x40 [ 17.711078] RIP: 0010:default_idle+0x18/0x20 Fixes: 86c3a3e964d9 ("tipc: use consistent GFP flags") Acked-by: Jon Maloy Signed-off-by: Hoang Le Link: https://lore.kernel.org/r/20211217030059.5947-1-hoang.h.le@dektech.com.au Signed-off-by: Jakub Kicinski net/tipc/crypto.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) culprit signature: cfd3587382d2e4e9f6d4c83c17e2a429dd2346ec9ab31f149b617a1dc4731b9b parent signature: edd18f35a94d886f8c77fc4da71cbcc54f0d597998087e67953d0aad84d18a85 revisions tested: 15, total time: 2h26m10.015546663s (build: 1h39m54.918574093s, test: 44m48.140123289s) first good commit: f845fe5819efc4111c456c102f15db6d9ed3406e Revert "tipc: use consistent GFP flags" recipients (to): ["hoang.h.le@dektech.com.au" "jmaloy@redhat.com" "kuba@kernel.org"] recipients (cc): []