ci starts bisection 2023-03-22 01:33:38.079862996 +0000 UTC m=+14781.366881960 bisecting fixing commit since a335366bad1364a07f49df9da1fdfa6d411a5f39 building syzkaller on dd9a85ff356d74a765888403f1b70faece9e642b ensuring issue is reproducible on original commit a335366bad1364a07f49df9da1fdfa6d411a5f39 testing commit a335366bad1364a07f49df9da1fdfa6d411a5f39 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 2a75ad63d7d05ae7de1a3130301ae6dcd0486b506a92e452ddd5039b37475ed5 all runs: crashed: possible deadlock in bpf_trace_printk testing current HEAD a1effab7a3a35a837dd9d2b974a1bc4939df1ad5 testing commit a1effab7a3a35a837dd9d2b974a1bc4939df1ad5 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: e9dd04b5d3eb05c7f4e559078d93af5fe7a93ca1cbd86134dca3a472e0691866 run #0: basic kernel testing failed: BUG: program execution failed: executor NUM: failed to write control pipe: write |NUM: broken pipe run #1: basic kernel testing failed: BUG: program execution failed: executor NUM: exit status NUM 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 start a1effab7a3a35a837dd9d2b974a1bc4939df1ad5 a335366bad1364a07f49df9da1fdfa6d411a5f39 Bisecting: 23769 revisions left to test after this (roughly 15 steps) [1ca06f1c1acecbe02124f14a37cce347b8c1a90c] Merge tag 'xtensa-20221213' of https://github.com/jcmvbkbc/linux-xtensa testing commit 1ca06f1c1acecbe02124f14a37cce347b8c1a90c gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 01fc0d186a8ef91a42039ef104f9768f230b5c18f2b04248702e1f66e9bd244c all runs: OK # git bisect bad 1ca06f1c1acecbe02124f14a37cce347b8c1a90c Bisecting: 11576 revisions left to test after this (roughly 14 steps) [694b37a5dd3c87235e02fabbe7b394f6ab1f444b] Merge tag 'input-for-v6.1-rc0' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input testing commit 694b37a5dd3c87235e02fabbe7b394f6ab1f444b gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 1bba123520935999f0944d49f071b22206f1febded32c881a5f41e51bf98d9f9 all runs: boot failed: WARNING in cpumask_next_wrap # git bisect skip 694b37a5dd3c87235e02fabbe7b394f6ab1f444b Bisecting: 11576 revisions left to test after this (roughly 14 steps) [0572b18da90033988aad44ac6edea4234df97e88] Merge branch 'add-a-secondary-at-port-to-the-telit-fn990' testing commit 0572b18da90033988aad44ac6edea4234df97e88 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 5cb5cd90fdb555a2ff08067e1a35927eaa759f7f1f375d6e80398d34fe4bae62 all runs: crashed: possible deadlock in bpf_trace_printk # git bisect good 0572b18da90033988aad44ac6edea4234df97e88 Bisecting: 11050 revisions left to test after this (roughly 14 steps) [95b8b5953a315081eadbadf49200e57d7e05aae7] Merge tag 'loongarch-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson testing commit 95b8b5953a315081eadbadf49200e57d7e05aae7 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: a759e47f84685be9f0df179a01fb37b1f90e42450045c97034f84229bfd888cb all runs: boot failed: WARNING in cpumask_next_wrap # git bisect skip 95b8b5953a315081eadbadf49200e57d7e05aae7 Bisecting: 11050 revisions left to test after this (roughly 14 steps) [a01aca4b05174b6dee2392ec44406f85e0f8bd46] dt-bindings: input: touchscreen: Add compatible for Goodix GT7986U chip testing commit a01aca4b05174b6dee2392ec44406f85e0f8bd46 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: dfb7cebe410c77fafbf9f1dda6c501d1487070adca40b00bdd3d233bc2346872 run #0: boot failed: general protection fault in driver_register run #1: boot failed: general protection fault in blk_alloc_queue run #2: boot failed: general protection fault in __stack_depot_save run #3: boot failed: general protection fault in netdev_queue_update_kobjects run #4: boot failed: BUG: unable to handle kernel paging request in kernel_execve run #5: boot failed: KASAN: out-of-bounds Read in rcu_cblist_dequeue run #6: boot failed: WARNING in wiphy_register run #7: boot failed: BUG: unable to handle kernel paging request in insert_header run #8: boot failed: general protection fault in netdev_queue_update_kobjects run #9: boot failed: stack segment fault in getname_kernel # git bisect skip a01aca4b05174b6dee2392ec44406f85e0f8bd46 Bisecting: 11050 revisions left to test after this (roughly 14 steps) [1796f808e4bb2c074824dc32258ed1e719370cb3] HID: i2c-hid: acpi: Stop setting wakeup_capable testing commit 1796f808e4bb2c074824dc32258ed1e719370cb3 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: fd43dcaa7288523b97e74f173f2d422e0e62faf314270a1eaae4554825951c77 all runs: boot failed: WARNING in __netif_set_xps_queue # git bisect skip 1796f808e4bb2c074824dc32258ed1e719370cb3 Bisecting: 11050 revisions left to test after this (roughly 14 steps) [37d49c249cb8f9da6675cb23534c3ca478ffd3a4] Merge tag 'qcom-drivers-for-6.1' of https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux into arm/drivers testing commit 37d49c249cb8f9da6675cb23534c3ca478ffd3a4 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 4f6aba8781883ced1e99420aee6438e43135072d11e1d51f22b6eacd7ae36075 all runs: crashed: possible deadlock in bpf_trace_printk # git bisect good 37d49c249cb8f9da6675cb23534c3ca478ffd3a4 Bisecting: 10978 revisions left to test after this (roughly 14 steps) [676cb4957396411fdb7aba906d5f950fc3de7cc9] Merge tag 'mm-nonmm-stable-2022-10-11' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm testing commit 676cb4957396411fdb7aba906d5f950fc3de7cc9 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 74ad4c3d9ee595f6148c1710f0dc57f9db98dc00acaca5647c602bbfe709f359 all runs: boot failed: WARNING in cpumask_next_wrap # git bisect skip 676cb4957396411fdb7aba906d5f950fc3de7cc9 Bisecting: 10978 revisions left to test after this (roughly 14 steps) [17529ea2acfa3e2118f5a9ee911e0daf2d88c13f] drm/amd/display: Optimizations for DML math testing commit 17529ea2acfa3e2118f5a9ee911e0daf2d88c13f gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: be441cf6372484f6f8b2b017804a408e3d377a4bae6af0c075885f832fe52b24 all runs: crashed: possible deadlock in bpf_trace_printk # git bisect good 17529ea2acfa3e2118f5a9ee911e0daf2d88c13f Bisecting: 10643 revisions left to test after this (roughly 13 steps) [7f378c03aa4952507521174fb0da7b24a9ad0be6] net: phy: dp83822: disable MDI crossover status change interrupt testing commit 7f378c03aa4952507521174fb0da7b24a9ad0be6 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 32d2c7eec890e3cfb040c98beba58e474821e81fd82d0dc5d2a76b3ad9c85902 all runs: boot failed: WARNING in cpumask_next_wrap # git bisect skip 7f378c03aa4952507521174fb0da7b24a9ad0be6 Bisecting: 10643 revisions left to test after this (roughly 13 steps) [eb83f502adb036cd56c27e13b9ca3b2aabfa790b] RDMA/cma: Use output interface for net_dev check testing commit eb83f502adb036cd56c27e13b9ca3b2aabfa790b gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 72dd7bd1735587abfb97247c7df23fbab443c745f36306d5a12b618ba3f3cde7 all runs: boot failed: WARNING in __netif_set_xps_queue # git bisect skip eb83f502adb036cd56c27e13b9ca3b2aabfa790b Bisecting: 10643 revisions left to test after this (roughly 13 steps) [e8679db2970f04ee5281c042977fff880a3c045a] ASoC: qcom: lpass-sc7180: Add maybe_unused tag for system PM ops testing commit e8679db2970f04ee5281c042977fff880a3c045a gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 36529ea9f323d60f82cf0f1e94c24aeed4485b59aa767042fe8f4618e5ed75e2 all runs: OK # git bisect bad e8679db2970f04ee5281c042977fff880a3c045a Bisecting: 6685 revisions left to test after this (roughly 13 steps) [6181073dd6a7e5deafc60e7981bd765b6c93da8c] Merge tag 'tty-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty testing commit 6181073dd6a7e5deafc60e7981bd765b6c93da8c gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 8ab77fc308008e6acead1f6fc48599b70b39314243ed84a8874d84c28fb28aef 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 6181073dd6a7e5deafc60e7981bd765b6c93da8c Bisecting: 2955 revisions left to test after this (roughly 12 steps) [7e6739b9336e61fe23ca4e2c8d1fda8f19f979bf] Merge tag 'drm-next-2022-10-05' of git://anongit.freedesktop.org/drm/drm testing commit 7e6739b9336e61fe23ca4e2c8d1fda8f19f979bf gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 4aa20d614344524c2b724a07e0762f52806c17eb13a8f3daa3bcadaaaad6e1e4 all runs: OK # git bisect bad 7e6739b9336e61fe23ca4e2c8d1fda8f19f979bf Bisecting: 2016 revisions left to test after this (roughly 11 steps) [681bf011b9b5989c6e9db6beb64494918aab9a43] eth: pse: add missing static inlines testing commit 681bf011b9b5989c6e9db6beb64494918aab9a43 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 36529ab3a8ce6b7cd99193343fb8d920c240286f83c1dae7f5ce44561e3a5062 all runs: OK # git bisect bad 681bf011b9b5989c6e9db6beb64494918aab9a43 Bisecting: 685 revisions left to test after this (roughly 10 steps) [accc3b4a572bba903a801a393532272727f83f5b] Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net testing commit accc3b4a572bba903a801a393532272727f83f5b gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 41519ef89c95e176a3744690e6c954ec0bff9d7eadff16fe065cba585f824ed2 all runs: crashed: possible deadlock in bpf_trace_printk # git bisect good accc3b4a572bba903a801a393532272727f83f5b Bisecting: 337 revisions left to test after this (roughly 9 steps) [a507ea32b9c2c407012bf89109ac0cf89fae313c] Merge tag 'for-net-next-2022-09-30' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next testing commit a507ea32b9c2c407012bf89109ac0cf89fae313c gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 80758613717eb3f381b441d55be99c23ea0c1ffe020de13cb76bbf1ffd438527 all runs: crashed: possible deadlock in bpf_trace_printk # git bisect good a507ea32b9c2c407012bf89109ac0cf89fae313c Bisecting: 177 revisions left to test after this (roughly 7 steps) [820dc0523e05c12810bb6bf4e56ce26e4c1948a2] net: netfilter: move bpf_ct_set_nat_info kfunc in nf_nat_bpf.c testing commit 820dc0523e05c12810bb6bf4e56ce26e4c1948a2 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 77dba34b5ae66d47c69fd024a8069aedfeb590fdb2a4161f8e9de330a631fa9b all runs: OK # git bisect bad 820dc0523e05c12810bb6bf4e56ce26e4c1948a2 Bisecting: 79 revisions left to test after this (roughly 6 steps) [66d6a4bf94f402301ce7832072705e23d5948761] Merge branch 'bpf: Add kfuncs for PKCS#7 signature verification' testing commit 66d6a4bf94f402301ce7832072705e23d5948761 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 1e793aa70bd233a579516ea246be40552f4325090ae745d3505abb669e21f2f1 all runs: crashed: possible deadlock in bpf_trace_printk # git bisect good 66d6a4bf94f402301ce7832072705e23d5948761 Bisecting: 39 revisions left to test after this (roughly 5 steps) [87dbdc230d162bf9ee1ac77c8ade178b6b1e199e] libbpf: Don't require full struct enum64 in UAPI headers testing commit 87dbdc230d162bf9ee1ac77c8ade178b6b1e199e gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 52ff31ad2235650e3cfff8f9fe0c3fa3d0f7cc71cb0bbefad403cb745b5107b7 all runs: OK # git bisect bad 87dbdc230d162bf9ee1ac77c8ade178b6b1e199e Bisecting: 19 revisions left to test after this (roughly 4 steps) [c2488d70ceee352611e55943c25abf30117e3b67] selftests/bpf: make veristat's verifier log parsing faster and more robust testing commit c2488d70ceee352611e55943c25abf30117e3b67 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: b2883c2aa1d64f4965e7cf39efbf1c8752ac7a559aeaad59c5c33880d2be79f7 all runs: OK # git bisect bad c2488d70ceee352611e55943c25abf30117e3b67 Bisecting: 9 revisions left to test after this (roughly 3 steps) [bde4a96cdcadc1f9c92cc2715a0022545bfb3201] selftests/bpf: add ability to filter programs in veristat testing commit bde4a96cdcadc1f9c92cc2715a0022545bfb3201 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: c4d20c509ee9dab386dcb03531a031b62b14bc13610113c64471f03c16f5adbb all runs: OK # git bisect bad bde4a96cdcadc1f9c92cc2715a0022545bfb3201 Bisecting: 4 revisions left to test after this (roughly 2 steps) [b06b45e82b59b69f5ac6b3916ac5dbd0294efc95] selftests/bpf: add tests for bpf_ct_set_nat_info kfunc testing commit b06b45e82b59b69f5ac6b3916ac5dbd0294efc95 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: d84f34990dcff80632d56a76e5105d52ba493eeed024322dddcdbea167c97ffa all runs: OK # git bisect bad b06b45e82b59b69f5ac6b3916ac5dbd0294efc95 Bisecting: 2 revisions left to test after this (roughly 1 step) [1d8b82c613297f24354b4d750413a7456b5cd92c] bpf: Always use raw spinlock for hash bucket lock testing commit 1d8b82c613297f24354b4d750413a7456b5cd92c gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: ee88fa120fd46cc30baba6f22547c6a19a4cd9eb73260e89ce39a87aef6db7b1 all runs: OK # git bisect bad 1d8b82c613297f24354b4d750413a7456b5cd92c Bisecting: 0 revisions left to test after this (roughly 0 steps) [05b24ff9b2cfabfcfd951daaa915a036ab53c9e1] bpf: Prevent bpf program recursion for raw tracepoint probes testing commit 05b24ff9b2cfabfcfd951daaa915a036ab53c9e1 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 07ee953566ef0cbb99083ee86a331153ce8eb390345d4a739a8487ca0549bbc4 all runs: OK # git bisect bad 05b24ff9b2cfabfcfd951daaa915a036ab53c9e1 05b24ff9b2cfabfcfd951daaa915a036ab53c9e1 is the first bad commit commit 05b24ff9b2cfabfcfd951daaa915a036ab53c9e1 Author: Jiri Olsa Date: Fri Sep 16 09:19:14 2022 +0200 bpf: Prevent bpf program recursion for raw tracepoint probes We got report from sysbot [1] about warnings that were caused by bpf program attached to contention_begin raw tracepoint triggering the same tracepoint by using bpf_trace_printk helper that takes trace_printk_lock lock. Call Trace: ? trace_event_raw_event_bpf_trace_printk+0x5f/0x90 bpf_trace_printk+0x2b/0xe0 bpf_prog_a9aec6167c091eef_prog+0x1f/0x24 bpf_trace_run2+0x26/0x90 native_queued_spin_lock_slowpath+0x1c6/0x2b0 _raw_spin_lock_irqsave+0x44/0x50 bpf_trace_printk+0x3f/0xe0 bpf_prog_a9aec6167c091eef_prog+0x1f/0x24 bpf_trace_run2+0x26/0x90 native_queued_spin_lock_slowpath+0x1c6/0x2b0 _raw_spin_lock_irqsave+0x44/0x50 bpf_trace_printk+0x3f/0xe0 bpf_prog_a9aec6167c091eef_prog+0x1f/0x24 bpf_trace_run2+0x26/0x90 native_queued_spin_lock_slowpath+0x1c6/0x2b0 _raw_spin_lock_irqsave+0x44/0x50 bpf_trace_printk+0x3f/0xe0 bpf_prog_a9aec6167c091eef_prog+0x1f/0x24 bpf_trace_run2+0x26/0x90 native_queued_spin_lock_slowpath+0x1c6/0x2b0 _raw_spin_lock_irqsave+0x44/0x50 __unfreeze_partials+0x5b/0x160 ... The can be reproduced by attaching bpf program as raw tracepoint on contention_begin tracepoint. The bpf prog calls bpf_trace_printk helper. Then by running perf bench the spin lock code is forced to take slow path and call contention_begin tracepoint. Fixing this by skipping execution of the bpf program if it's already running, Using bpf prog 'active' field, which is being currently used by trampoline programs for the same reason. Moving bpf_prog_inc_misses_counter to syscall.c because trampoline.c is compiled in just for CONFIG_BPF_JIT option. Reviewed-by: Stanislav Fomichev Reported-by: syzbot+2251879aa068ad9c960d@syzkaller.appspotmail.com [1] https://lore.kernel.org/bpf/YxhFe3EwqchC%2FfYf@krava/T/#t Signed-off-by: Jiri Olsa Link: https://lore.kernel.org/r/20220916071914.7156-1-jolsa@kernel.org Signed-off-by: Alexei Starovoitov include/linux/bpf.h | 6 ++++++ kernel/bpf/syscall.c | 11 +++++++++++ kernel/bpf/trampoline.c | 15 ++------------- kernel/trace/bpf_trace.c | 6 ++++++ 4 files changed, 25 insertions(+), 13 deletions(-) culprit signature: 07ee953566ef0cbb99083ee86a331153ce8eb390345d4a739a8487ca0549bbc4 parent signature: 1e793aa70bd233a579516ea246be40552f4325090ae745d3505abb669e21f2f1 revisions tested: 27, total time: 7h55m20.713646464s (build: 3h41m32.387790375s, test: 4h8m45.451561742s) first good commit: 05b24ff9b2cfabfcfd951daaa915a036ab53c9e1 bpf: Prevent bpf program recursion for raw tracepoint probes recipients (to): ["ast@kernel.org" "jolsa@kernel.org" "sdf@google.com"] recipients (cc): []