ci2 starts bisection 2023-09-15 05:50:35.290042283 +0000 UTC m=+163967.319216416 bisecting fixing commit since ca48fc16c49388400eddd6c6614593ebf7c7726a building syzkaller on 5205ef306e8b4217fc49cb8d8bd18670b7d08c3c ensuring issue is reproducible on original commit ca48fc16c49388400eddd6c6614593ebf7c7726a testing commit ca48fc16c49388400eddd6c6614593ebf7c7726a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7cc7d497d87f87a600abd9461415e2024253d6824a6cc9d13b97d056f7cc6a7b all runs: crashed: possible deadlock in ext4_bmap representative crash: possible deadlock in ext4_bmap, types: [LOCKDEP] check whether we can drop unnecessary instrumentation disabling configs for [HANG LEAK UBSAN BUG KASAN ATOMIC_SLEEP], they are not needed testing commit ca48fc16c49388400eddd6c6614593ebf7c7726a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 285d976d047bd5f523f4f8d99e33acfebe35b9d1e0a5dd13a0f80da82de63962 all runs: crashed: possible deadlock in ext4_bmap representative crash: possible deadlock in ext4_bmap, types: [LOCKDEP] the bug reproduces without the instrumentation disabling configs for [BUG KASAN ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed kconfig minimization: base=3820 full=7521 leaves diff=1987 split chunks (needed=false): <1987> split chunk #0 of len 1987 into 5 parts testing without sub-chunk 1/5 disabling configs for [UBSAN BUG KASAN ATOMIC_SLEEP HANG LEAK], they are not needed testing commit ca48fc16c49388400eddd6c6614593ebf7c7726a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0dfc8904449d2f86763acc59a4084d2a49ffde8062c2fed500b5a16ee0efe5f4 all runs: crashed: possible deadlock in ext4_bmap representative crash: possible deadlock in ext4_bmap, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [KASAN ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit ca48fc16c49388400eddd6c6614593ebf7c7726a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9130da9fb3d6c0d16d97760e99c958deb6e47662d2054706d47530325b3eb5e0 all runs: crashed: possible deadlock in ext4_bmap representative crash: possible deadlock in ext4_bmap, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [UBSAN BUG KASAN ATOMIC_SLEEP HANG LEAK], they are not needed testing commit ca48fc16c49388400eddd6c6614593ebf7c7726a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1d0bc359bb6c04ef60e78c6e2ada9b5f7f79b89a5ec512ff6b35f27f40c02a05 all runs: crashed: possible deadlock in ext4_bmap representative crash: possible deadlock in ext4_bmap, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [BUG KASAN ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit ca48fc16c49388400eddd6c6614593ebf7c7726a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ecdb7e9f526d8b8f9639101bb1de4a3bb7d363cb5616a0227b03d4749f6968e3 all runs: crashed: possible deadlock in ext4_bmap representative crash: possible deadlock in ext4_bmap, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], they are not needed testing commit ca48fc16c49388400eddd6c6614593ebf7c7726a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4bdb0c0e2c63bc77f81d99f8b5a3a4538b78ad1b51a385958f1fc2a4587e595f all runs: crashed: possible deadlock in ext4_bmap representative crash: possible deadlock in ext4_bmap, types: [LOCKDEP] the chunk can be dropped disabling configs for [HANG LEAK UBSAN BUG KASAN ATOMIC_SLEEP], they are not needed determining the merge base between ca48fc16c49388400eddd6c6614593ebf7c7726a and 9fdfb15a3dbf818e06be514f4abbfc071004cbe7 830b3c68c1fb1e9176028d02ef86f3cf76aa2476/Linux 6.1 is a merge base, check if it has the bug testing commit 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: dd67968d256141e0bf730ed3e241951904907b4615c7717a7babdc45189c1a7f all runs: crashed: possible deadlock in ext4_bmap representative crash: possible deadlock in ext4_bmap, types: [LOCKDEP] testing current HEAD 9fdfb15a3dbf818e06be514f4abbfc071004cbe7 testing commit 9fdfb15a3dbf818e06be514f4abbfc071004cbe7 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e2e207417cb1160f1dff96061cedc49080984655e4270e247095166031d2b54f all runs: OK false negative chance: 0.000 # git bisect start 9fdfb15a3dbf818e06be514f4abbfc071004cbe7 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 Bisecting: 38320 revisions left to test after this (roughly 15 steps) [b68ee1c6131c540a62ecd443be89c406401df091] Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit b68ee1c6131c540a62ecd443be89c406401df091 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c8cdef02826bf96d084240a00ab4c49b8bce21975142d7d06bbb784eedca8612 all runs: OK false negative chance: 0.000 # git bisect bad b68ee1c6131c540a62ecd443be89c406401df091 Bisecting: 19083 revisions left to test after this (roughly 14 steps) [8ca8d89b43caf9a02a18414d6eeff966d2b14512] Merge tag 'cgroup-for-6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 8ca8d89b43caf9a02a18414d6eeff966d2b14512 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: aa71918e84d01bc96d0b683457b77d66e2d1cf5c99a25a691cdb2a2001a38c1d all runs: crashed: possible deadlock in ext4_bmap representative crash: possible deadlock in ext4_bmap, types: [LOCKDEP] # git bisect good 8ca8d89b43caf9a02a18414d6eeff966d2b14512 Bisecting: 9554 revisions left to test after this (roughly 13 steps) [60e2bf7d10e9cd5641f4a5183a19058d9a2c8782] Merge tag 'input-for-v6.3-rc0' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input determine whether the revision contains the guilty commit revision 8ca8d89b43caf9a02a18414d6eeff966d2b14512 crashed and is reachable testing commit 60e2bf7d10e9cd5641f4a5183a19058d9a2c8782 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7bd7b653b5a8a21afecf7914012e711feb8727c79e49dd6802fbbde74ff93d8c all runs: crashed: possible deadlock in ext4_bmap representative crash: possible deadlock in ext4_bmap, types: [LOCKDEP] # git bisect good 60e2bf7d10e9cd5641f4a5183a19058d9a2c8782 Bisecting: 4819 revisions left to test after this (roughly 12 steps) [672d2dae19012cb2c40fdf36711ee3b5f5420724] Merge tag 'soc-defconfig-6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc determine whether the revision contains the guilty commit revision 8ca8d89b43caf9a02a18414d6eeff966d2b14512 crashed and is reachable testing commit 672d2dae19012cb2c40fdf36711ee3b5f5420724 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7dfc78dd3c3735ca2be6f1b925e50ae4152d9e06a6326963c2a87cac6d602984 all runs: OK false negative chance: 0.000 # git bisect bad 672d2dae19012cb2c40fdf36711ee3b5f5420724 Bisecting: 2368 revisions left to test after this (roughly 11 steps) [eee87853794187f6adbe19533ed79c8b44b36a91] cgroup/cpuset: Add cpuset_can_fork() and cpuset_cancel_fork() methods determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit eee87853794187f6adbe19533ed79c8b44b36a91 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e92b2d93b939b28bbede4d1f04fbfcc44043dc74cf5033d3d7068328fb8122ac all runs: OK false negative chance: 0.000 # git bisect bad eee87853794187f6adbe19533ed79c8b44b36a91 Bisecting: 1177 revisions left to test after this (roughly 10 steps) [103830683cfc8f43b15158b0a48014b6d6e83633] Merge tag 'f2fs-for-6.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 103830683cfc8f43b15158b0a48014b6d6e83633 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 626a6636aa4f90ac7b36a919fecc799f5dcc83cea811d8112e0ffbfc7d708941 all runs: crashed: possible deadlock in ext4_bmap representative crash: possible deadlock in ext4_bmap, types: [LOCKDEP] # git bisect good 103830683cfc8f43b15158b0a48014b6d6e83633 Bisecting: 581 revisions left to test after this (roughly 9 steps) [d172859ebff33598d80089c0bec44471872d2628] Merge tag 'sound-fix-6.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound determine whether the revision contains the guilty commit revision 8ca8d89b43caf9a02a18414d6eeff966d2b14512 crashed and is reachable testing commit d172859ebff33598d80089c0bec44471872d2628 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1bad9dd1dfc8e7d32acd77f652aedb35b4ee5c9b3ed9ab279341887d0acb496d all runs: crashed: possible deadlock in ext4_bmap representative crash: possible deadlock in ext4_bmap, types: [LOCKDEP] # git bisect good d172859ebff33598d80089c0bec44471872d2628 Bisecting: 291 revisions left to test after this (roughly 8 steps) [e25c54d17914b0df4f902d1f25cd52f54e20cfbf] ubi: block: Fix missing blk_mq_end_request determine whether the revision contains the guilty commit revision 8ca8d89b43caf9a02a18414d6eeff966d2b14512 crashed and is reachable testing commit e25c54d17914b0df4f902d1f25cd52f54e20cfbf gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 86c51c63e85b4fac17235bf9446e412bd5cbdbe0499e60f088ade69f4b8f93ae all runs: crashed: possible deadlock in ext4_bmap representative crash: possible deadlock in ext4_bmap, types: [LOCKDEP] # git bisect good e25c54d17914b0df4f902d1f25cd52f54e20cfbf Bisecting: 152 revisions left to test after this (roughly 7 steps) [7622976c8f4f233fac251263e08adee27969abcd] Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 7622976c8f4f233fac251263e08adee27969abcd gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d6d33f58ba435426104f77dd19b8793dcb2159ac502c979e7b737321624312c9 all runs: OK false negative chance: 0.000 # git bisect bad 7622976c8f4f233fac251263e08adee27969abcd Bisecting: 69 revisions left to test after this (roughly 6 steps) [f3e707413dbe3920a972d0c2b51175180e7de36b] KVM: selftests: Sync KVM exit reasons in selftests determine whether the revision contains the guilty commit revision 8ca8d89b43caf9a02a18414d6eeff966d2b14512 crashed and is reachable testing commit f3e707413dbe3920a972d0c2b51175180e7de36b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5fbd8477d7b7388a2343512f75ef8623fe2b657645c14086b365a13e4294bde8 all runs: OK false negative chance: 0.000 # git bisect bad f3e707413dbe3920a972d0c2b51175180e7de36b Bisecting: 33 revisions left to test after this (roughly 5 steps) [f5eded1f5f117ed2151f605867ad7df1fd7d1bbe] Merge tag 'kernel.fork.v6.3-rc2' of gitolite.kernel.org:pub/scm/linux/kernel/git/brauner/linux determine whether the revision contains the guilty commit revision d172859ebff33598d80089c0bec44471872d2628 crashed and is reachable testing commit f5eded1f5f117ed2151f605867ad7df1fd7d1bbe gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2559949083febf12b021373303ce3ece03e6e226e493964497bdc90dd49918bc all runs: OK false negative chance: 0.000 # git bisect bad f5eded1f5f117ed2151f605867ad7df1fd7d1bbe Bisecting: 21 revisions left to test after this (roughly 4 steps) [f5361da1e60d54ec81346aee8e3d8baf1be0b762] ext4: zero i_disksize when initializing the bootloader inode determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit f5361da1e60d54ec81346aee8e3d8baf1be0b762 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a2142003ca8b7ad521dd3345f5fb32ab7e182c1e2d614af2d56bc660d22729c1 all runs: OK false negative chance: 0.000 # git bisect bad f5361da1e60d54ec81346aee8e3d8baf1be0b762 Bisecting: 6 revisions left to test after this (roughly 3 steps) [7fc1f5c28ae4c615ccc5346f39a7bf4c4e0900ac] ext4: Fix comment about the 64BIT feature determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 7fc1f5c28ae4c615ccc5346f39a7bf4c4e0900ac gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: afbe1dd5f5a6cc0bba40cf9551e0c5a726db97557a4024ebb63bdf33635f6b68 all runs: crashed: possible deadlock in ext4_bmap representative crash: possible deadlock in ext4_bmap, types: [LOCKDEP] # git bisect good 7fc1f5c28ae4c615ccc5346f39a7bf4c4e0900ac Bisecting: 3 revisions left to test after this (roughly 2 steps) [2b96b4a5d9443ca4cad58b0040be455803c05a42] ext4: fix WARNING in ext4_update_inline_data determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 2b96b4a5d9443ca4cad58b0040be455803c05a42 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ecf19ea7e75900be25d8e95dd5df5f07f59efc30ff852b2dedd877c976d847e8 all runs: crashed: possible deadlock in ext4_bmap representative crash: possible deadlock in ext4_bmap, types: [LOCKDEP] # git bisect good 2b96b4a5d9443ca4cad58b0040be455803c05a42 Bisecting: 1 revision left to test after this (roughly 1 step) [eee00237fa5ec8f704f7323b54e48cc34e2d9168] ext4: commit super block if fs record error when journal record without error determine whether the revision contains the guilty commit revision 7fc1f5c28ae4c615ccc5346f39a7bf4c4e0900ac crashed and is reachable testing commit eee00237fa5ec8f704f7323b54e48cc34e2d9168 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7f2c60e268850254e2e8f2929f4c925f396e2d9adcb8aef1595b78c5f1936636 all runs: OK false negative chance: 0.000 # git bisect bad eee00237fa5ec8f704f7323b54e48cc34e2d9168 Bisecting: 0 revisions left to test after this (roughly 0 steps) [62913ae96de747091c4dacd06d158e7729c1a76d] ext4, jbd2: add an optimized bmap for the journal inode determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 62913ae96de747091c4dacd06d158e7729c1a76d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a9eb2ab48acfabadbc926bc42debe848b2892fb1207c4b0ca9f1732b27fb07fd all runs: OK false negative chance: 0.000 # git bisect bad 62913ae96de747091c4dacd06d158e7729c1a76d 62913ae96de747091c4dacd06d158e7729c1a76d is the first bad commit commit 62913ae96de747091c4dacd06d158e7729c1a76d Author: Theodore Ts'o Date: Tue Mar 7 23:15:49 2023 -0500 ext4, jbd2: add an optimized bmap for the journal inode The generic bmap() function exported by the VFS takes locks and does checks that are not necessary for the journal inode. So allow the file system to set a journal-optimized bmap function in journal->j_bmap. Reported-by: syzbot+9543479984ae9e576000@syzkaller.appspotmail.com Link: https://syzkaller.appspot.com/bug?id=e4aaa78795e490421c79f76ec3679006c8ff4cf0 Signed-off-by: Theodore Ts'o fs/ext4/super.c | 23 +++++++++++++++++++++++ fs/jbd2/journal.c | 9 ++++++--- include/linux/jbd2.h | 8 ++++++++ 3 files changed, 37 insertions(+), 3 deletions(-) accumulated error probability: 0.00 culprit signature: a9eb2ab48acfabadbc926bc42debe848b2892fb1207c4b0ca9f1732b27fb07fd parent signature: ecf19ea7e75900be25d8e95dd5df5f07f59efc30ff852b2dedd877c976d847e8 revisions tested: 25, total time: 4h12m19.288640032s (build: 1h26m19.392923849s, test: 2h36m13.99678803s) first good commit: 62913ae96de747091c4dacd06d158e7729c1a76d ext4, jbd2: add an optimized bmap for the journal inode recipients (to): ["tytso@mit.edu"] recipients (cc): []