bisecting cause commit starting from 3dbdb38e286903ec220aaf1fb29a8d94297da246 building syzkaller on 8f5a7b8cde529e0a19a53f79bdf9c6cad306827b testing commit 3dbdb38e286903ec220aaf1fb29a8d94297da246 with gcc (GCC) 10.2.1 20210217 kernel signature: be86f3f3b2899214e9271a92aa000cb0f01513f966a0a7a9a6242b89884a3943 all runs: crashed: UBSAN: shift-out-of-bounds in profile_init testing release v5.13 testing commit 62fb9874f5da54fdb243003b386128037319b219 with gcc (GCC) 10.2.1 20210217 kernel signature: e9ace9c5ee2829ecfd31f47be41f589c91c15eff6b62baab7051a38e73106e48 all runs: crashed: UBSAN: shift-out-of-bounds in profile_init testing release v5.12 testing commit 9f4ad9e425a1d3b6a34617b8ea226d56a119a717 with gcc (GCC) 10.2.1 20210217 kernel signature: e8c8edc56ed7eecefb295a9ce860712552bfe61648872ba3f622452206b435fc all runs: crashed: UBSAN: shift-out-of-bounds in profile_init testing release v5.11 testing commit f40ddce88593482919761f74910f42f4b84c004b with gcc (GCC) 10.2.1 20210217 kernel signature: 13ee78a1f289bc974c3d49828f6b6cb5fb780fdcacbea983f22b336310c726dc all runs: crashed: UBSAN: shift-out-of-bounds in profile_init testing release v5.10 testing commit 2c85ebc57b3e1817b6ce1a6b703928e113a90442 with gcc (GCC) 10.2.1 20210217 kernel signature: 73651e18334bb8c9dd0f1435f393d0181d0040f6cf988d8ee15dc2e3470c31a7 all runs: crashed: UBSAN: shift-out-of-bounds in profile_init testing release v5.9 testing commit bbf5c979011a099af5dc76498918ed7df445635b with gcc (GCC) 10.2.1 20210217 kernel signature: ce2ca99df9867843bac1eef5099fc62a3a4a2947c556e08e6b875db4da8495b4 all runs: crashed: UBSAN: shift-out-of-bounds in profile_init testing release v5.8 testing commit bcf876870b95592b52519ed4aafcf9d95999bc9c with gcc (GCC) 8.4.1 20210217 kernel signature: 44715d9a0e44ac6b5f84fe4f08ab1e878d4ff1979c8b1b1bfd5231bb82b8d8c6 all runs: crashed: UBSAN: shift-out-of-bounds in profile_init testing release v5.7 testing commit 3d77e6a8804abcc0504c904bd6e5cdf3a5cf8162 with gcc (GCC) 8.4.1 20210217 kernel signature: 5ca0b64ca422752a1cea4f22afc903d309bdaaa09164d9e73edf547813949dae all runs: crashed: UBSAN: shift-out-of-bounds in profile_init testing release v5.6 testing commit 7111951b8d4973bda27ff663f2cf18b663d15b48 with gcc (GCC) 8.4.1 20210217 kernel signature: be0ee456b33d313ed382865e5f2bc3cc1c381872344a7803d30fdf440ee67bbe all runs: crashed: UBSAN: undefined-behaviour in profile_init testing release v5.5 testing commit d5226fa6dbae0569ee43ecfc08bdcd6770fc4755 with gcc (GCC) 8.4.1 20210217 kernel signature: f44135895c99189b61ffc4d7ff2a7829bbba05c8f3c6aec9438c3c98b9b454e3 all runs: crashed: UBSAN: undefined-behaviour in profile_init testing release v5.4 testing commit 219d54332a09e8d8741c1e1982f5eae56099de85 with gcc (GCC) 8.4.1 20210217 kernel signature: 7ff9815671d4f27112cbed1cfc9c64923e9b290d891ed833d192569e27e6dab8 all runs: crashed: UBSAN: undefined-behaviour in profile_init testing release v5.3 testing commit 4d856f72c10ecb060868ed10ff1b1453943fc6c8 with gcc (GCC) 8.4.1 20210217 kernel signature: 92f371a878f1c7442b260a463ed6a365a0c5423bcc3d68b7fc6bfd12c69d1ec0 all runs: crashed: UBSAN: undefined-behaviour in profile_init testing release v5.2 testing commit 0ecfebd2b52404ae0c54a878c872bb93363ada36 with gcc (GCC) 8.4.1 20210217 kernel signature: e6c07090b76d56fb0fdc1eaf91501e37ba695bcaa3e544f77e8768302f762002 all runs: OK # git bisect start 4d856f72c10ecb060868ed10ff1b1453943fc6c8 0ecfebd2b52404ae0c54a878c872bb93363ada36 Bisecting: 7848 revisions left to test after this (roughly 13 steps) [43c95d3694cc448fdf50bd53b7ff3a5bb4655883] Merge tag 'pinctrl-v5.3-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl testing commit 43c95d3694cc448fdf50bd53b7ff3a5bb4655883 with gcc (GCC) 8.4.1 20210217 kernel signature: bb3356957799c8622b3d799c87f8eae1c204912702215a4323f8688cbc7e911b all runs: OK # git bisect good 43c95d3694cc448fdf50bd53b7ff3a5bb4655883 Bisecting: 3922 revisions left to test after this (roughly 12 steps) [0e2a5b5bd9a6aaec85df347dd71432a1d2d10763] Merge branch 'parisc-5.3-2' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux testing commit 0e2a5b5bd9a6aaec85df347dd71432a1d2d10763 with gcc (GCC) 8.4.1 20210217 kernel signature: d0bfab239a8aca701a0418b2f3aa9ec8f71f4afbdc52ea5e76fc4488108ecdfd all runs: OK # git bisect good 0e2a5b5bd9a6aaec85df347dd71432a1d2d10763 Bisecting: 1961 revisions left to test after this (roughly 11 steps) [12a6d2940b5f02b4b9f71ce098e3bb02bc24a9ea] perf record: Fix module size on s390 testing commit 12a6d2940b5f02b4b9f71ce098e3bb02bc24a9ea with gcc (GCC) 8.4.1 20210217 kernel signature: 42ced38e5e4e2394cd6fb6b3f1a626a49de1d306df03ddc3f148ad97b8c61d93 all runs: OK # git bisect good 12a6d2940b5f02b4b9f71ce098e3bb02bc24a9ea Bisecting: 984 revisions left to test after this (roughly 10 steps) [85d8d3b172eb37b23dcdbe9fa7a85e343642bfea] Merge tag 'hyperv-fixes-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/hyperv/linux testing commit 85d8d3b172eb37b23dcdbe9fa7a85e343642bfea with gcc (GCC) 8.4.1 20210217 kernel signature: 0a2423e0494562187feea067a269e3b923a89112c55618d00187302665e7026f all runs: OK # git bisect good 85d8d3b172eb37b23dcdbe9fa7a85e343642bfea Bisecting: 496 revisions left to test after this (roughly 9 steps) [6525771f58cbc6ab97b5cff9069865cde8283346] Merge tag 'arc-5.3-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc testing commit 6525771f58cbc6ab97b5cff9069865cde8283346 with gcc (GCC) 8.4.1 20210217 kernel signature: cac2b6ecac09503f43b857f601c1316dcb4af5b7c0d3220e18b7afe57e7d0c70 all runs: OK # git bisect good 6525771f58cbc6ab97b5cff9069865cde8283346 Bisecting: 251 revisions left to test after this (roughly 8 steps) [345464fb760d1b772e891538b498e111c588b692] Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net testing commit 345464fb760d1b772e891538b498e111c588b692 with gcc (GCC) 8.4.1 20210217 kernel signature: fee8a34e5f6d52836345aad9f267d8e26ea55907fa84060ca7c935c13e5841b0 all runs: OK # git bisect good 345464fb760d1b772e891538b498e111c588b692 Bisecting: 126 revisions left to test after this (roughly 7 steps) [840ce8f8073edb3ff3d2c2c7a6ef211f4176961c] Merge tag 'pinctrl-v5.3-3' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl testing commit 840ce8f8073edb3ff3d2c2c7a6ef211f4176961c with gcc (GCC) 8.4.1 20210217 kernel signature: 57501b47a9bcb6bdf1532acd03a5f35a4e5688786cf2a697de65b499f6b9686f all runs: OK # git bisect good 840ce8f8073edb3ff3d2c2c7a6ef211f4176961c Bisecting: 63 revisions left to test after this (roughly 6 steps) [c3dc1fa72249e4472b90ecef4dbafe25f0f07889] net: hns3: fix spelling mistake "undeflow" -> "underflow" testing commit c3dc1fa72249e4472b90ecef4dbafe25f0f07889 with gcc (GCC) 8.4.1 20210217 kernel signature: 21bd1568d89d19b5c8d4f17420d34f1e85ad92eddeb54b0a37a36bd1de8a37b4 all runs: OK # git bisect good c3dc1fa72249e4472b90ecef4dbafe25f0f07889 Bisecting: 30 revisions left to test after this (roughly 5 steps) [1c4c5e2528af0c803fb1171632074f4070229a75] Merge tag 'mmc-v5.3-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc testing commit 1c4c5e2528af0c803fb1171632074f4070229a75 with gcc (GCC) 8.4.1 20210217 kernel signature: c1e868014230ed891bfd360ede5b01cce9cefb6757fefa23ffb24a1f1ce0474a all runs: OK # git bisect good 1c4c5e2528af0c803fb1171632074f4070229a75 Bisecting: 14 revisions left to test after this (roughly 4 steps) [ae3b06ed55b1554e9a91bf959c6b0b5e212e7f4d] Merge branch 'sctp_do_bind-leak' testing commit ae3b06ed55b1554e9a91bf959c6b0b5e212e7f4d with gcc (GCC) 8.4.1 20210217 kernel signature: ef6d0e8b1dcf8a690ea3c0cbcb3e1a5b9834acc8846dc69359fabeb48eb21fba all runs: OK # git bisect good ae3b06ed55b1554e9a91bf959c6b0b5e212e7f4d Bisecting: 8 revisions left to test after this (roughly 3 steps) [a9c20bb0206ae9384bd470a6832dd8913730add9] Merge tag 'kvm-s390-master-5.3-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux into kvm-master testing commit a9c20bb0206ae9384bd470a6832dd8913730add9 with gcc (GCC) 8.4.1 20210217 kernel signature: abd834c1a7dc97ad69da3a6f674dd32a5979f2ca4d7dad6838d5a324269f33cc all runs: OK # git bisect good a9c20bb0206ae9384bd470a6832dd8913730add9 Bisecting: 4 revisions left to test after this (roughly 2 steps) [b03c036e6f96340dd311817c7b964dad183c4141] Merge tag 'riscv/for-v5.3' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux testing commit b03c036e6f96340dd311817c7b964dad183c4141 with gcc (GCC) 8.4.1 20210217 kernel signature: 0e7cf1b457a84ec1cf0b64da0f619836a6c23656d6c11b13ff2c40489fb6350c all runs: OK # git bisect good b03c036e6f96340dd311817c7b964dad183c4141 Bisecting: 2 revisions left to test after this (roughly 1 step) [1f9c632cde0c3d781463a88ce430a8dd4a7c1a0e] Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost testing commit 1f9c632cde0c3d781463a88ce430a8dd4a7c1a0e with gcc (GCC) 8.4.1 20210217 kernel signature: 50df7c66a63510079a1f02d7c75f5545963684bfbf606fac40aac3f6e9bd1173 all runs: OK # git bisect good 1f9c632cde0c3d781463a88ce430a8dd4a7c1a0e Bisecting: 0 revisions left to test after this (roughly 1 step) [72dbcf72156641fde4d8ea401e977341bfd35a05] Revert "ext4: make __ext4_get_inode_loc plug" testing commit 72dbcf72156641fde4d8ea401e977341bfd35a05 with gcc (GCC) 8.4.1 20210217 kernel signature: ea7bbecd1359ebba013f6f7e6a025ef9a5110f208754f0782b88b8c0fe0fa33e all runs: OK # git bisect good 72dbcf72156641fde4d8ea401e977341bfd35a05 4d856f72c10ecb060868ed10ff1b1453943fc6c8 is the first bad commit commit 4d856f72c10ecb060868ed10ff1b1453943fc6c8 Author: Linus Torvalds Date: Sun Sep 15 14:19:32 2019 -0700 Linux 5.3 Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) culprit signature: 92f371a878f1c7442b260a463ed6a365a0c5423bcc3d68b7fc6bfd12c69d1ec0 parent signature: ea7bbecd1359ebba013f6f7e6a025ef9a5110f208754f0782b88b8c0fe0fa33e revisions tested: 27, total time: 6h2m24.702350734s (build: 3h5m0.51717439s, test: 2h52m26.169326654s) first bad commit: 4d856f72c10ecb060868ed10ff1b1453943fc6c8 Linux 5.3 recipients (to): ["linux-kbuild@vger.kernel.org" "michal.lkml@markovi.net" "torvalds@linux-foundation.org" "yamada.masahiro@socionext.com"] recipients (cc): ["linux-kernel@vger.kernel.org"] crash: UBSAN: undefined-behaviour in profile_init kernel profiling enabled (shift: 1000000) ================================================================================ UBSAN: Undefined behaviour in kernel/profile.c:110:31 shift exponent 1000000 is too large for 64-bit type 'long int' CPU: 1 PID: 10541 Comm: syz-executor.0 Not tainted 5.3.0-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+0x86/0xca lib/dump_stack.c:113 ubsan_epilogue+0xd/0x3a lib/ubsan.c:158 __ubsan_handle_shift_out_of_bounds.cold.14+0x21/0x68 lib/ubsan.c:404 profile_init+0x4b/0x100 kernel/profile.c:110 profiling_store+0x50/0x90 kernel/ksysfs.c:80 kobj_attr_store+0x36/0x70 lib/kobject.c:842 sysfs_kf_write+0xfd/0x150 fs/sysfs/file.c:138 kernfs_fop_write+0x255/0x410 fs/kernfs/file.c:315 __vfs_write+0x5e/0x110 fs/read_write.c:494 vfs_write+0x18a/0x520 fs/read_write.c:558 ksys_write+0x105/0x220 fs/read_write.c:611 __do_sys_write fs/read_write.c:623 [inline] __se_sys_write fs/read_write.c:620 [inline] __x64_sys_write+0x6e/0xb0 fs/read_write.c:620 do_syscall_64+0xa3/0x4b0 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4665d9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f6592c4f188 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665d9 RDX: 00000000ffffff82 RSI: 00000000200000c0 RDI: 0000000000000003 RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffc4978196f R14: 00007f6592c4f300 R15: 0000000000022000 ================================================================================