ci2 starts bisection 2022-11-22 00:37:59.687539797 +0000 UTC m=+19828.782043781 bisecting fixing commit since 493ffd6605b2d3d4dc7008ab927dba319f36671f building syzkaller on b31320fc8f3519e40494f64ebf77c13d16284bfd ensuring issue is reproducible on original commit 493ffd6605b2d3d4dc7008ab927dba319f36671f testing commit 493ffd6605b2d3d4dc7008ab927dba319f36671f gcc compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: dd1a8a5afadb96e76a4afb90553559aa9cb327c9f789331317192096348fbd02 all runs: crashed: WARNING in cleanup_transaction testing current HEAD eb7081409f94a9a8608593d0fb63a1aa3d6f95d8 testing commit eb7081409f94a9a8608593d0fb63a1aa3d6f95d8 gcc compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 9ea073ff19179188600f7049a89d715fa5dd2ab5159405895846e52a8b6943c3 all runs: OK # git bisect start eb7081409f94a9a8608593d0fb63a1aa3d6f95d8 493ffd6605b2d3d4dc7008ab927dba319f36671f Bisecting: 2477 revisions left to test after this (roughly 11 steps) [a521fc3cfbf45f910d6f4438cc222fda15a4987b] Merge tag 'block-6.1-2022-10-13' of git://git.kernel.dk/linux testing commit a521fc3cfbf45f910d6f4438cc222fda15a4987b gcc compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 38e740158f69e12c79073a0fcd42c966b9975ae70d31eea39a20e5d2a8a2cdff all runs: boot failed: WARNING in cpumask_next_wrap # git bisect skip a521fc3cfbf45f910d6f4438cc222fda15a4987b Bisecting: 2477 revisions left to test after this (roughly 11 steps) [200ec44ab7f9499a1f703aea0d7ba7d33e012d2f] Merge tag 'amd-drm-fixes-6.1-2022-10-26-1' of https://gitlab.freedesktop.org/agd5f/linux into drm-fixes testing commit 200ec44ab7f9499a1f703aea0d7ba7d33e012d2f gcc compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: b2bdb13696c6c6a81eac8c9052dc9ff8d032ee9c159637a7f67b1a4c1b95ca3a all runs: crashed: WARNING in cleanup_transaction # git bisect good 200ec44ab7f9499a1f703aea0d7ba7d33e012d2f Bisecting: 771 revisions left to test after this (roughly 10 steps) [089d1c31224e6b266ece3ee555a3ea2c9acbe5c2] Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm testing commit 089d1c31224e6b266ece3ee555a3ea2c9acbe5c2 gcc compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 45ad6efe368d63e9fd25dd0acf66f1c16c047d17cb5ecb92d2ca1596e64ea707 all runs: crashed: WARNING in cleanup_transaction # git bisect good 089d1c31224e6b266ece3ee555a3ea2c9acbe5c2 Bisecting: 387 revisions left to test after this (roughly 9 steps) [d7c2b1f64e44c98206752a1599b0203ae5e92f27] Merge tag 'mm-hotfixes-stable-2022-11-11' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm testing commit d7c2b1f64e44c98206752a1599b0203ae5e92f27 gcc compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 34477e946a4a1e8cdd88c76130ed0929c5b9eaafa4260d9b45f4217338667a25 all runs: OK # git bisect bad d7c2b1f64e44c98206752a1599b0203ae5e92f27 Bisecting: 189 revisions left to test after this (roughly 8 steps) [4bbf3422df78029f03161640dcb1e9d1ed64d1ea] Merge tag 'net-6.1-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net testing commit 4bbf3422df78029f03161640dcb1e9d1ed64d1ea gcc compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: e81bb89599e8e7942f42eaea3965fb63279efc2254647ca0b62fd901dfa59597 all runs: OK # git bisect bad 4bbf3422df78029f03161640dcb1e9d1ed64d1ea Bisecting: 96 revisions left to test after this (roughly 7 steps) [23569b5652ee8e8e55a12f7835f59af6f3cefc30] net: macvlan: fix memory leaks of macvlan_common_newlink testing commit 23569b5652ee8e8e55a12f7835f59af6f3cefc30 gcc compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 4a2972c424a95cd9fce84e124bca930769757891fb7ddb4577245d4ba201ced1 all runs: crashed: WARNING in cleanup_transaction # git bisect good 23569b5652ee8e8e55a12f7835f59af6f3cefc30 Bisecting: 48 revisions left to test after this (roughly 6 steps) [f49b2d89fb10ef5fa5fa1993f648ec5daa884bef] Merge tag 'lsm-pr-20221107' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/lsm testing commit f49b2d89fb10ef5fa5fa1993f648ec5daa884bef gcc compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 731b47158bb5d7ff4fd86f586dcee26713c616be7463d36d0760091bb632c7e3 all runs: crashed: WARNING in cleanup_transaction # git bisect good f49b2d89fb10ef5fa5fa1993f648ec5daa884bef Bisecting: 24 revisions left to test after this (roughly 5 steps) [f014699cca9a9a28fbdc06a9225b54562154fc20] Merge tag 'soundwire-6.1-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/soundwire testing commit f014699cca9a9a28fbdc06a9225b54562154fc20 gcc compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 9a3a016a41df6129360079c4d55f191cfbd8ff61843c9db0ec1a6c87bc624521 all runs: crashed: WARNING in cleanup_transaction # git bisect good f014699cca9a9a28fbdc06a9225b54562154fc20 Bisecting: 14 revisions left to test after this (roughly 4 steps) [7f1a6d4b9e820b08479a07f6e14c36ccfa641751] net/mlx5e: TC, Fix slab-out-of-bounds in parse_tc_actions testing commit 7f1a6d4b9e820b08479a07f6e14c36ccfa641751 gcc compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 7aa0dc4b84b393b0f4611b4101c7e05acd12b0f944c6a7f6c260067c133840bb all runs: crashed: WARNING in cleanup_transaction # git bisect good 7f1a6d4b9e820b08479a07f6e14c36ccfa641751 Bisecting: 6 revisions left to test after this (roughly 3 steps) [1767a722a708f1fa3b9af39eb091d79101f8c086] Merge tag 'for-6.1-rc4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux testing commit 1767a722a708f1fa3b9af39eb091d79101f8c086 gcc compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 9cf8df1c64af3612f89dfc99aee83a0961f909baea9384c6ed1787048a55e621 all runs: OK # git bisect bad 1767a722a708f1fa3b9af39eb091d79101f8c086 Bisecting: 3 revisions left to test after this (roughly 2 steps) [b75b51f886e9dd8cdfca1392ad43f4e542611c00] Revert "btrfs: scrub: use larger block size for data extent scrub" testing commit b75b51f886e9dd8cdfca1392ad43f4e542611c00 gcc compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 942dae838f532a2be33338e4fe4150f667fafba829e5082d5ff61a5efe671b81 all runs: OK # git bisect bad b75b51f886e9dd8cdfca1392ad43f4e542611c00 Bisecting: 1 revision 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: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 7a2fbbb42479d5eeadbdde2282d2077321a7bed19a0e8b10f21ab2dd36e0f8c5 all runs: crashed: WARNING in cleanup_transaction # git bisect good 9b2f20344d450137d015b380ff0c2e2a6a170135 Bisecting: 0 revisions left to test after this (roughly 0 steps) [8bb808c6ad91ec3d332f072ce8f8aa4b16e307e0] btrfs: don't print stack trace when transaction is aborted due to ENOMEM testing commit 8bb808c6ad91ec3d332f072ce8f8aa4b16e307e0 gcc compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 65f970e77c654f613674743c4902eb14ba3b936a95ecbf640a6d5e49901a16c4 all runs: OK # git bisect bad 8bb808c6ad91ec3d332f072ce8f8aa4b16e307e0 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: 65f970e77c654f613674743c4902eb14ba3b936a95ecbf640a6d5e49901a16c4 parent signature: 7a2fbbb42479d5eeadbdde2282d2077321a7bed19a0e8b10f21ab2dd36e0f8c5 revisions tested: 15, total time: 5h0m24.838680691s (build: 3h27m58.763731628s, test: 1h30m19.664063016s) first good commit: 8bb808c6ad91ec3d332f072ce8f8aa4b16e307e0 btrfs: don't print stack trace when transaction is aborted due to ENOMEM recipients (to): ["clm@fb.com" "dsterba@suse.com" "dsterba@suse.com" "josef@toxicpanda.com" "linux-btrfs@vger.kernel.org"] recipients (cc): ["linux-kernel@vger.kernel.org"]