bisecting cause commit starting from 6799d4f2da496cab9b3fd26283a8ce3639b1a88d building syzkaller on 325a8dab43fe8af46c179dcb4e2426613440fe85 testing commit 6799d4f2da496cab9b3fd26283a8ce3639b1a88d with gcc (GCC) 10.2.1 20210217 kernel signature: 938168dba7bc846bd6194159f903f004c619fc49d6b56e8f8ba9c9020ab9f81f all runs: crashed: INFO: trying to register non-static key in skb_queue_tail testing release v5.12 testing commit 9f4ad9e425a1d3b6a34617b8ea226d56a119a717 with gcc (GCC) 10.2.1 20210217 kernel signature: 20a3195b0c2adea39c30d2e9f830a6fa425a34f031f28cd84a5fc4bf09ce8f4d all runs: crashed: INFO: trying to register non-static key in skb_queue_tail testing release v5.11 testing commit f40ddce88593482919761f74910f42f4b84c004b with gcc (GCC) 10.2.1 20210217 kernel signature: 22b26ae1e3be417e2ad324e47433a262e845b6471dfc09f4fa2f647b3330df8e all runs: crashed: INFO: trying to register non-static key in skb_queue_tail testing release v5.10 testing commit 2c85ebc57b3e1817b6ce1a6b703928e113a90442 with gcc (GCC) 10.2.1 20210217 kernel signature: 8f55ba93fd53951cac9b68b979c728becbef461543abacbe99727324ff41baf6 all runs: crashed: INFO: trying to register non-static key in skb_queue_tail testing release v5.9 testing commit bbf5c979011a099af5dc76498918ed7df445635b with gcc (GCC) 10.2.1 20210217 kernel signature: f654d07eeb7c456b884d4afbd5bc4d393d1b1677ed42327eee0eaef482a1d4de all runs: crashed: INFO: trying to register non-static key in skb_queue_tail testing release v5.8 testing commit bcf876870b95592b52519ed4aafcf9d95999bc9c with gcc (GCC) 8.4.1 20210217 kernel signature: 1063ebaf54671db7804acf12269942e9a5933d00bfb78bb5cf898a218f3c1d07 all runs: crashed: INFO: trying to register non-static key in skb_queue_tail testing release v5.7 testing commit 3d77e6a8804abcc0504c904bd6e5cdf3a5cf8162 with gcc (GCC) 8.4.1 20210217 kernel signature: 3856a09b3d94850025e3ae49dd0f33b972955333e09df445983a6a278d85997d all runs: OK # git bisect start bcf876870b95592b52519ed4aafcf9d95999bc9c 3d77e6a8804abcc0504c904bd6e5cdf3a5cf8162 Bisecting: 8752 revisions left to test after this (roughly 13 steps) [694b5a5d313f3997764b67d52bab66ec7e59e714] Merge tag 'arm-soc-5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc testing commit 694b5a5d313f3997764b67d52bab66ec7e59e714 with gcc (GCC) 8.4.1 20210217 kernel signature: e3c9d0a702e47eebeb4dd9082e44a8dd2addfedb876b350e00a1d2ca5c4461eb all runs: OK # git bisect good 694b5a5d313f3997764b67d52bab66ec7e59e714 Bisecting: 4379 revisions left to test after this (roughly 12 steps) [595a56ac1b0d5f0a16a89589ef55ffd35c1967a2] Merge tag 'linux-kselftest-kunit-5.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest testing commit 595a56ac1b0d5f0a16a89589ef55ffd35c1967a2 with gcc (GCC) 8.4.1 20210217 kernel signature: 8c2554826eeaae5b5dae1a895e2b7d52cbee4c606fd9d3c23aca19cbe39f86b0 all runs: basic kernel testing failed: BUG: using smp_processor_id() in preemptible code in ext4_mb_new_blocks # git bisect skip 595a56ac1b0d5f0a16a89589ef55ffd35c1967a2 Bisecting: 4379 revisions left to test after this (roughly 12 steps) [5b83c254571b26e6b6110019929dc9729e5c59d1] Merge tag 'amd-drm-fixes-5.8-2020-06-24' of git://people.freedesktop.org/~agd5f/linux into drm-fixes testing commit 5b83c254571b26e6b6110019929dc9729e5c59d1 with gcc (GCC) 8.4.1 20210217 kernel signature: 06b9da399bd4ff8b13e1bc7c816d3d2892fb9d358c83a400da410fc1885470ff all runs: basic kernel testing failed: KASAN: use-after-free Write in afs_wake_up_async_call # git bisect skip 5b83c254571b26e6b6110019929dc9729e5c59d1 Bisecting: 4379 revisions left to test after this (roughly 12 steps) [36d48981d6adf2d3a1d9713df7c145b6f4b4ef22] arm64: dts: juno: Fix GPU interrupt order testing commit 36d48981d6adf2d3a1d9713df7c145b6f4b4ef22 with gcc (GCC) 8.4.1 20210217 kernel signature: aca885cd88f070cdfb3300611dd792bec6f4d51bda3b54786080a2276d14d094 all runs: boot failed: kernel panic: VFS: Unable to mount root fs on unknown-block(8,1) # git bisect skip 36d48981d6adf2d3a1d9713df7c145b6f4b4ef22 Bisecting: 4379 revisions left to test after this (roughly 12 steps) [817d914d17651c188f28a284261ff6091d80ad2c] Merge tag 'selinux-pr-20200621' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux testing commit 817d914d17651c188f28a284261ff6091d80ad2c with gcc (GCC) 8.4.1 20210217 kernel signature: 8a452ea7b01114a47b491c5b3f6ba115fd2064a433327e9440112a3453e1ce60 all runs: basic kernel testing failed: KASAN: use-after-free Write in afs_wake_up_async_call # git bisect skip 817d914d17651c188f28a284261ff6091d80ad2c Bisecting: 4379 revisions left to test after this (roughly 12 steps) [8a45fe7053a2c33b786706bdcd77d7ccf1531ef7] samples: uhid: fix warnings in uhid-example testing commit 8a45fe7053a2c33b786706bdcd77d7ccf1531ef7 with gcc (GCC) 8.4.1 20210217 kernel signature: b5034ca36a2ddb07aaffdabbbe5ab80a7bd574fc7322a8275cf53f4c0ec4bc0d all runs: crashed: INFO: trying to register non-static key in skb_queue_tail # git bisect bad 8a45fe7053a2c33b786706bdcd77d7ccf1531ef7 Bisecting: 9 revisions left to test after this (roughly 3 steps) [ea21e9041404c4cafd63de4762287fb1b7ba357f] kbuild: remove '/' target testing commit ea21e9041404c4cafd63de4762287fb1b7ba357f with gcc (GCC) 8.4.1 20210217 kernel signature: 7295fae4ff5b81dedec9a90d06e3de8289b69745898988b4800ef0cea9871f4d all runs: crashed: INFO: trying to register non-static key in skb_queue_tail # git bisect bad ea21e9041404c4cafd63de4762287fb1b7ba357f Bisecting: 4 revisions left to test after this (roughly 2 steps) [e33ae3ed331a5cfa24b2abe483f7f4b27bb99c06] kbuild: use $(CC_VERSION_TEXT) to evaluate CC_IS_GCC and CC_IS_CLANG testing commit e33ae3ed331a5cfa24b2abe483f7f4b27bb99c06 with gcc (GCC) 8.4.1 20210217 kernel signature: ce0012574ce121dc750842bf15c1aa5ddbb9c917f2e33c74ac71c0ce81990c34 all runs: crashed: INFO: trying to register non-static key in skb_queue_tail # git bisect bad e33ae3ed331a5cfa24b2abe483f7f4b27bb99c06 Bisecting: 2 revisions left to test after this (roughly 1 step) [6632fa8fcabacd75329bd2ea78cba5c43754639a] hexagon: suppress error message for 'make clean' testing commit 6632fa8fcabacd75329bd2ea78cba5c43754639a with gcc (GCC) 8.4.1 20210217 kernel signature: ce0012574ce121dc750842bf15c1aa5ddbb9c917f2e33c74ac71c0ce81990c34 all runs: crashed: INFO: trying to register non-static key in skb_queue_tail # git bisect bad 6632fa8fcabacd75329bd2ea78cba5c43754639a Bisecting: 0 revisions left to test after this (roughly 0 steps) [7e49afc03212010d0ee27532a75cfeb0125bd868] um: do not evaluate compiler's library path when cleaning testing commit 7e49afc03212010d0ee27532a75cfeb0125bd868 with gcc (GCC) 8.4.1 20210217 kernel signature: ce0012574ce121dc750842bf15c1aa5ddbb9c917f2e33c74ac71c0ce81990c34 all runs: crashed: INFO: trying to register non-static key in skb_queue_tail # git bisect bad 7e49afc03212010d0ee27532a75cfeb0125bd868 7e49afc03212010d0ee27532a75cfeb0125bd868 is the first bad commit commit 7e49afc03212010d0ee27532a75cfeb0125bd868 Author: Masahiro Yamada Date: Sat Apr 18 03:04:55 2020 +0900 um: do not evaluate compiler's library path when cleaning Since commit a83e4ca26af8 ("kbuild: remove cc-option switch from -Wframe-larger-than="), 'make ARCH=um clean' emits an error message as follows: $ make ARCH=um clean gcc: error: missing argument to '-Wframe-larger-than=' We do not care compiler flags when cleaning. Use the '=' operator for lazy expansion because we do not use LDFLAGS_pcap.o or LDFLAGS_vde.o when cleaning. While I was here, I removed the redundant -r option because it already exists in the recipe. Fixes: a83e4ca26af8 ("kbuild: remove cc-option switch from -Wframe-larger-than=") Signed-off-by: Masahiro Yamada Reviewed-by: Nathan Chancellor Tested-by: Nathan Chancellor [build] arch/um/drivers/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) parent commit 2ef96a5bb12be62ef75b5828c0aab838ebb29cb8 wasn't tested testing commit 2ef96a5bb12be62ef75b5828c0aab838ebb29cb8 with gcc (GCC) 8.4.1 20210217 kernel signature: ce0012574ce121dc750842bf15c1aa5ddbb9c917f2e33c74ac71c0ce81990c34 culprit signature: ce0012574ce121dc750842bf15c1aa5ddbb9c917f2e33c74ac71c0ce81990c34 parent signature: ce0012574ce121dc750842bf15c1aa5ddbb9c917f2e33c74ac71c0ce81990c34 revisions tested: 17, total time: 3h34m23.377540379s (build: 2h22m51.237240525s, test: 1h8m50.836529147s) first bad commit: 7e49afc03212010d0ee27532a75cfeb0125bd868 um: do not evaluate compiler's library path when cleaning recipients (to): ["linux-kernel@vger.kernel.org" "masahiroy@kernel.org" "natechancellor@gmail.com"] recipients (cc): ["anton.ivanov@cambridgegreys.com" "jdike@addtoit.com" "linux-um@lists.infradead.org" "richard@nod.at"] crash: INFO: trying to register non-static key in skb_queue_tail INFO: trying to register non-static key. the code is fine but needs lockdep annotation. turning off the locking correctness validator. CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.7.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x96/0xe0 lib/dump_stack.c:118 assign_lock_key kernel/locking/lockdep.c:913 [inline] register_lock_class+0x1940/0x1a10 kernel/locking/lockdep.c:1225 __lock_acquire+0x107/0x6ba0 kernel/locking/lockdep.c:4234 lock_acquire+0x178/0xa70 kernel/locking/lockdep.c:4934 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x33/0x50 kernel/locking/spinlock.c:159 skb_queue_tail+0x22/0x170 net/core/skbuff.c:3143 hif_usb_regout_cb+0xf9/0x1a0 drivers/net/wireless/ath/ath9k/hif_usb.c:90 __usb_hcd_giveback_urb+0x1b6/0x3c0 drivers/usb/core/hcd.c:1648 freedev drivers/block/aoe/aoedev.c:285 [inline] dummy_timer+0xfc6/0x2d0d drivers/block/aoe/aoedev.c:366 call_timer_fn+0x16f/0x5b0 kernel/time/timer.c:1405 expire_timers kernel/time/timer.c:1450 [inline] __run_timers kernel/time/timer.c:1774 [inline] run_timer_softirq+0x687/0x11a0 kernel/time/timer.c:1787 __do_softirq+0x24a/0xaec kernel/softirq.c:292 invoke_softirq kernel/softirq.c:373 [inline] irq_exit+0x167/0x190 kernel/softirq.c:413 exiting_irq arch/x86/include/asm/apic.h:546 [inline] smp_apic_timer_interrupt+0x1d0/0x690 arch/x86/kernel/apic/apic.c:1140 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829 RIP: 0010:default_idle+0x25/0x310 arch/x86/kernel/process.c:698 Code: ff ff cc cc cc 41 56 41 55 41 54 55 53 e8 73 2c 62 fb 0f 1f 44 00 00 e8 89 9a 48 f9 e9 07 00 00 00 0f 00 2d bd 74 5e 00 fb f4 56 2c 62 fb 41 89 c5 0f 1f 44 00 00 5b 5d 41 5c 41 5d 41 5e c3 RSP: 0018:ffffffff8a207d98 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000007 RBX: dffffc0000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000006 RDI: ffffffff8a28a0dc RBP: 0000000000000000 R08: fffffbfff14512f9 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: ffffffff8c8cf200 R14: 0000000000000000 R15: 0000000000000000 cpuidle_idle_call kernel/sched/idle.c:154 [inline] do_idle+0x375/0x500 kernel/sched/idle.c:269 cpu_startup_entry+0x14/0x16 kernel/sched/idle.c:361 start_kernel+0x57c/0x5ba init/main.c:1038 secondary_startup_64+0xa4/0xb0 arch/x86/kernel/head_64.S:242 general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#2] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G D 5.7.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__write_once_size include/linux/compiler.h:226 [inline] RIP: 0010:__skb_insert include/linux/skbuff.h:1921 [inline] RIP: 0010:__skb_queue_before include/linux/skbuff.h:2027 [inline] RIP: 0010:__skb_queue_tail include/linux/skbuff.h:2060 [inline] RIP: 0010:skb_queue_tail+0xaf/0x170 net/core/skbuff.c:3144 Code: 08 48 ba 00 00 00 00 00 fc ff df 48 c1 e9 03 80 3c 11 00 75 7d 4c 89 e1 48 89 6b 08 48 ba 00 00 00 00 00 fc ff df 48 c1 e9 03 <80> 3c 11 00 75 50 48 8d 7b 10 49 89 2c 24 48 ba 00 00 00 00 00 fc RSP: 0018:ffffc90000007ab8 EFLAGS: 00010056 RAX: 0000000000000096 RBX: ffff888084bfb5d0 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: 0000000000000004 RDI: ffff8880a933a648 RBP: ffff8880a933a640 R08: 0000000000000004 R09: fffff52000000f45 R10: 0000000000000003 R11: fffff52000000f45 R12: 0000000000000000 R13: ffff888084bfb5d8 R14: ffff888084bfb5e8 R15: ffff8882362d7000 FS: 0000000000000000(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000005680c0 CR3: 00000000a9060000 CR4: 0000000000340ef0 Call Trace: hif_usb_regout_cb+0xf9/0x1a0 drivers/net/wireless/ath/ath9k/hif_usb.c:90 __usb_hcd_giveback_urb+0x1b6/0x3c0 drivers/usb/core/hcd.c:1648 freedev drivers/block/aoe/aoedev.c:285 [inline] dummy_timer+0xfc6/0x2d0d drivers/block/aoe/aoedev.c:366 call_timer_fn+0x16f/0x5b0 kernel/time/timer.c:1405 expire_timers kernel/time/timer.c:1450 [inline] __run_timers kernel/time/timer.c:1774 [inline] run_timer_softirq+0x687/0x11a0 kernel/time/timer.c:1787 __do_softirq+0x24a/0xaec kernel/softirq.c:292 invoke_softirq kernel/softirq.c:373 [inline] irq_exit+0x167/0x190 kernel/softirq.c:413 exiting_irq arch/x86/include/asm/apic.h:546 [inline] smp_apic_timer_interrupt+0x1d0/0x690 arch/x86/kernel/apic/apic.c:1140 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829 RIP: 0010:default_idle+0x25/0x310 arch/x86/kernel/process.c:698 Code: ff ff cc cc cc 41 56 41 55 41 54 55 53 e8 73 2c 62 fb 0f 1f 44 00 00 e8 89 9a 48 f9 e9 07 00 00 00 0f 00 2d bd 74 5e 00 fb f4 56 2c 62 fb 41 89 c5 0f 1f 44 00 00 5b 5d 41 5c 41 5d 41 5e c3 RSP: 0018:ffffffff8a207d98 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000007 RBX: dffffc0000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000006 RDI: ffffffff8a28a0dc RBP: 0000000000000000 R08: fffffbfff14512f9 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: ffffffff8c8cf200 R14: 0000000000000000 R15: 0000000000000000 cpuidle_idle_call kernel/sched/idle.c:154 [inline] do_idle+0x375/0x500 kernel/sched/idle.c:269 cpu_startup_entry+0x14/0x16 kernel/sched/idle.c:361 start_kernel+0x57c/0x5ba init/main.c:1038 secondary_startup_64+0xa4/0xb0 arch/x86/kernel/head_64.S:242 Modules linked in: ---[ end trace d3cd3bc714faf011 ]--- RIP: 0010:__write_once_size include/linux/compiler.h:226 [inline] RIP: 0010:__skb_insert include/linux/skbuff.h:1921 [inline] RIP: 0010:__skb_queue_before include/linux/skbuff.h:2027 [inline] RIP: 0010:__skb_queue_tail include/linux/skbuff.h:2060 [inline] RIP: 0010:skb_queue_tail+0xaf/0x170 net/core/skbuff.c:3144 Code: 08 48 ba 00 00 00 00 00 fc ff df 48 c1 e9 03 80 3c 11 00 75 7d 4c 89 e1 48 89 6b 08 48 ba 00 00 00 00 00 fc ff df 48 c1 e9 03 <80> 3c 11 00 75 50 48 8d 7b 10 49 89 2c 24 48 ba 00 00 00 00 00 fc RSP: 0018:ffffc90000d90ab8 EFLAGS: 00010056 RAX: 0000000000000096 RBX: ffff8880830a35d0 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: 0000000000000004 RDI: ffff88808925ddc8 RBP: ffff88808925ddc0 R08: 0000000000000004 R09: fffff520001b2145 R10: 0000000000000003 R11: fffff520001b2145 R12: 0000000000000000 R13: ffff8880830a35d8 R14: ffff8880830a35e8 R15: ffff8880a88b7000 FS: 0000000000000000(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000005680c0 CR3: 00000000a9060000 CR4: 0000000000340ef0