ci2 starts bisection 2023-09-08 17:09:31.128393176 +0000 UTC m=+10759.401717838 bisecting fixing commit since 8a7f2a5c5aa1648edb4f2029c6ec33870afb7a95 building syzkaller on fbf0499acc828df26995835e51d83c3a0117e716 ensuring issue is reproducible on original commit 8a7f2a5c5aa1648edb4f2029c6ec33870afb7a95 testing commit 8a7f2a5c5aa1648edb4f2029c6ec33870afb7a95 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0d0361806a289685f359d0950642d59f765bd0369a4e583e48f20a6d28e5ae78 all runs: crashed: WARNING in ext4_set_page_dirty representative crash: WARNING in ext4_set_page_dirty, types: [WARNING] check whether we can drop unnecessary instrumentation disabling configs for [LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP HANG], they are not needed testing commit 8a7f2a5c5aa1648edb4f2029c6ec33870afb7a95 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 06bd7e837b2616717797b6608f6e131d66680bf12240b3c6ac63239e35c3e266 all runs: crashed: WARNING in ext4_set_page_dirty representative crash: WARNING in ext4_set_page_dirty, types: [WARNING] the bug reproduces without the instrumentation disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed kconfig minimization: base=3703 full=7270 leaves diff=1979 split chunks (needed=false): <1979> split chunk #0 of len 1979 into 5 parts testing without sub-chunk 1/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN KASAN LOCKDEP], they are not needed testing commit 8a7f2a5c5aa1648edb4f2029c6ec33870afb7a95 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 849290dae185786f3e551c0e990422ad8d20b0ec7195b3499b16a5745e1c2791 all runs: crashed: WARNING in ext4_set_page_dirty representative crash: WARNING in ext4_set_page_dirty, types: [WARNING] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit 8a7f2a5c5aa1648edb4f2029c6ec33870afb7a95 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 77ece9723b75df9b4d2018e848c8ea9b74be1f5507f37ab15bd83a08b4014a7b all runs: crashed: WARNING in ext4_set_page_dirty representative crash: WARNING in ext4_set_page_dirty, types: [WARNING] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [UBSAN KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit 8a7f2a5c5aa1648edb4f2029c6ec33870afb7a95 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 805bae19b2ab91b4ed0691d0158a6b5aceba2c14576a6d3d2ef41509292599c0 all runs: crashed: WARNING in ext4_set_page_dirty representative crash: WARNING in ext4_set_page_dirty, types: [WARNING] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit 8a7f2a5c5aa1648edb4f2029c6ec33870afb7a95 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 181ac388244d043535777845721352904076ddf791725cc6fc2cfd0aa6d2e6c4 all runs: crashed: WARNING in ext4_set_page_dirty representative crash: WARNING in ext4_set_page_dirty, types: [WARNING] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [HANG LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 8a7f2a5c5aa1648edb4f2029c6ec33870afb7a95 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: fed56eb870813c4d6c82d1837043327586a118ec83cce0adbe5de120b4dd131d all runs: crashed: WARNING in ext4_set_page_dirty representative crash: WARNING in ext4_set_page_dirty, types: [WARNING] the chunk can be dropped disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed determining the merge base between 8a7f2a5c5aa1648edb4f2029c6ec33870afb7a95 and a48fa7efaf1161c1c898931fe4c7f0070964233a 8bb7eca972ad531c9b149c0a51ab43a417385813/Linux 5.15 is a merge base, check if it has the bug testing commit 8bb7eca972ad531c9b149c0a51ab43a417385813 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 04d86b8b5f03dedd71be6a985823aca73b57f0277485f29afdfc259ed9d7d6a9 all runs: crashed: WARNING in ext4_set_page_dirty representative crash: WARNING in ext4_set_page_dirty, types: [WARNING] testing current HEAD a48fa7efaf1161c1c898931fe4c7f0070964233a testing commit a48fa7efaf1161c1c898931fe4c7f0070964233a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 017686d1d469b68bdf13fbc03a8d70f7497736bae499d66356b1400fe4ab9293 all runs: OK false negative chance: 0.000 # git bisect start a48fa7efaf1161c1c898931fe4c7f0070964233a 8bb7eca972ad531c9b149c0a51ab43a417385813 Bisecting: 84836 revisions left to test after this (roughly 16 steps) [18fd049731e67651009f316195da9281b756f2cf] Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux determine whether the revision contains the guilty commit revision 8bb7eca972ad531c9b149c0a51ab43a417385813 crashed and is reachable testing commit 18fd049731e67651009f316195da9281b756f2cf gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2cbb395066a24a49bbaefae26bdb554482c5d7a7be8913feb678fdd5b8b89208 all runs: OK false negative chance: 0.000 # git bisect bad 18fd049731e67651009f316195da9281b756f2cf Bisecting: 42487 revisions left to test after this (roughly 15 steps) [d717e4cae0fe77e10a27e8545a967b8c379873ac] Merge tag 'net-5.18-rc0' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net determine whether the revision contains the guilty commit revision 8bb7eca972ad531c9b149c0a51ab43a417385813 crashed and is reachable testing commit d717e4cae0fe77e10a27e8545a967b8c379873ac gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b6628cbf2887b01d1f38f784ee383a105bd5b7524224c0d07b8d136d2eb12ccb run #0: boot failed: can't ssh into the instance run #1: OK run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK false negative chance: 0.000 # git bisect bad d717e4cae0fe77e10a27e8545a967b8c379873ac Bisecting: 21202 revisions left to test after this (roughly 14 steps) [c01d85c2190bf694ccd041e7d19c36eacf005840] Merge tag 'mtd/for-5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux determine whether the revision contains the guilty commit revision 8bb7eca972ad531c9b149c0a51ab43a417385813 crashed and is reachable testing commit c01d85c2190bf694ccd041e7d19c36eacf005840 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3a893da854f51c419568df9ef439a2c440082f86556182501307d6d947d8a1b4 all runs: crashed: WARNING in ext4_set_page_dirty representative crash: WARNING in ext4_set_page_dirty, types: [WARNING] # git bisect good c01d85c2190bf694ccd041e7d19c36eacf005840 Bisecting: 10608 revisions left to test after this (roughly 13 steps) [78383162605e22a2aad88e417bb8fcaf808f147a] Merge branch 'for-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq determine whether the revision contains the guilty commit revision 8bb7eca972ad531c9b149c0a51ab43a417385813 crashed and is reachable testing commit 78383162605e22a2aad88e417bb8fcaf808f147a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0112cf162eabd85da5eec831495c75b0790225e46ca6218a20557c9adc9a5379 all runs: OK false negative chance: 0.000 # git bisect bad 78383162605e22a2aad88e417bb8fcaf808f147a Bisecting: 5283 revisions left to test after this (roughly 12 steps) [f1b744f65e2f9682347c5faf6377e61e2ab19a67] Merge tag 'riscv-for-linus-5.17-mw0' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux determine whether the revision contains the guilty commit revision 8bb7eca972ad531c9b149c0a51ab43a417385813 crashed and is reachable testing commit f1b744f65e2f9682347c5faf6377e61e2ab19a67 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e3f0c13bf8a35aeca3557aff762717a291023c7b16c83b07efc22ae3f62a270b all runs: crashed: WARNING in ext4_set_page_dirty representative crash: WARNING in ext4_set_page_dirty, types: [WARNING] # git bisect good f1b744f65e2f9682347c5faf6377e61e2ab19a67 Bisecting: 2640 revisions left to test after this (roughly 11 steps) [8d670948f4d6d372935b7dcf9f7db14548859b67] Merge tag 'sound-5.17-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound determine whether the revision contains the guilty commit revision 8bb7eca972ad531c9b149c0a51ab43a417385813 crashed and is reachable testing commit 8d670948f4d6d372935b7dcf9f7db14548859b67 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 35b72032025c0d369c61238916386548a44011ae79b2489ef9a0d3eddab66620 all runs: crashed: WARNING in ext4_set_page_dirty representative crash: WARNING in ext4_set_page_dirty, types: [WARNING] # git bisect good 8d670948f4d6d372935b7dcf9f7db14548859b67 Bisecting: 1376 revisions left to test after this (roughly 10 steps) [b080cee72ef355669cbc52ff55dc513d37433600] Merge tag 'for-5.18/io_uring-statx-2022-03-18' of git://git.kernel.dk/linux-block determine whether the revision contains the guilty commit revision 8bb7eca972ad531c9b149c0a51ab43a417385813 crashed and is reachable testing commit b080cee72ef355669cbc52ff55dc513d37433600 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1802af3002b4d9afff14d80c04ceb8658b22e6f41b4bc692b19fc2ec454c6dc3 all runs: crashed: WARNING in ext4_set_page_dirty representative crash: WARNING in ext4_set_page_dirty, types: [WARNING] # git bisect good b080cee72ef355669cbc52ff55dc513d37433600 Bisecting: 690 revisions left to test after this (roughly 10 steps) [9b03992f0c88baef524842e411fbdc147780dd5d] Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4 determine whether the revision contains the guilty commit revision f1b744f65e2f9682347c5faf6377e61e2ab19a67 crashed and is reachable testing commit 9b03992f0c88baef524842e411fbdc147780dd5d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 05b6ddc5330f10d16e75d52b1385dfd99871ed0f8476a82e865f9adf8ddc6114 all runs: crashed: WARNING in ext4_set_page_dirty representative crash: WARNING in ext4_set_page_dirty, types: [WARNING] # git bisect good 9b03992f0c88baef524842e411fbdc147780dd5d Bisecting: 249 revisions left to test after this (roughly 9 steps) [3bf03b9a0839c9fb06927ae53ebd0f960b19d408] Merge branch 'akpm' (patches from Andrew) determine whether the revision contains the guilty commit revision f1b744f65e2f9682347c5faf6377e61e2ab19a67 crashed and is reachable testing commit 3bf03b9a0839c9fb06927ae53ebd0f960b19d408 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: cf2dcb8175cabc563b72d2bc510144e93714939c1bb0f9fcac2eebf92bc0e314 all runs: crashed: WARNING in ext4_set_page_dirty representative crash: WARNING in ext4_set_page_dirty, types: [WARNING] # git bisect good 3bf03b9a0839c9fb06927ae53ebd0f960b19d408 Bisecting: 134 revisions left to test after this (roughly 7 steps) [9030fb0bb9d607908d51f9ee02efdbe01da355ee] Merge tag 'folio-5.18c' of git://git.infradead.org/users/willy/pagecache determine whether the revision contains the guilty commit revision 8bb7eca972ad531c9b149c0a51ab43a417385813 crashed and is reachable testing commit 9030fb0bb9d607908d51f9ee02efdbe01da355ee gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5af04663892c939858fa0de6160598952ad3ee4b109aa3c4223ab1c3f26968c1 all runs: OK false negative chance: 0.000 # git bisect bad 9030fb0bb9d607908d51f9ee02efdbe01da355ee Bisecting: 57 revisions left to test after this (roughly 6 steps) [1b7f7e58decccb52d6bc454413e3298f1ab3a9c6] mm/gup: Convert check_and_migrate_movable_pages() to use a folio determine whether the revision contains the guilty commit revision 8bb7eca972ad531c9b149c0a51ab43a417385813 crashed and is reachable testing commit 1b7f7e58decccb52d6bc454413e3298f1ab3a9c6 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0dbf913e714a3a94a287035221b1bca1c7bed0982b9ad18f2735153be23bddf1 all runs: crashed: WARNING in ext4_set_page_dirty representative crash: WARNING in ext4_set_page_dirty, types: [WARNING] # git bisect good 1b7f7e58decccb52d6bc454413e3298f1ab3a9c6 Bisecting: 28 revisions left to test after this (roughly 5 steps) [dcc5d337c5e62761ee71f2e25c7aa890b1aa41a2] mm/mlock: Add mlock_vma_folio() determine whether the revision contains the guilty commit revision f1b744f65e2f9682347c5faf6377e61e2ab19a67 crashed and is reachable testing commit dcc5d337c5e62761ee71f2e25c7aa890b1aa41a2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9a86f65c4255db3dc2b462e3a264bbbfdf27dd6bcca471a80fad52980109b5e0 all runs: OK false negative chance: 0.000 # git bisect bad dcc5d337c5e62761ee71f2e25c7aa890b1aa41a2 Bisecting: 14 revisions left to test after this (roughly 4 steps) [c56109dd35c9204cd6c49d2116ef36e5044ef867] mm/truncate: Combine invalidate_mapping_pagevec() and __invalidate_mapping_pages() determine whether the revision contains the guilty commit revision f1b744f65e2f9682347c5faf6377e61e2ab19a67 crashed and is reachable testing commit c56109dd35c9204cd6c49d2116ef36e5044ef867 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e77cef1f918d91bafb6e615ad9d27f5103c0f3978bcf48ff9f06f64dd04557e6 all runs: OK false negative chance: 0.000 # git bisect bad c56109dd35c9204cd6c49d2116ef36e5044ef867 Bisecting: 6 revisions left to test after this (roughly 3 steps) [1b8ddbeeb9b819e62b7190115023ce858a159f5c] mm/truncate: Inline invalidate_complete_page() into its one caller determine whether the revision contains the guilty commit revision f1b744f65e2f9682347c5faf6377e61e2ab19a67 crashed and is reachable testing commit 1b8ddbeeb9b819e62b7190115023ce858a159f5c gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9b516489bfd3d0f5d4f40b08a7613e2e75e1f044355816dde77a0ba50694b345 all runs: crashed: WARNING in ext4_set_page_dirty representative crash: WARNING in ext4_set_page_dirty, types: [WARNING] # git bisect good 1b8ddbeeb9b819e62b7190115023ce858a159f5c Bisecting: 3 revisions left to test after this (roughly 2 steps) [5100da38ef3c33d9ad8b60b29c2b671249bf7e1d] mm: Convert remove_mapping() to take a folio determine whether the revision contains the guilty commit revision 1b7f7e58decccb52d6bc454413e3298f1ab3a9c6 crashed and is reachable testing commit 5100da38ef3c33d9ad8b60b29c2b671249bf7e1d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2635cee5251756ec794b28f8cce7ba8e5379f4adc0ae9d09459acbbd015d4192 all runs: OK false negative chance: 0.000 # git bisect bad 5100da38ef3c33d9ad8b60b29c2b671249bf7e1d Bisecting: 0 revisions left to test after this (roughly 1 step) [e41c81d0d30e1a6ebf408feaf561f80cac4457dc] mm/truncate: Replace page_mapped() call in invalidate_inode_page() determine whether the revision contains the guilty commit revision 1b7f7e58decccb52d6bc454413e3298f1ab3a9c6 crashed and is reachable testing commit e41c81d0d30e1a6ebf408feaf561f80cac4457dc gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6561178959e1727bd7245ad718376be41115578fde6d75b128ea638757d842cd all runs: OK false negative chance: 0.000 # git bisect bad e41c81d0d30e1a6ebf408feaf561f80cac4457dc Bisecting: 0 revisions left to test after this (roughly 0 steps) [4418481396b2caeded6d0eed11ac9052ab4c0763] mm/truncate: Convert invalidate_inode_page() to use a folio determine whether the revision contains the guilty commit revision f1b744f65e2f9682347c5faf6377e61e2ab19a67 crashed and is reachable testing commit 4418481396b2caeded6d0eed11ac9052ab4c0763 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ca1cba091e100f22edcf42be17b829f5579198ddca4a1e36fedbabae818415a7 all runs: crashed: WARNING in ext4_set_page_dirty representative crash: WARNING in ext4_set_page_dirty, types: [WARNING] # git bisect good 4418481396b2caeded6d0eed11ac9052ab4c0763 e41c81d0d30e1a6ebf408feaf561f80cac4457dc is the first bad commit commit e41c81d0d30e1a6ebf408feaf561f80cac4457dc Author: Matthew Wilcox (Oracle) Date: Sat Feb 12 17:43:16 2022 -0500 mm/truncate: Replace page_mapped() call in invalidate_inode_page() folio_mapped() is expensive because it has to check each page's mapcount field. A cheaper check is whether there are any extra references to the page, other than the one we own, one from the page private data and the ones held by the page cache. The call to remove_mapping() will fail in any case if it cannot freeze the refcount, but failing here avoids cycling the i_pages spinlock. Signed-off-by: Matthew Wilcox (Oracle) Reviewed-by: Miaohe Lin mm/truncate.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) accumulated error probability: 0.00 culprit signature: 6561178959e1727bd7245ad718376be41115578fde6d75b128ea638757d842cd parent signature: ca1cba091e100f22edcf42be17b829f5579198ddca4a1e36fedbabae818415a7 revisions tested: 26, total time: 4h11m48.736683643s (build: 1h10m19.24154848s, test: 2h53m35.040832486s) first good commit: e41c81d0d30e1a6ebf408feaf561f80cac4457dc mm/truncate: Replace page_mapped() call in invalidate_inode_page() recipients (to): ["linmiaohe@huawei.com" "willy@infradead.org"] recipients (cc): []