bisecting cause commit starting from 36a21d51725af2ce0700c6ebcb6b9594aac658a6 building syzkaller on 6972b10616d785401dea17cec890cca8916424a7 testing commit 36a21d51725af2ce0700c6ebcb6b9594aac658a6 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: c1818f78691b1d7bfd0799aff27ac3a78dfbfa38270350aa5673c8c05020f150 all runs: crashed: divide error in ath9k_htc_swba 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: divide error in ath9k_htc_swba 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: divide error in ath9k_htc_swba 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: divide error in ath9k_htc_swba 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: UBSAN: division-overflow in ath9k_htc_swba 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: UBSAN: division-overflow in ath9k_htc_swba 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: UBSAN: division-overflow in ath9k_htc_swba 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: UBSAN: division-overflow in ath9k_htc_swba # 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: UBSAN: division-overflow in ath9k_htc_swba # 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: UBSAN: division-overflow in ath9k_htc_swba # 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: UBSAN: division-overflow in ath9k_htc_swba # 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: UBSAN: division-overflow in ath9k_htc_swba # 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: 3h21m12.904692467s (build: 2h1m2.457920393s, test: 1h17m21.950997116s) 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: UBSAN: division-overflow in ath9k_htc_swba ================================================================================ UBSAN: division-overflow in drivers/net/wireless/ath/ath9k/htc_drv_beacon.c:277:17 division by zero CPU: 0 PID: 9440 Comm: kworker/0:6 Not tainted 5.7.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events request_firmware_work_func Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x96/0xe0 lib/dump_stack.c:118 ubsan_epilogue+0x5/0x40 lib/ubsan.c:148 __ubsan_handle_divrem_overflow lib/ubsan.c:252 [inline] __ubsan_handle_divrem_overflow.cold.12+0x33/0x67 lib/ubsan.c:234 ath9k_htc_choose_bslot drivers/net/wireless/ath/ath9k/htc_drv_beacon.c:277 [inline] ath9k_htc_swba.cold.5+0x10/0x12 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c:310 ath9k_wmi_event_tasklet+0x2ba/0x430 drivers/net/wireless/ath/ath9k/wmi.c:163 tasklet_action_common.isra.10+0x126/0x270 kernel/softirq.c:524 __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:native_restore_fl arch/x86/include/asm/irqflags.h:41 [inline] RIP: 0010:arch_local_irq_restore arch/x86/include/asm/irqflags.h:84 [inline] RIP: 0010:console_unlock+0x760/0xa30 kernel/printk/printk.c:2506 Code: 48 c7 c7 e0 98 58 8a e8 1e 10 03 00 65 ff 0d 3f 2a ad 7e 0f 85 d8 fb ff ff e8 87 67 ab ff e9 ce fb ff ff e8 82 6d 1a 00 55 9d b8 f9 ff ff 48 8d 79 08 48 89 f8 48 c1 e8 03 42 0f b6 14 38 48 RSP: 0018:ffffc900017bf6d8 EFLAGS: 00000247 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000007 RBX: 0000000000000200 RCX: 1ffffffff1c8bdcd RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8880a2e9bd1c RBP: 0000000000000247 R08: 0000000000000001 R09: fffffbfff1c8bccd R10: ffffffff8e45e667 R11: fffffbfff1c8bccc R12: 0000000000000000 R13: ffffffff8b523dd0 R14: ffffffff8b523e08 R15: dffffc0000000000 vprintk_emit+0xe1/0x2b0 kernel/printk/printk.c:2021 dev_vprintk_emit+0x32b/0x36f drivers/base/core.c:3774 dev_printk_emit+0x90/0xb6 drivers/base/core.c:3785 _dev_err+0xc8/0xf6 drivers/base/core.c:3840 ath9k_init_htc_services.constprop.3+0x49e/0x6b0 drivers/net/wireless/ath/ath9k/htc_drv_init.c:220 ath9k_htc_probe_device+0x23c/0x2380 drivers/net/wireless/ath/ath9k/htc_drv_init.c:959 ath9k_htc_hw_init+0x8/0x20 drivers/net/wireless/ath/ath9k/htc_hst.c:501 ath9k_hif_usb_firmware_cb+0x241/0x590 drivers/net/wireless/ath/ath9k/hif_usb.c:1187 request_firmware_work_func+0x121/0x23e drivers/base/firmware_loader/main.c:1005 process_one_work+0x904/0x1690 kernel/workqueue.c:2268 worker_thread+0x82/0xb50 kernel/workqueue.c:2414 kthread+0x340/0x410 kernel/kthread.c:268 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:351 ================================================================================