ci2 starts bisection 2023-01-20 17:15:17.372880637 +0000 UTC m=+33572.245352938 bisecting fixing commit since 337a0a0b63f1c30195733eaacf39e4310a592a68 building syzkaller on 456454209820a5cf121a82aff83aa4d47316cf14 ensuring issue is reproducible on original commit 337a0a0b63f1c30195733eaacf39e4310a592a68 testing commit 337a0a0b63f1c30195733eaacf39e4310a592a68 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: f782cd8ef0b1470c45a8c8cec0a6346ccd8e0d75947dc73632e965fe22a61467 all runs: crashed: WARNING in cow_file_range_inline testing current HEAD d368967cb1039b5c4cccb62b5a4b9468c50cd143 testing commit d368967cb1039b5c4cccb62b5a4b9468c50cd143 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: 8964e71c7de6b619e2011edb15a94e064ef3a46e9f6665cfe272c1d2e0efe33f all runs: OK # git bisect start d368967cb1039b5c4cccb62b5a4b9468c50cd143 337a0a0b63f1c30195733eaacf39e4310a592a68 Bisecting: 8882 revisions left to test after this (roughly 13 steps) [4d03390b5cb97ea8562fcf324106c4735805d558] Merge tag 'hwmon-for-v6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging testing commit 4d03390b5cb97ea8562fcf324106c4735805d558 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: e5db6be581b40dc485696bfe03af2756bdaa6de21fb8afab6f4ea279e23fc13f all runs: OK # git bisect bad 4d03390b5cb97ea8562fcf324106c4735805d558 Bisecting: 4448 revisions left to test after this (roughly 12 steps) [456ed864fd907d5f5484c7c4795da212537842fe] Merge tag 'acpi-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm testing commit 456ed864fd907d5f5484c7c4795da212537842fe 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: 47b810a359c928fe2fb5fc5ff6159a7f55d3606acac01b8c60b069e0b1c159fd all runs: OK # git bisect bad 456ed864fd907d5f5484c7c4795da212537842fe Bisecting: 2202 revisions left to test after this (roughly 11 steps) [010b6761a9fc5006267d99abb6f9f196bf5d3d13] Merge tag 'net-6.1-rc9' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net testing commit 010b6761a9fc5006267d99abb6f9f196bf5d3d13 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: 00adf881b67890791a8558ecd281df992d26db76e65f7c9782ae75e11cb0e5da all runs: OK # git bisect bad 010b6761a9fc5006267d99abb6f9f196bf5d3d13 Bisecting: 1130 revisions left to test after this (roughly 10 steps) [5ad6e7ba98c29d61794a3f216414d8542a3e476c] Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux testing commit 5ad6e7ba98c29d61794a3f216414d8542a3e476c 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: 09feb2e4c99593988df7b36d7d0eed37cadf3a7eaa4140c944f9d1cae90e5abb all runs: OK # git bisect bad 5ad6e7ba98c29d61794a3f216414d8542a3e476c Bisecting: 553 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: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: ff98fba90820221b63db0d80bd9b2647b57c2c268b70bcb08d2a25232fdcdfa4 all runs: crashed: WARNING in cow_file_range_inline # git bisect good 9521c9d6a53df9c44a5f5ddbc229ceaf3cf79ef6 Bisecting: 280 revisions left to test after this (roughly 8 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: dac1e6d6e9d7327d7d2fb55b20303ec4059108d68346c4dca77aa04f644f3763 all runs: OK # git bisect bad 1767a722a708f1fa3b9af39eb091d79101f8c086 Bisecting: 131 revisions left to test after this (roughly 7 steps) [64c3dd0b98f586a5b7c8f5f4759ebb41cfd03861] Merge tag 'xfs-6.1-fixes-4' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux testing commit 64c3dd0b98f586a5b7c8f5f4759ebb41cfd03861 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: 5a51cc9472568e17104c1fec8b029a661c457350bed92275cd385a050ff58c07 all runs: crashed: WARNING in cow_file_range_inline # git bisect good 64c3dd0b98f586a5b7c8f5f4759ebb41cfd03861 Bisecting: 68 revisions left to test after this (roughly 6 steps) [f6f5204727b9b1f3c6e9c90b5b09f40c6e0102f5] Merge tag 'x86_urgent_for_v6.1_rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip testing commit f6f5204727b9b1f3c6e9c90b5b09f40c6e0102f5 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: 3ddf632b9648a3ffb238a35ddbd48a4dffbc4a30f81764f66f68a14f9ca8b316 all runs: crashed: WARNING in cow_file_range_inline # git bisect good f6f5204727b9b1f3c6e9c90b5b09f40c6e0102f5 Bisecting: 34 revisions left to test after this (roughly 5 steps) [a1de832bd3243577de365222d8bc92708005ebf3] Merge tag 'platform-drivers-x86-v6.1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86 testing commit a1de832bd3243577de365222d8bc92708005ebf3 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: b63fee56803fe5b1fd7d7f776c79267aee13a90b5b8697861bd15179afb5bc01 all runs: crashed: WARNING in cow_file_range_inline # git bisect good a1de832bd3243577de365222d8bc92708005ebf3 Bisecting: 18 revisions left to test after this (roughly 4 steps) [179228654ddefcbd99060a113ad02079dcdf22f1] Merge tag 'hwlock-v6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux testing commit 179228654ddefcbd99060a113ad02079dcdf22f1 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: 8c1841b7773ab376af2400be2d5f139f1501b9a34771d12e5f493ee47494ab7c all runs: crashed: WARNING in cow_file_range_inline # git bisect good 179228654ddefcbd99060a113ad02079dcdf22f1 Bisecting: 7 revisions left to test after this (roughly 3 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: 904ec1e52f9d42fbf77f92b8dee30e24d9c254800587f8c14596fd4f674fbf40 all runs: crashed: WARNING in cow_file_range_inline # git bisect good f014699cca9a9a28fbdc06a9225b54562154fc20 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: 9e05259051761412a1f4b807e0dcdb1e2762bf7f59a5d6664305c9eeef7c2216 run #0: basic kernel testing failed: BUG: program execution failed: executor NUM: failed to write control pipe: write |NUM: broken pipe 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 # 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: 503815e6712f6a3cd2ed12ae2f86cc8cba49452338f2d6877d529ed1f7a5c24f all runs: crashed: WARNING in cow_file_range_inline # 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: b4623ac17e93c24a83158a2d760f61dc30885a573b44002d57cb76ba6cf4ea05 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: b4623ac17e93c24a83158a2d760f61dc30885a573b44002d57cb76ba6cf4ea05 parent signature: 503815e6712f6a3cd2ed12ae2f86cc8cba49452338f2d6877d529ed1f7a5c24f revisions tested: 16, total time: 7h20m27.602375274s (build: 5h9m10.617749137s, test: 1h58m1.571370589s) 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"]