ci starts bisection 2023-04-27 13:01:36.503530497 +0000 UTC m=+18444.527638066 bisecting fixing commit since f3a2439f20d918930cc4ae8f76fe1c1afd26958f building syzkaller on e792ae78c524597ed9bdc16cf10503e2c0079be5 ensuring issue is reproducible on original commit f3a2439f20d918930cc4ae8f76fe1c1afd26958f testing commit f3a2439f20d918930cc4ae8f76fe1c1afd26958f gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: d9a2657e6e38eff40fa75a999925d92b2b4be31a6f81301b295ef8fea4f0a649 all runs: crashed: WARNING: suspicious RCU usage in mas_start testing current HEAD 6e98b09da931a00bf4e0477d0fa52748bf28fcce testing commit 6e98b09da931a00bf4e0477d0fa52748bf28fcce gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: cab17c9453dd31436a5797a7e1f24948e4b51b776d34ea76b3aba56bc4301702 all runs: OK # git bisect start 6e98b09da931a00bf4e0477d0fa52748bf28fcce f3a2439f20d918930cc4ae8f76fe1c1afd26958f Bisecting: 5705 revisions left to test after this (roughly 13 steps) [9b78d919632b7149d311aaad5a977e4b48b10321] net: phy: hide the PHYLIB_LEDS knob testing commit 9b78d919632b7149d311aaad5a977e4b48b10321 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 3fa44b951960dcb92e80ac9918383f893edec4c28a0b15bbefadd2c20d248257 all runs: OK # git bisect bad 9b78d919632b7149d311aaad5a977e4b48b10321 Bisecting: 2680 revisions left to test after this (roughly 11 steps) [de7494524da53d92d2f0bc4d67ec7206ea08ff3b] Merge tag 'mlx5-updates-2023-03-20' of git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux testing commit de7494524da53d92d2f0bc4d67ec7206ea08ff3b gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 7d25c538c4321e117653de3c1cd548811cc345e7f7ca99cdf9f510c1e01f0432 all runs: crashed: WARNING: suspicious RCU usage in mas_start # git bisect good de7494524da53d92d2f0bc4d67ec7206ea08ff3b Bisecting: 1314 revisions left to test after this (roughly 10 steps) [800e68c44ffe71f9715f745b38fd1af6910b3773] Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net testing commit 800e68c44ffe71f9715f745b38fd1af6910b3773 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: e9cd33696e4c204ca2f4110c41bbdf416104bca539728d2fcbbfd9c49f5987d3 all runs: OK # git bisect bad 800e68c44ffe71f9715f745b38fd1af6910b3773 Bisecting: 682 revisions left to test after this (roughly 10 steps) [4ee58e1e56800b589afe31c34547e2bc0c59f586] net: promote SIOCSHWTSTAMP and SIOCGHWTSTAMP ioctls to dedicated handlers testing commit 4ee58e1e56800b589afe31c34547e2bc0c59f586 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: ecdff16ed2f059d6b4539a6f82a277e2303169ac4f5c44090d0b4a4e7bfa76f4 all runs: OK # git bisect bad 4ee58e1e56800b589afe31c34547e2bc0c59f586 Bisecting: 342 revisions left to test after this (roughly 9 steps) [b527ac44eb1782cf179d4e08ceda7d2a9643aff5] Merge tag 'for-6.3/dm-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm testing commit b527ac44eb1782cf179d4e08ceda7d2a9643aff5 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: a34ea7c4b719bebdf2e1da2df36b5c4004c48af36231dfea9ccc2ef8e167db54 all runs: OK # git bisect bad b527ac44eb1782cf179d4e08ceda7d2a9643aff5 Bisecting: 164 revisions left to test after this (roughly 7 steps) [65aca32efdcb0965502d3db2f1fa33838c070952] Merge tag 'mm-hotfixes-stable-2023-03-24-17-09' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm testing commit 65aca32efdcb0965502d3db2f1fa33838c070952 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 913ed427ff01c1147a44e525f0b028c90ad5f51b614a598181599746b62d46c4 all runs: OK # git bisect bad 65aca32efdcb0965502d3db2f1fa33838c070952 Bisecting: 86 revisions left to test after this (roughly 7 steps) [d7b5c942f0752894a91a925c7249116333d4ab25] Merge tag 'for-v6.3-rc' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply testing commit d7b5c942f0752894a91a925c7249116333d4ab25 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 25ac10f9c2947f7ae21c1385274df8a794904acc691f84a00658d9d13a6c8f8a all runs: crashed: WARNING: suspicious RCU usage in mas_start # git bisect good d7b5c942f0752894a91a925c7249116333d4ab25 Bisecting: 38 revisions left to test after this (roughly 6 steps) [f42ee7c45764102c1351ed1dfcba93d3591e37da] Merge tag 'qcom-arm64-fixes-for-6.3' of https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux into soc/fixes testing commit f42ee7c45764102c1351ed1dfcba93d3591e37da gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: ea3d5ae754ee087fceac2c6eae0123bd9a64c5073e76abf62edded3b322c2324 all runs: crashed: WARNING: suspicious RCU usage in mas_start # git bisect good f42ee7c45764102c1351ed1dfcba93d3591e37da Bisecting: 19 revisions left to test after this (roughly 4 steps) [5eb39cde1e2487ba5ec1802dc5e58a77e700d99e] kcsan: avoid passing -g for test testing commit 5eb39cde1e2487ba5ec1802dc5e58a77e700d99e gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 2ee1ffc7eff7952a6b386615a96841e4658a44713abac4bceaf2007c26e05a91 all runs: OK # git bisect bad 5eb39cde1e2487ba5ec1802dc5e58a77e700d99e Bisecting: 9 revisions left to test after this (roughly 3 steps) [6db504ce55bdbc575723938fc480713c9183f6a2] mm/ksm: fix race with VMA iteration and mm_struct teardown testing commit 6db504ce55bdbc575723938fc480713c9183f6a2 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: f557113cebf8201a1d84fe366e69ff0c39b37a5a017d9f2e881e5f217ecfa052 all runs: OK # git bisect bad 6db504ce55bdbc575723938fc480713c9183f6a2 Bisecting: 4 revisions left to test after this (roughly 2 steps) [003587000276f81d0114b5ce773d80c119d8cb30] nilfs2: fix kernel-infoleak in nilfs_ioctl_wrap_copy() testing commit 003587000276f81d0114b5ce773d80c119d8cb30 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 274fddd7269daa4deb7370c9cd59da6b29f8eb190b025cb59a8130730a5dead6 all runs: crashed: WARNING: suspicious RCU usage in mas_start # git bisect good 003587000276f81d0114b5ce773d80c119d8cb30 Bisecting: 2 revisions left to test after this (roughly 1 step) [6bbf1090672673183a98cd6e19de91fa5a319df0] mm: deduplicate error handling for map_deny_write_exec testing commit 6bbf1090672673183a98cd6e19de91fa5a319df0 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 56ae00c1c56b544bfe193cfd0892925068484b8c4bd21efe82a1d5577c8ddfbc all runs: crashed: WARNING: suspicious RCU usage in mas_start # git bisect good 6bbf1090672673183a98cd6e19de91fa5a319df0 Bisecting: 0 revisions left to test after this (roughly 1 step) [d035230ec9937a9138921d2a0eeb99496ea7eac0] kselftest: vm: fix unused variable warning testing commit d035230ec9937a9138921d2a0eeb99496ea7eac0 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 55a08f4c037de063deeef74757cb2d0e7e21f569fe546a26d426300daa900610 all runs: crashed: WARNING: suspicious RCU usage in mas_start # git bisect good d035230ec9937a9138921d2a0eeb99496ea7eac0 6db504ce55bdbc575723938fc480713c9183f6a2 is the first bad commit commit 6db504ce55bdbc575723938fc480713c9183f6a2 Author: Liam R. Howlett Date: Wed Mar 8 17:03:10 2023 -0500 mm/ksm: fix race with VMA iteration and mm_struct teardown exit_mmap() will tear down the VMAs and maple tree with the mmap_lock held in write mode. Ensure that the maple tree is still valid by checking ksm_test_exit() after taking the mmap_lock in read mode, but before the for_each_vma() iterator dereferences a destroyed maple tree. Since the maple tree is destroyed, the flags telling lockdep to check an external lock has been cleared. Skip the for_each_vma() iterator to avoid dereferencing a maple tree without the external lock flag, which would create a lockdep warning. Link: https://lkml.kernel.org/r/20230308220310.3119196-1-Liam.Howlett@oracle.com Fixes: a5f18ba07276 ("mm/ksm: use vma iterators instead of vma linked list") Signed-off-by: Liam R. Howlett Reported-by: Pengfei Xu Link: https://lore.kernel.org/lkml/ZAdUUhSbaa6fHS36@xpf.sh.intel.com/ Reported-by: syzbot+2ee18845e89ae76342c5@syzkaller.appspotmail.com Link: https://syzkaller.appspot.com/bug?id=64a3e95957cd3deab99df7cd7b5a9475af92c93e Acked-by: David Hildenbrand Cc: Matthew Wilcox (Oracle) Cc: Cc: Signed-off-by: Andrew Morton mm/ksm.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) culprit signature: f557113cebf8201a1d84fe366e69ff0c39b37a5a017d9f2e881e5f217ecfa052 parent signature: 55a08f4c037de063deeef74757cb2d0e7e21f569fe546a26d426300daa900610 revisions tested: 15, total time: 4h29m18.174986732s (build: 2h31m2.836178739s, test: 1h56m4.093367547s) first good commit: 6db504ce55bdbc575723938fc480713c9183f6a2 mm/ksm: fix race with VMA iteration and mm_struct teardown recipients (to): ["akpm@linux-foundation.org" "david@redhat.com" "liam.howlett@oracle.com"] recipients (cc): []