ci starts bisection 2023-03-09 07:56:37.235030825 +0000 UTC m=+2337.357557346 bisecting fixing commit since 98555239e4c3aab1810d84073166eef6d54eeb3d building syzkaller on 86777b7fb4a452ebbd7430a2c4add0486734922b ensuring issue is reproducible on original commit 98555239e4c3aab1810d84073166eef6d54eeb3d testing commit 98555239e4c3aab1810d84073166eef6d54eeb3d gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 304201759c93f66a7402ea3182050e7198af6cb5b5ec3e01e76ee188721483c3 all runs: crashed: WARNING in btrfs_run_delayed_refs testing current HEAD 6a98c9cae232800c319ed69e1063480d31430887 testing commit 6a98c9cae232800c319ed69e1063480d31430887 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: c13dee2996ed4e2c80fc7725ab51f4384b774df78ccb17d556b5a25785857174 all runs: OK # git bisect start 6a98c9cae232800c319ed69e1063480d31430887 98555239e4c3aab1810d84073166eef6d54eeb3d Bisecting: 16356 revisions left to test after this (roughly 14 steps) [d57609fad9579f20bbc21f73f7d507937118a79b] Merge git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf testing commit d57609fad9579f20bbc21f73f7d507937118a79b gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 946eeb731b36b12790cec9da98fa8c1a9e09c398ebe23395fe5dfef3e547648c all runs: OK # git bisect bad d57609fad9579f20bbc21f73f7d507937118a79b Bisecting: 7952 revisions left to test after this (roughly 13 steps) [a594533df0f6ca391da003f43d53b336a2d23ffa] Merge tag 'drm-next-2022-12-13' of git://anongit.freedesktop.org/drm/drm testing commit a594533df0f6ca391da003f43d53b336a2d23ffa gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 4e09e863e9d49004d2fd6489d1051ed60f1c891552af433e048962e2f117fcd8 all runs: OK # git bisect bad a594533df0f6ca391da003f43d53b336a2d23ffa Bisecting: 4159 revisions left to test after this (roughly 12 steps) [9d33edb20f7e6943250d6bb96ceaf2368f674d51] Merge tag 'irq-core-2022-12-10' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip testing commit 9d33edb20f7e6943250d6bb96ceaf2368f674d51 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 47f2a0fe3a3da5e7ce5648b559ca55a725548a004a4d2c1c6799ac71afc50ed7 all runs: OK # git bisect bad 9d33edb20f7e6943250d6bb96ceaf2368f674d51 Bisecting: 2110 revisions left to test after this (roughly 11 steps) [c4252650a8c4770b669398fe7270ed8c94fc0eba] Merge tag 'drm-misc-fixes-2022-12-08' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes testing commit c4252650a8c4770b669398fe7270ed8c94fc0eba gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: bc06c354963eaafb336d51d0d6944927d15a802738acba0c0c51cbef79fce37e all runs: OK # git bisect bad c4252650a8c4770b669398fe7270ed8c94fc0eba Bisecting: 1051 revisions left to test after this (roughly 10 steps) [74bd160fd59f104ca15f4582fee97807146a3a7e] Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm testing commit 74bd160fd59f104ca15f4582fee97807146a3a7e gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 76a490f3fac9bf9d579c7c44610bdc7c875ef6f6b7385d4a9ced16b0b30fee29 all runs: OK # git bisect bad 74bd160fd59f104ca15f4582fee97807146a3a7e Bisecting: 510 revisions left to test after this (roughly 9 steps) [9521c9d6a53df9c44a5f5ddbc229ceaf3cf79ef6] Merge tag 'net-6.1-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net testing commit 9521c9d6a53df9c44a5f5ddbc229ceaf3cf79ef6 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: be924236e4a16422eb548f5f33808a206814d599c12c0fe1c6de5c983cd98c84 all runs: crashed: WARNING in btrfs_run_delayed_refs # git bisect good 9521c9d6a53df9c44a5f5ddbc229ceaf3cf79ef6 Bisecting: 254 revisions left to test after this (roughly 8 steps) [42bf3ce70f2a969a1a92b797f8c690d43f968b1d] Merge tag 'drm-fixes-20221109' of git://linuxtv.org/pinchartl/media into drm-fixes testing commit 42bf3ce70f2a969a1a92b797f8c690d43f968b1d gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 05dff17be2a000e788f77d6fda24b517e35ae944718d56e3d7c662d5e1730bc8 all runs: crashed: WARNING in btrfs_run_delayed_refs # git bisect good 42bf3ce70f2a969a1a92b797f8c690d43f968b1d Bisecting: 141 revisions left to test after this (roughly 7 steps) [abd5ac18ae661681fbacd8c9d0a577943da4c89e] Merge tag 'mlx5-fixes-2022-11-09' of git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux testing commit abd5ac18ae661681fbacd8c9d0a577943da4c89e gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 63d7c1bfe260687fe9aad3b54276f2351ffca4c11e6727c75883e699ba5c9652 all runs: crashed: WARNING in btrfs_run_delayed_refs # git bisect good abd5ac18ae661681fbacd8c9d0a577943da4c89e Bisecting: 71 revisions left to test after this (roughly 6 steps) [9c730fe10493d309f402cbd28ad539379b13a24d] Merge tag 'for-linus-2022111101' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid testing commit 9c730fe10493d309f402cbd28ad539379b13a24d gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 68f554ad90b7d184ad8e70ec77a2d92acbf439f8b808802897e38a331f14d854 all runs: OK # git bisect bad 9c730fe10493d309f402cbd28ad539379b13a24d Bisecting: 36 revisions left to test after this (roughly 5 steps) [8395ee62b1b78a3d2789840bf6bf1a7c43deaa32] Merge tag 'phy-fixes-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy testing commit 8395ee62b1b78a3d2789840bf6bf1a7c43deaa32 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: fce7a240603359ec6a9af809d1f8bc4a506ffdfd77a76c2249d0bc5ad545d8cd all runs: crashed: WARNING in btrfs_run_delayed_refs # git bisect good 8395ee62b1b78a3d2789840bf6bf1a7c43deaa32 Bisecting: 17 revisions left to test after this (roughly 4 steps) [fd979ca691715891a979ce12d1a485b108af74d3] Merge tag 'drm-fixes-2022-11-11' of git://anongit.freedesktop.org/drm/drm testing commit fd979ca691715891a979ce12d1a485b108af74d3 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 4a1085edb638fabe785615862e838cdd7030bd7a5f37a99dea135122b1c712ab all runs: OK # git bisect bad fd979ca691715891a979ce12d1a485b108af74d3 Bisecting: 11 revisions left to test after this (roughly 3 steps) [c62f6bec53e63b11112e1ebce6bbaa39ce6f6706] btrfs: zoned: fix locking imbalance on scrub testing commit c62f6bec53e63b11112e1ebce6bbaa39ce6f6706 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 5ebfcbf9ec3bc0c3f8a2690d01104682c08c397315f868dcdd2ef4a4417b9abc all runs: OK # git bisect bad c62f6bec53e63b11112e1ebce6bbaa39ce6f6706 Bisecting: 3 revisions left to test after this (roughly 2 steps) [8bb808c6ad91ec3d332f072ce8f8aa4b16e307e0] btrfs: don't print stack trace when transaction is aborted due to ENOMEM testing commit 8bb808c6ad91ec3d332f072ce8f8aa4b16e307e0 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 5f82772481f2c23c85c7a519c7f28406f579168d2869743fc8c951be8a15837b all runs: OK # git bisect bad 8bb808c6ad91ec3d332f072ce8f8aa4b16e307e0 Bisecting: 0 revisions left to test after this (roughly 1 step) [9b2f20344d450137d015b380ff0c2e2a6a170135] btrfs: selftests: fix wrong error check in btrfs_free_dummy_root() testing commit 9b2f20344d450137d015b380ff0c2e2a6a170135 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 7f5f34a989de9c3405f85c79645b1a2a87310d6fc468974ab9d9a38e1e43e43a all runs: crashed: WARNING in btrfs_run_delayed_refs # git bisect good 9b2f20344d450137d015b380ff0c2e2a6a170135 8bb808c6ad91ec3d332f072ce8f8aa4b16e307e0 is the first bad commit commit 8bb808c6ad91ec3d332f072ce8f8aa4b16e307e0 Author: David Sterba Date: Thu Nov 3 14:39:01 2022 +0100 btrfs: don't print stack trace when transaction is aborted due to ENOMEM Add ENOMEM among the error codes that don't print stack trace on transaction abort. We've got several reports from syzbot that detects stacks as errors but caused by limiting memory. As this is an artificial condition we don't need to know where exactly the error happens, the abort and error cleanup will continue like e.g. for EIO. As the transaction aborts code needs to be inline in a lot of code, the implementation cases about minimal bloat. The error codes are in a separate function and the WARN uses the condition directly. This increases the code size by 571 bytes on release build. Alternatives considered: add -ENOMEM among the errors, this increases size by 2340 bytes, various attempts to combine the WARN and helper calls, increase by 700 or more bytes. Example syzbot reports (error -12): - https://syzkaller.appspot.com/bug?extid=5244d35be7f589cf093e - https://syzkaller.appspot.com/bug?extid=9c37714c07194d816417 Signed-off-by: David Sterba fs/btrfs/ctree.c | 16 ++++++++++++++++ fs/btrfs/ctree.h | 11 +++++++---- 2 files changed, 23 insertions(+), 4 deletions(-) culprit signature: 5f82772481f2c23c85c7a519c7f28406f579168d2869743fc8c951be8a15837b parent signature: 7f5f34a989de9c3405f85c79645b1a2a87310d6fc468974ab9d9a38e1e43e43a revisions tested: 16, total time: 3h59m30.740759664s (build: 1h48m53.132426546s, test: 2h8m23.690854694s) first good commit: 8bb808c6ad91ec3d332f072ce8f8aa4b16e307e0 btrfs: don't print stack trace when transaction is aborted due to ENOMEM recipients (to): ["dsterba@suse.com"] recipients (cc): []