bisecting cause commit starting from c9194f32bfd932e976a158d1af97a63be68a2aab building syzkaller on 6972b10616d785401dea17cec890cca8916424a7 testing commit c9194f32bfd932e976a158d1af97a63be68a2aab compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: c18f1b3dbd9a34122761da0e08aa93c15f9e89521f37bf451f09c2a2b707b791 all runs: crashed: INFO: trying to register non-static key in ath9k_wmi_event_tasklet testing release v5.13 testing commit 62fb9874f5da54fdb243003b386128037319b219 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 909f5b513362d755e99068620c19525cb2afd91ca8725228219fd46574a48866 all runs: crashed: INFO: trying to register non-static key in ath9k_wmi_event_tasklet testing release v5.12 testing commit 9f4ad9e425a1d3b6a34617b8ea226d56a119a717 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: bb4e26dd8f4a005b0fd76547575ef29621d4d502b5251ddaf0a5696974104629 all runs: crashed: INFO: trying to register non-static key in ath9k_wmi_event_tasklet testing release v5.11 testing commit f40ddce88593482919761f74910f42f4b84c004b compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 3222e6ed80513dd888ba5df1ed0bb0fed90b38311471a07f8ebfef14f678fd42 all runs: crashed: INFO: trying to register non-static key in ath9k_wmi_event_tasklet testing release v5.10 testing commit 2c85ebc57b3e1817b6ce1a6b703928e113a90442 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 35c88fb67e0626f0232c5254d6e9f188ff33bdc5ecf75a2e20b39b0354577e82 all runs: crashed: INFO: trying to register non-static key in ath9k_wmi_event_tasklet testing release v5.9 testing commit bbf5c979011a099af5dc76498918ed7df445635b compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 4753fc6113ccf19b73886623e431f1d42203e5df7900561c23ce4babeaf8f756 all runs: crashed: INFO: trying to register non-static key in ath9k_wmi_event_tasklet testing release v5.8 testing commit bcf876870b95592b52519ed4aafcf9d95999bc9c compiler: gcc (GCC) 8.4.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 64bef9c619e4f9660afe7c971d6b25d7fe2654ae1e3be1137534ef774e1b1619 all runs: crashed: INFO: trying to register non-static key in ath9k_wmi_event_tasklet testing release v5.7 testing commit 3d77e6a8804abcc0504c904bd6e5cdf3a5cf8162 compiler: gcc version 8.4.1 20210217 (GCC), GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: f76fe31c01316385978519b5b4e89add706a0c3d5fe63afc28097ce825bd70af 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 compiler: gcc version 8.4.1 20210217 (GCC), GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 2af513036d7bbc070a91132b60254ca3d03a71c966ed0e6dac60d0a6703d8d88 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 compiler: gcc (GCC) 8.4.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: e7c90bdd711eb1e4fcb70f17ec88703cedfa1c3c129537701db4283c62f5e3e0 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 compiler: gcc (GCC) 8.4.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 49acb532fe939b9e891ceaf24105c901259c58d82fe568e9f6bbe04bf58a493d 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 compiler: gcc version 8.4.1 20210217 (GCC), GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 96b9eec2039fa7b0195cdad9b2b2a88261ad8964427ac3971dbd1f06e69912d5 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 compiler: gcc (GCC) 8.4.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 3b4ba571a61ca74d166372f2b35c5ad4f93701c178643be7c96a17b1ed25cf2b 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 compiler: gcc (GCC) 8.4.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: e80eb47d65f4fb2100a327d159d82777c686ca7dfe66c71c10e4879e89cc74e1 all runs: crashed: INFO: trying to register non-static key in ath9k_wmi_event_tasklet # git bisect bad 8a45fe7053a2c33b786706bdcd77d7ccf1531ef7 Bisecting: 9 revisions left to test after this (roughly 3 steps) [ea21e9041404c4cafd63de4762287fb1b7ba357f] kbuild: remove '/' target testing commit ea21e9041404c4cafd63de4762287fb1b7ba357f compiler: gcc (GCC) 8.4.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: ff058fe0a6f38fc994c088c47dd99e903d5d8fe9ecdc5ca2d16ed86c217842d5 all runs: crashed: INFO: trying to register non-static key in ath9k_wmi_event_tasklet # 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 compiler: gcc version 8.4.1 20210217 (GCC), GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: b91e14a1d5bfd165f9ea62fbf9e8f4a08e1c5b3d39da26ddad9dc37699886e6b all runs: crashed: INFO: trying to register non-static key in ath9k_wmi_event_tasklet # 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 compiler: gcc version 8.4.1 20210217 (GCC), GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: b91e14a1d5bfd165f9ea62fbf9e8f4a08e1c5b3d39da26ddad9dc37699886e6b all runs: crashed: INFO: trying to register non-static key in ath9k_wmi_event_tasklet # 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 compiler: gcc version 8.4.1 20210217 (GCC), GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: b91e14a1d5bfd165f9ea62fbf9e8f4a08e1c5b3d39da26ddad9dc37699886e6b all runs: crashed: INFO: trying to register non-static key in ath9k_wmi_event_tasklet # 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 compiler: gcc version 8.4.1 20210217 (GCC), GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: b91e14a1d5bfd165f9ea62fbf9e8f4a08e1c5b3d39da26ddad9dc37699886e6b culprit signature: b91e14a1d5bfd165f9ea62fbf9e8f4a08e1c5b3d39da26ddad9dc37699886e6b parent signature: b91e14a1d5bfd165f9ea62fbf9e8f4a08e1c5b3d39da26ddad9dc37699886e6b revisions tested: 18, total time: 3h56m31.528999127s (build: 2h37m31.066940969s, test: 1h15m50.755757526s) 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 ath9k_wmi_event_tasklet INFO: trying to register non-static key. the code is fine but needs lockdep annotation. turning off the locking correctness validator. CPU: 1 PID: 16 Comm: ksoftirqd/1 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_bh include/linux/spinlock_api_smp.h:135 [inline] _raw_spin_lock_bh+0x2f/0x40 kernel/locking/spinlock.c:175 spin_lock_bh include/linux/spinlock.h:358 [inline] ath9k_wmi_event_tasklet+0x22c/0x430 drivers/net/wireless/ath/ath9k/wmi.c:170 tasklet_action_common.isra.10+0x126/0x270 kernel/softirq.c:524 __do_softirq+0x24a/0xaec kernel/softirq.c:292 run_ksoftirqd kernel/softirq.c:604 [inline] run_ksoftirqd+0x2b/0x50 kernel/softirq.c:596 smpboot_thread_fn+0x51e/0x880 kernel/smpboot.c:165 kthread+0x340/0x410 kernel/kthread.c:268 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:351 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 16 at drivers/net/wireless/ath/ath9k/htc_drv_txrx.c:651 ath9k_htc_txstatus+0x24b/0x380 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c:681 Modules linked in: CPU: 1 PID: 16 Comm: ksoftirqd/1 Not tainted 5.7.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ath9k_htc_txstatus+0x24b/0x380 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c:651 Code: 8b 45 20 48 8d b8 b0 01 00 00 e8 90 51 83 03 e9 47 fe ff ff 48 83 c4 38 4c 89 ef 5b 5d 41 5c 41 5d 41 5e 41 5f e9 65 ce ff ff <0f> 0b e9 67 fe ff ff 48 89 f7 e8 86 bc fe fc e9 dc fd ff ff 48 89 RSP: 0018:ffffc90000d67cc0 EFLAGS: 00010202 RAX: 000000000000001c RBX: ffff888099235c0d RCX: fffffbfff14077d9 RDX: 1ffffffff14077d9 RSI: ffff888099235c0c RDI: ffff888081f0b140 RBP: ffff888099235c0c R08: ffffed10103e1716 R09: ffffed10103e1716 R10: ffff888081f0b8ab R11: ffffed10103e1715 R12: 0000000000000000 R13: ffff888081f0b140 R14: ffff8880875ce000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000005680c0 CR3: 00000000a93d2000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ath9k_wmi_event_tasklet+0x2f7/0x430 drivers/net/wireless/ath/ath9k/wmi.c:177 tasklet_action_common.isra.10+0x126/0x270 kernel/softirq.c:524 __do_softirq+0x24a/0xaec kernel/softirq.c:292 run_ksoftirqd kernel/softirq.c:604 [inline] run_ksoftirqd+0x2b/0x50 kernel/softirq.c:596 smpboot_thread_fn+0x51e/0x880 kernel/smpboot.c:165 kthread+0x340/0x410 kernel/kthread.c:268 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:351 irq event stamp: 769168 hardirqs last enabled at (769168): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] hardirqs last enabled at (769168): [] _raw_spin_unlock_irqrestore+0x47/0x60 kernel/locking/spinlock.c:191 hardirqs last disabled at (769167): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (769167): [] _raw_spin_lock_irqsave+0xd/0x50 kernel/locking/spinlock.c:159 softirqs last enabled at (769158): [] __do_softirq+0x795/0xaec kernel/softirq.c:319 softirqs last disabled at (769163): [] run_ksoftirqd kernel/softirq.c:604 [inline] softirqs last disabled at (769163): [] run_ksoftirqd+0x2b/0x50 kernel/softirq.c:596 ---[ end trace 5cce1d5cacaa6d33 ]--- general protection fault, probably for non-canonical address 0xdffffc000000000c: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000060-0x0000000000000067] CPU: 1 PID: 16 Comm: ksoftirqd/1 Tainted: G W 5.7.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ath_printk+0xcc/0x19c drivers/net/wireless/ath/main.c:82 Code: 00 00 48 89 44 24 78 48 8d 44 24 68 c7 44 24 68 18 00 00 00 48 89 44 24 30 0f 84 0d 01 00 00 48 8d 7e 10 48 89 f8 48 c1 e8 03 <80> 3c 08 00 0f 85 a6 00 00 00 48 8b 5e 10 48 85 db 0f 84 eb 00 00 RSP: 0018:ffffc90000d67b50 EFLAGS: 00010206 RAX: 000000000000000c RBX: 0000000000000000 RCX: dffffc0000000000 RDX: ffffffff890d7ca0 RSI: 0000000000000050 RDI: 0000000000000060 RBP: ffffc90000d67c40 R08: ffffed10103e1716 R09: ffffed10103e1716 R10: ffff888081f0b8ab R11: ffffed10103e1715 R12: 1ffff920001acf6b R13: ffffffff890d7ce0 R14: ffff8880875ce000 R15: ffff888081f0b788 FS: 0000000000000000(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000005680c0 CR3: 00000000a93d2000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: get_htc_epid_queue drivers/net/wireless/ath/ath9k/htc_drv_txrx.c:149 [inline] ath9k_htc_tx_get_packet+0x596/0x970 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c:622 ath9k_htc_txstatus+0xc4/0x380 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c:655 ath9k_wmi_event_tasklet+0x2f7/0x430 drivers/net/wireless/ath/ath9k/wmi.c:177 tasklet_action_common.isra.10+0x126/0x270 kernel/softirq.c:524 __do_softirq+0x24a/0xaec kernel/softirq.c:292 run_ksoftirqd kernel/softirq.c:604 [inline] run_ksoftirqd+0x2b/0x50 kernel/softirq.c:596 smpboot_thread_fn+0x51e/0x880 kernel/smpboot.c:165 kthread+0x340/0x410 kernel/kthread.c:268 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:351 Modules linked in: