ci2 starts bisection 2023-11-07 10:23:00.146302192 +0000 UTC m=+32954.638864963 bisecting fixing commit since ca48fc16c49388400eddd6c6614593ebf7c7726a building syzkaller on 0d5c4377b3122ec946edab50132de6cdde9eac4d 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: 2105bf8d42e00cc6d8e82a9d4b4eddffc301680532b6fe07c7f10b6f8048663c all runs: crashed: possible deadlock in jbd2_journal_lock_updates representative crash: possible deadlock in jbd2_journal_lock_updates, types: [LOCKDEP] check whether we can drop unnecessary instrumentation 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: cae0919a39d64815346f98aa02baf2a38950fd615dcb817e7a66af62eb73a1b7 all runs: crashed: possible deadlock in jbd2_journal_lock_updates representative crash: possible deadlock in jbd2_journal_lock_updates, types: [LOCKDEP] the bug reproduces without the instrumentation disabling configs for [HANG LEAK UBSAN BUG KASAN ATOMIC_SLEEP], 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 [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: 91193e2efcfa34f25e846fffdc7012363484b33087bef0aa6eeb1ca73fecf256 all runs: crashed: possible deadlock in jbd2_journal_lock_updates representative crash: possible deadlock in jbd2_journal_lock_updates, 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: 4110c1c8472a4f742242343a27fcea71d2cbab05954d7d3b329e65dc7895374b all runs: crashed: possible deadlock in jbd2_journal_lock_updates representative crash: possible deadlock in jbd2_journal_lock_updates, 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: 44a926d9840917c4990c4fc46f765360d0c0ff1daa0d247d82fe2697b5b32096 all runs: crashed: possible deadlock in jbd2_journal_lock_updates representative crash: possible deadlock in jbd2_journal_lock_updates, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 4/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: 2d07c47e80665967a714db9c4bf139d669c8b3899e8cbfa145fc02d8cce5d3b0 all runs: crashed: possible deadlock in jbd2_journal_lock_updates representative crash: possible deadlock in jbd2_journal_lock_updates, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 5/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: fec3816765098dce86e5a8cb2f5a54851422bc2fa151a13e44ebc550f66189fc all runs: crashed: possible deadlock in jbd2_journal_lock_updates representative crash: possible deadlock in jbd2_journal_lock_updates, 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 be3ca57cfb777ad820c6659d52e60bbdd36bf5ff 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: bbc0f5a78a7c36d3b6fdc7dd30a0e6b1a1df76e0516e3e409e62eb39ec52321a all runs: crashed: possible deadlock in jbd2_journal_lock_updates representative crash: possible deadlock in jbd2_journal_lock_updates, types: [LOCKDEP] testing current HEAD be3ca57cfb777ad820c6659d52e60bbdd36bf5ff testing commit be3ca57cfb777ad820c6659d52e60bbdd36bf5ff gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a15462b9033225488bb72afd7b933f3c95aa0babb434adc09bee06320318fd37 all runs: OK false negative chance: 0.000 # git bisect start be3ca57cfb777ad820c6659d52e60bbdd36bf5ff 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 Bisecting: 46776 revisions left to test after this (roughly 16 steps) [02f8fc1a67c160b2faab2c9e9439026deb076971] Merge branch 'net-lan966x-add-support-for-pcp-dei-dscp' determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 02f8fc1a67c160b2faab2c9e9439026deb076971 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5da697817afb21c62aba7c31accb320a2f0dfb7cc1f39f79f6c64f7480f63560 all runs: OK false negative chance: 0.000 # git bisect bad 02f8fc1a67c160b2faab2c9e9439026deb076971 Bisecting: 23366 revisions left to test after this (roughly 15 steps) [d151e8bea1509a6f72a8929882d9ecb66e936b09] Merge tag 'iomap-6.3-merge-1' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit d151e8bea1509a6f72a8929882d9ecb66e936b09 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 49d132f660cdac6ceef2748a7f29dcf1142ab9a9c9497704543beb34140aee20 all runs: crashed: possible deadlock in jbd2_journal_lock_updates representative crash: possible deadlock in jbd2_journal_lock_updates, types: [LOCKDEP] # git bisect good d151e8bea1509a6f72a8929882d9ecb66e936b09 Bisecting: 11981 revisions left to test after this (roughly 14 steps) [9280c577431401544e63dfb489a830a42bee25eb] NFSD: Handle new xprtsec= export option determine whether the revision contains the guilty commit revision d151e8bea1509a6f72a8929882d9ecb66e936b09 crashed and is reachable testing commit 9280c577431401544e63dfb489a830a42bee25eb gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f39e62fac5b2e0b1168371d11489da144d20c14e3ae7d5c43e878ad9e3ab7b67 all runs: OK false negative chance: 0.000 # git bisect bad 9280c577431401544e63dfb489a830a42bee25eb Bisecting: 5560 revisions left to test after this (roughly 13 steps) [4b8c673b761e74add4fd185d806ac16c9b40158f] Merge tag 'media/v6.3-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media determine whether the revision contains the guilty commit revision d151e8bea1509a6f72a8929882d9ecb66e936b09 crashed and is reachable testing commit 4b8c673b761e74add4fd185d806ac16c9b40158f gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 151f4ddd9ba175d7017c8178a775e4ebc8f016b0b6c6a6b7aacc1a993fd7e1d1 all runs: crashed: possible deadlock in jbd2_journal_lock_updates representative crash: possible deadlock in jbd2_journal_lock_updates, types: [LOCKDEP] # git bisect good 4b8c673b761e74add4fd185d806ac16c9b40158f Bisecting: 2779 revisions left to test after this (roughly 12 steps) [b9881d9a761a7e078c394ff8e30e1659d74f898f] Merge branch 'bonding-ns-validation-fixes' determine whether the revision contains the guilty commit revision 4b8c673b761e74add4fd185d806ac16c9b40158f crashed and is reachable testing commit b9881d9a761a7e078c394ff8e30e1659d74f898f gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: eed736cececa8c19d65efc8648590a79b71bb80d61706cfaa9b667557df7d8b9 all runs: OK false negative chance: 0.000 # git bisect bad b9881d9a761a7e078c394ff8e30e1659d74f898f Bisecting: 1389 revisions left to test after this (roughly 11 steps) [388a810192fd383acce6933e7f272dd6a6802bb0] Merge tag 'erofs-for-6.3-rc2-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 388a810192fd383acce6933e7f272dd6a6802bb0 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9c780a73272594f16a31a55d0bbcddf583c9064e6715b26066cbfd2d8e750001 all runs: crashed: possible deadlock in jbd2_journal_lock_updates representative crash: possible deadlock in jbd2_journal_lock_updates, types: [LOCKDEP] # git bisect good 388a810192fd383acce6933e7f272dd6a6802bb0 Bisecting: 729 revisions left to test after this (roughly 10 steps) [d0072ca529674c36421023ffe90837a7de9387f3] mm: mmap: remove newline at the end of the trace determine whether the revision contains the guilty commit revision 4b8c673b761e74add4fd185d806ac16c9b40158f crashed and is reachable testing commit d0072ca529674c36421023ffe90837a7de9387f3 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 874df3f651f6f46956c7771c3321dce17a1ad050edcdfde72a8b7e7da2fa149e all runs: OK false negative chance: 0.000 # git bisect bad d0072ca529674c36421023ffe90837a7de9387f3 Bisecting: 329 revisions left to test after this (roughly 8 steps) [ba9c77919045943af677c03f04c778a1c16ae680] Merge branch 'turbostat' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux determine whether the revision contains the guilty commit revision d151e8bea1509a6f72a8929882d9ecb66e936b09 crashed and is reachable testing commit ba9c77919045943af677c03f04c778a1c16ae680 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 76d3e674994cee30cfef90736b4ab2b4fa6e5691d3522bac6b1502e81609b683 all runs: OK false negative chance: 0.000 # git bisect bad ba9c77919045943af677c03f04c778a1c16ae680 Bisecting: 165 revisions left to test after this (roughly 7 steps) [ed38ff164fba98a21993c95d240013f32309ccab] Merge tag 'zstd-linus-v6.3-rc3' of https://github.com/terrelln/linux determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit ed38ff164fba98a21993c95d240013f32309ccab gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b9fa9220633b72525c951b08455508f9c1b8ff49111982690ddc409a14bce74e all runs: OK false negative chance: 0.000 # git bisect bad ed38ff164fba98a21993c95d240013f32309ccab Bisecting: 79 revisions left to test after this (roughly 6 steps) [ef5f68cc1f829b492b19cd4df5af4454aa816b93] 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 d151e8bea1509a6f72a8929882d9ecb66e936b09 crashed and is reachable testing commit ef5f68cc1f829b492b19cd4df5af4454aa816b93 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 53f8b70c6be83a1702c0caca565d1d7892fe54c118f873ef73a655afe387eab7 all runs: crashed: possible deadlock in jbd2_journal_lock_updates representative crash: possible deadlock in jbd2_journal_lock_updates, types: [LOCKDEP] # git bisect good ef5f68cc1f829b492b19cd4df5af4454aa816b93 Bisecting: 41 revisions left to test after this (roughly 5 steps) [d3d0cac69fc509ece28a267c093d2f1094f88dba] Merge tag 'x86_urgent_for_v6.3_rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit d3d0cac69fc509ece28a267c093d2f1094f88dba gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f896974868012968abf10142a4b2038a68e243d169d34d91bd717e23ebe6c999 all runs: OK false negative chance: 0.000 # git bisect bad d3d0cac69fc509ece28a267c093d2f1094f88dba Bisecting: 24 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: 2e037f8b9a670a51c6fc7a63ea482cb308416fefc3de2ed1464eb4ad9f4bec28 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: 3a05e0ace2860aee8b977fdb0dd0769082f44317199c9b3f476bc84e2df692cb all runs: crashed: possible deadlock in jbd2_journal_lock_updates representative crash: possible deadlock in jbd2_journal_lock_updates, 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: 16ab8ff8f116fb6762be10b2e4ca1b69f865da24446de7bcdcbf4078fe155f50 all runs: crashed: possible deadlock in jbd2_journal_lock_updates representative crash: possible deadlock in jbd2_journal_lock_updates, 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 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 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: 95d7fd6e7df50efaea1480315c1a2d741c8a692e4645a0611117a53b91bc7449 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 7fc1f5c28ae4c615ccc5346f39a7bf4c4e0900ac 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: 2db96bd04db36b26ef63bddc7525bdb330843203975fdff10247664d2ef83fc3 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: 2db96bd04db36b26ef63bddc7525bdb330843203975fdff10247664d2ef83fc3 parent signature: 16ab8ff8f116fb6762be10b2e4ca1b69f865da24446de7bcdcbf4078fe155f50 revisions tested: 25, total time: 3h34m50.70841867s (build: 1h1m57.598393845s, test: 2h23m28.709108721s) first good commit: 62913ae96de747091c4dacd06d158e7729c1a76d ext4, jbd2: add an optimized bmap for the journal inode recipients (to): ["tytso@mit.edu"] recipients (cc): []