ci2 starts bisection 2023-07-06 16:27:24.046696982 +0000 UTC m=+13715.359745736 bisecting fixing commit since 6f4553626dbd0b15d25da5a3b2e05ad2be4780d4 building syzkaller on 2b9ba477a18ed0cc53e6b29a9641292709a7ba24 ensuring issue is reproducible on original commit 6f4553626dbd0b15d25da5a3b2e05ad2be4780d4 testing commit 6f4553626dbd0b15d25da5a3b2e05ad2be4780d4 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 85fbc65ac7007e6a4d4842cf0874d1d82058aeaa99c88c9b4ed0a48f5f7a4e88 all runs: crashed: kernel BUG in mas_store_prealloc representative crash: kernel BUG in mas_store_prealloc, types: [BUG] check whether we can drop unnecessary instrumentation disabling configs for [LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP HANG], they are not needed testing commit 6f4553626dbd0b15d25da5a3b2e05ad2be4780d4 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: db2d5d571048601d7e5a3f8501e2792b40b6b3748ded0b5c21080762331a5c1d all runs: crashed: kernel BUG in mas_store_prealloc representative crash: kernel BUG in mas_store_prealloc, types: [BUG] the bug reproduces without the instrumentation disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing current HEAD 2e2b1f49826e3ea508a25038a957419e329c7fa2 testing commit 2e2b1f49826e3ea508a25038a957419e329c7fa2 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: ad3abfa70bbbc68a4446dff351d7554e0384239d0724745e00298b96cbd09d53 all runs: OK # git bisect start 2e2b1f49826e3ea508a25038a957419e329c7fa2 6f4553626dbd0b15d25da5a3b2e05ad2be4780d4 Bisecting: 264 revisions left to test after this (roughly 8 steps) [d58a77ead702c5f89bfc1d851f8b1b5a9c751e14] ANDROID: GKI: add some padding to some driver core structures testing commit d58a77ead702c5f89bfc1d851f8b1b5a9c751e14 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 1a8f9c1be07f06ac48a7e7558abd2cd49d4b3b6dcb6b27122b8c9c5b84b3c286 all runs: OK # git bisect bad d58a77ead702c5f89bfc1d851f8b1b5a9c751e14 Bisecting: 132 revisions left to test after this (roughly 7 steps) [364def466a2ef1d06275065f45cc765b0cbee243] ANDROID: GKI: update symbol list file for xiaomi testing commit 364def466a2ef1d06275065f45cc765b0cbee243 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: c26eedbbbd7b4bcbd232f828b8680b16af051435a4a90842dfdd9e1af8ec7e03 all runs: crashed: kernel BUG in mas_store_prealloc representative crash: kernel BUG in mas_store_prealloc, types: [BUG] # git bisect good 364def466a2ef1d06275065f45cc765b0cbee243 Bisecting: 66 revisions left to test after this (roughly 6 steps) [3805b879f502c271f030a1e542f9afb9f09fb9f8] FROMLIST: mm: Call arch_swap_restore() from do_swap_page() testing commit 3805b879f502c271f030a1e542f9afb9f09fb9f8 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 20a815eb0dcdf1757de80695cfdcdc168361eed14313e8eda245fff98c7b206d all runs: crashed: kernel BUG in mas_store_prealloc representative crash: kernel BUG in mas_store_prealloc, types: [BUG] # git bisect good 3805b879f502c271f030a1e542f9afb9f09fb9f8 Bisecting: 33 revisions left to test after this (roughly 5 steps) [c3ee18fefaf452450e4bb7800b56d8400e9cc72a] BACKPORT: FROMLIST: ovl: get_acl: Fix null pointer dereference at realinode in rcu-walk mode testing commit c3ee18fefaf452450e4bb7800b56d8400e9cc72a gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: d5d81be775f694286b1a1282a6ea99e5a0f5852a3e892443797e47268b215ca1 all runs: OK # git bisect bad c3ee18fefaf452450e4bb7800b56d8400e9cc72a Bisecting: 16 revisions left to test after this (roughly 4 steps) [133fbad5bd3f9168d58cbf1da71f3008beefc4b1] FROMLIST: BACKPORT: maple_tree: Refine mas_preallocate() node calculations testing commit 133fbad5bd3f9168d58cbf1da71f3008beefc4b1 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 37a3ecd889ebb7f816d7701f8a56a7e8caaaf966c5052c71ce11c6974bfc4688 all runs: OK # git bisect bad 133fbad5bd3f9168d58cbf1da71f3008beefc4b1 Bisecting: 7 revisions left to test after this (roughly 3 steps) [312dfb3b7ec3beb9ff305db3b194e19eec7f2bc3] ANDROID: abi_gki_aarch64_qcom: Update QCOM symbol list testing commit 312dfb3b7ec3beb9ff305db3b194e19eec7f2bc3 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 71f852a21328c1f8791fb649f43fd6b3903041f3d57bc1b82ab480ad8fe4c5b1 all runs: crashed: kernel BUG in mas_store_prealloc representative crash: kernel BUG in mas_store_prealloc, types: [BUG] # git bisect good 312dfb3b7ec3beb9ff305db3b194e19eec7f2bc3 Bisecting: 3 revisions left to test after this (roughly 2 steps) [b802573f44901bf91ed597caf63b5e55ac162500] FROMLIST: BACKPORT: mm: Set up vma iterator for vma_iter_prealloc() calls testing commit b802573f44901bf91ed597caf63b5e55ac162500 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: add2b60dc8ef686f9f79e73c10f02b742a67d95292d7e8fbb01dc85dcbe05ec0 all runs: crashed: kernel BUG in mas_store_prealloc representative crash: kernel BUG in mas_store_prealloc, types: [BUG] # git bisect good b802573f44901bf91ed597caf63b5e55ac162500 Bisecting: 1 revision left to test after this (roughly 1 step) [b6734cb2cec77a6ed796acd9b0689b0b024d6b8d] FROMLIST: BACKPORT: maple_tree: Move mas_wr_end_piv() below mas_wr_extend_null() testing commit b6734cb2cec77a6ed796acd9b0689b0b024d6b8d gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: f2b583e86eabb4f7613e100d69e2075359a36b2e38cb0594fe70cebb27028c17 all runs: OK # git bisect bad b6734cb2cec77a6ed796acd9b0689b0b024d6b8d Bisecting: 0 revisions left to test after this (roughly 0 steps) [aede79b81ecd09d5f505f4b440b787c07f600a22] ANDROID: mm: Fix __vma_adjust() writes for the maple tree testing commit aede79b81ecd09d5f505f4b440b787c07f600a22 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: f26df9af251243b359f7b60e3b9d1171b8bc8222f1ef93c2ef8e4f733c27ff84 all runs: OK # git bisect bad aede79b81ecd09d5f505f4b440b787c07f600a22 aede79b81ecd09d5f505f4b440b787c07f600a22 is the first bad commit commit aede79b81ecd09d5f505f4b440b787c07f600a22 Author: Liam R. Howlett Date: Mon May 1 20:27:52 2023 -0400 ANDROID: mm: Fix __vma_adjust() writes for the maple tree Only write when necessary to the maple tree. This should only occur when the VMA changes. In the __vma_adjust() case, it is either the vma when it is expanded, the next vma when the boundary expands into 'vma', writing the 'insert', or when vma expands/shrinks for shift_arg_pages(). The mas_preallocate() setup should track the intended write to ensure the correct number of nodes are preallocated for the pending write. Signed-off-by: Liam R. Howlett Link: http://git.infradead.org/users/jedix/linux-maple.git/commit/61b337f6508fb566553f204a69e743524730e860 [surenb: __vma_adjust was removed in 6.3, therefore these fixes are not applicable upstream anymore. The patch was obtained from the author's tree] Bug: 274059236 Change-Id: I69d68a5b4ff11c40985f7b03b31eec4bb24dcbb6 Signed-off-by: Suren Baghdasaryan mm/mmap.c | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) culprit signature: f26df9af251243b359f7b60e3b9d1171b8bc8222f1ef93c2ef8e4f733c27ff84 parent signature: add2b60dc8ef686f9f79e73c10f02b742a67d95292d7e8fbb01dc85dcbe05ec0 revisions tested: 12, total time: 4h45m54.806098197s (build: 3h14m43.778952401s, test: 1h22m28.078055891s) first good commit: aede79b81ecd09d5f505f4b440b787c07f600a22 ANDROID: mm: Fix __vma_adjust() writes for the maple tree recipients (to): ["liam.howlett@oracle.com" "surenb@google.com"] recipients (cc): []