ci2 starts bisection 2023-06-14 13:08:27.85827516 +0000 UTC m=+63503.506706698 bisecting fixing commit since ab072681eabe1ce0a9a32d4baa1a27a2d046bc4a building syzkaller on 9dfcf09cf38eb123a007af28c5ee2562718893a0 ensuring issue is reproducible on original commit ab072681eabe1ce0a9a32d4baa1a27a2d046bc4a testing commit ab072681eabe1ce0a9a32d4baa1a27a2d046bc4a gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 208497f1c017c7dc1214febccf8f7571b6900444a67740550b83780e0b9200e4 all runs: crashed: possible deadlock in dquot_commit testing current HEAD b6dad5178ceaf23f369c3711062ce1f2afc33644 testing commit b6dad5178ceaf23f369c3711062ce1f2afc33644 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 48a4514e2d680430aaa050d8d7907cf44f598a6845a268fb32ca38f8bbf07653 all runs: OK # git bisect start b6dad5178ceaf23f369c3711062ce1f2afc33644 ab072681eabe1ce0a9a32d4baa1a27a2d046bc4a Bisecting: 15945 revisions left to test after this (roughly 14 steps) [7079d5e61aaa14cd04fd2fe7a8a2b6eca7833fdb] Merge tag 'mlx5-updates-2023-03-28' of git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux testing commit 7079d5e61aaa14cd04fd2fe7a8a2b6eca7833fdb gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 10ccd6fa61344e646c7850b9d947cc50a96eaa68653b8e87d8f966832e061a02 all runs: crashed: possible deadlock in dquot_commit # git bisect good 7079d5e61aaa14cd04fd2fe7a8a2b6eca7833fdb Bisecting: 7609 revisions left to test after this (roughly 13 steps) [6e98b09da931a00bf4e0477d0fa52748bf28fcce] Merge tag 'net-next-6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next testing commit 6e98b09da931a00bf4e0477d0fa52748bf28fcce gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 0ab362be754238efec238b6e6611f4373a3c939450362960c71b05668ff47577 all runs: OK # git bisect bad 6e98b09da931a00bf4e0477d0fa52748bf28fcce Bisecting: 3816 revisions left to test after this (roughly 12 steps) [c8cc58e289ed3b5bc50258f52776cf3dfa3bad66] Merge tag 'drm-next-2023-04-24' of git://anongit.freedesktop.org/drm/drm testing commit c8cc58e289ed3b5bc50258f52776cf3dfa3bad66 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 45e7b94a09cf95b5eabd34505adf72669be9c4768d918d43ee8581bc91978e8a all runs: OK # git bisect bad c8cc58e289ed3b5bc50258f52776cf3dfa3bad66 Bisecting: 2522 revisions left to test after this (roughly 11 steps) [672d2dae19012cb2c40fdf36711ee3b5f5420724] Merge tag 'soc-defconfig-6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc testing commit 672d2dae19012cb2c40fdf36711ee3b5f5420724 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: c480f21fe9be889d119412669e44e3af94daf9630febfc3c143489a7122a4c9c all runs: OK # git bisect bad 672d2dae19012cb2c40fdf36711ee3b5f5420724 Bisecting: 1009 revisions left to test after this (roughly 10 steps) [b5533e990dd1de5872a34cba2f4f7f508c9b2ec3] tools/loongarch: Use __SIZEOF_LONG__ to define __BITS_PER_LONG testing commit b5533e990dd1de5872a34cba2f4f7f508c9b2ec3 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: af74160bbe2aa9cf4ff57dca985ab17bf3e8ac28af275e6842d8fce170e8cad2 all runs: crashed: possible deadlock in dquot_commit # git bisect good b5533e990dd1de5872a34cba2f4f7f508c9b2ec3 Bisecting: 518 revisions left to test after this (roughly 9 steps) [1be89faab3cf1f3dd6eb4924b60d2b9094e7206b] Merge tag 'linux-kselftest-kunit-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest testing commit 1be89faab3cf1f3dd6eb4924b60d2b9094e7206b gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 8e58e430d0e4711c1280b9b9c8a0d6e0607bfa4d49e56a2ba6c9bbbe696e6026 all runs: OK # git bisect bad 1be89faab3cf1f3dd6eb4924b60d2b9094e7206b Bisecting: 257 revisions left to test after this (roughly 8 steps) [72eaa0967b594cb9886c2f277a69ac1ea935b1a8] Merge tag 'selinux-pr-20230420' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux testing commit 72eaa0967b594cb9886c2f277a69ac1ea935b1a8 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 24ff87d73a25ffe6ba92dccba0db5b21f50d53a20139a0c9cd2a6b6d53db8929 all runs: crashed: possible deadlock in dquot_commit # git bisect good 72eaa0967b594cb9886c2f277a69ac1ea935b1a8 Bisecting: 136 revisions left to test after this (roughly 7 steps) [4a4075ada6a5f51087d6c046b024046bf3864beb] Merge tag 'locktorture.2023.04.04a' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu testing commit 4a4075ada6a5f51087d6c046b024046bf3864beb gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 165827f3d0be3f50ff18e8e4c0aa6b56fc0fb1eb2eb2fae3c618779d23cc29a7 all runs: crashed: possible deadlock in dquot_commit # git bisect good 4a4075ada6a5f51087d6c046b024046bf3864beb Bisecting: 64 revisions left to test after this (roughly 6 steps) [8ae99857748bece993962dd8d04e096f9e76731f] Merge branches 'rcu/staging-core', 'rcu/staging-docs' and 'rcu/staging-kfree', remote-tracking branches 'paul/srcu-cf.2023.04.04a', 'fbq/rcu/lockdep.2023.03.27a' and 'fbq/rcu/rcutorture.2023.03.20a' into rcu/staging testing commit 8ae99857748bece993962dd8d04e096f9e76731f gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: bc8ad5b564364836e8268292062ecd7be498e1f6de19f9ab3f3e46b17a807739 all runs: OK # git bisect bad 8ae99857748bece993962dd8d04e096f9e76731f Bisecting: 51 revisions left to test after this (roughly 5 steps) [cefc0a599b19d8dd0e26d0b2e43311bae7530ca1] srcu: Fix long lines in srcu_funnel_gp_start() testing commit cefc0a599b19d8dd0e26d0b2e43311bae7530ca1 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 3a5da386e085c13bc60135247c3a5dd4bb1b8057edf21d94223984fac9f14b05 all runs: crashed: possible deadlock in dquot_commit # git bisect good cefc0a599b19d8dd0e26d0b2e43311bae7530ca1 Bisecting: 34 revisions left to test after this (roughly 5 steps) [3c1566bca3f8349f12b75d0a2d5e4a20ad6262ec] rcu: Protect rcu_print_task_exp_stall() ->exp_tasks access testing commit 3c1566bca3f8349f12b75d0a2d5e4a20ad6262ec gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 83e951e255ffa6d485cf61152bda67a2a673923d779fe767167e536fffb8989e all runs: crashed: possible deadlock in dquot_commit # git bisect good 3c1566bca3f8349f12b75d0a2d5e4a20ad6262ec Bisecting: 24 revisions left to test after this (roughly 4 steps) [6bc6e6b27524304aadb9c04611ddb1c84dd7617a] refscale: Move shutdown from wait_event() to wait_event_idle() testing commit 6bc6e6b27524304aadb9c04611ddb1c84dd7617a gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 373dc7b9a80e142a9b590ba397f23dbbf75c05b210e322082c490e24145695c5 all runs: crashed: possible deadlock in dquot_commit # git bisect good 6bc6e6b27524304aadb9c04611ddb1c84dd7617a Bisecting: 14 revisions left to test after this (roughly 4 steps) [1eacac3255495be7502d406e2ba5444fb5c3607c] checkpatch: Error out if deprecated RCU API used testing commit 1eacac3255495be7502d406e2ba5444fb5c3607c gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: f86db30e4d3210fbf600ac76c030702daa51307e399d8b253fa7a46c3281a66d all runs: crashed: possible deadlock in dquot_commit # git bisect good 1eacac3255495be7502d406e2ba5444fb5c3607c Bisecting: 7 revisions left to test after this (roughly 3 steps) [5c5552d6297a2a91464180d2790dffdca9ffc7de] rcutorture: Add srcu_lockdep.sh testing commit 5c5552d6297a2a91464180d2790dffdca9ffc7de gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: a2050507eed0bbed953f7f89484a1810d0a71302ad09ea4be88284dcd7b3dce2 all runs: OK # git bisect bad 5c5552d6297a2a91464180d2790dffdca9ffc7de Bisecting: 3 revisions left to test after this (roughly 2 steps) [60a1a64ec0c08e02f2cd4372cd3971e9d5eb2b37] locking: Reduce the number of locks in ww_mutex stress tests testing commit 60a1a64ec0c08e02f2cd4372cd3971e9d5eb2b37 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: cea65cc63d1218b99adf094ca8950faf1e409f715b1542959598aaaa707e9645 all runs: OK # git bisect bad 60a1a64ec0c08e02f2cd4372cd3971e9d5eb2b37 Bisecting: 0 revisions left to test after this (roughly 1 step) [f0f44752f5f61ee4e3bd88ae033fdb888320aafe] rcu: Annotate SRCU's update-side lockdep dependencies testing commit f0f44752f5f61ee4e3bd88ae033fdb888320aafe gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: c4db41f63f1a290b4a4d4987ec3dc5c88e13de9808bb26ac2e060d09dfa8ce6b all runs: OK # git bisect bad f0f44752f5f61ee4e3bd88ae033fdb888320aafe Bisecting: 0 revisions left to test after this (roughly 0 steps) [2f1f043e7bea3fbf4c1869df2f7a0312bc8ca2bf] locking/lockdep: Introduce lock_sync() testing commit 2f1f043e7bea3fbf4c1869df2f7a0312bc8ca2bf gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 42b342689894101e253a6e78844f9bd34a4977e7ea43ff6f36f82f045ec29ba6 all runs: crashed: possible deadlock in dquot_commit # git bisect good 2f1f043e7bea3fbf4c1869df2f7a0312bc8ca2bf f0f44752f5f61ee4e3bd88ae033fdb888320aafe is the first bad commit commit f0f44752f5f61ee4e3bd88ae033fdb888320aafe Author: Boqun Feng Date: Thu Jan 12 22:59:54 2023 -0800 rcu: Annotate SRCU's update-side lockdep dependencies Although all flavors of RCU readers are annotated correctly with lockdep as recursive read locks, they do not set the lock_acquire 'check' parameter. This means that RCU read locks are not added to the lockdep dependency graph, which in turn means that lockdep cannot detect RCU-based deadlocks. This is not a problem for RCU flavors having atomic read-side critical sections because context-based annotations can catch these deadlocks, see for example the RCU_LOCKDEP_WARN() statement in synchronize_rcu(). But context-based annotations are not helpful for sleepable RCU, especially given that it is perfectly legal to do synchronize_srcu(&srcu1) within an srcu_read_lock(&srcu2). However, we can detect SRCU-based by: (1) Making srcu_read_lock() a 'check'ed recursive read lock and (2) Making synchronize_srcu() a empty write lock critical section. Even better, with the newly introduced lock_sync(), we can avoid false positives about irq-unsafe/safe. This commit therefore makes it so. Note that NMI-safe SRCU read side critical sections are currently not annotated, but might be annotated in the future. Signed-off-by: Boqun Feng Signed-off-by: Paul E. McKenney [ boqun: Add comments for annotation per Waiman's suggestion ] [ boqun: Fix comment warning reported by Stephen Rothwell ] Acked-by: Peter Zijlstra (Intel) Signed-off-by: Boqun Feng include/linux/srcu.h | 34 ++++++++++++++++++++++++++++++++-- kernel/rcu/srcutiny.c | 2 ++ kernel/rcu/srcutree.c | 2 ++ 3 files changed, 36 insertions(+), 2 deletions(-) culprit signature: c4db41f63f1a290b4a4d4987ec3dc5c88e13de9808bb26ac2e060d09dfa8ce6b parent signature: 42b342689894101e253a6e78844f9bd34a4977e7ea43ff6f36f82f045ec29ba6 revisions tested: 19, total time: 7h38m25.332551656s (build: 5h19m21.604367398s, test: 2h16m25.125353757s) first good commit: f0f44752f5f61ee4e3bd88ae033fdb888320aafe rcu: Annotate SRCU's update-side lockdep dependencies recipients (to): ["boqun.feng@gmail.com" "paulmck@kernel.org" "peterz@infradead.org"] recipients (cc): []