ci2 starts bisection 2023-08-25 21:31:09.99818478 +0000 UTC m=+44149.391978407 bisecting fixing commit since ca48fc16c49388400eddd6c6614593ebf7c7726a building syzkaller on f325deb023e4e2fb9197004be1b3da738680429c ensuring issue is reproducible on original commit ca48fc16c49388400eddd6c6614593ebf7c7726a testing commit ca48fc16c49388400eddd6c6614593ebf7c7726a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8d1d02600a767238b7cb0af4653848ea3a1ca2d7faea40cc68a532c3f5d7d8b6 all runs: crashed: possible deadlock in dquot_commit representative crash: possible deadlock in dquot_commit, types: [LOCKDEP] check whether we can drop unnecessary instrumentation disabling configs for [LEAK UBSAN BUG KASAN ATOMIC_SLEEP HANG], they are not needed testing commit ca48fc16c49388400eddd6c6614593ebf7c7726a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 33fd4a43f8abb731fa7ea50403f60e71b9e235318f6bf09e81064f44a1ac957a all runs: crashed: possible deadlock in dquot_commit representative crash: possible deadlock in dquot_commit, types: [LOCKDEP] the bug reproduces without the instrumentation disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], they are not needed kconfig minimization: base=3820 full=7521 leaves diff=1987 split chunks (needed=false): <1987> split chunk #0 of len 1987 into 5 parts testing without sub-chunk 1/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], they are not needed testing commit ca48fc16c49388400eddd6c6614593ebf7c7726a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: fd466cf00786b6fa694069f431f3d7ab75804877371b1efa6f46c18fe9b6fb8f all runs: crashed: possible deadlock in dquot_commit representative crash: possible deadlock in dquot_commit, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], they are not needed testing commit ca48fc16c49388400eddd6c6614593ebf7c7726a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e061999dcd5561171489806930896cf6059989f1cea690a0bd7e3c5348eb4572 all runs: crashed: possible deadlock in dquot_commit representative crash: possible deadlock in dquot_commit, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [HANG LEAK UBSAN BUG KASAN ATOMIC_SLEEP], they are not needed testing commit ca48fc16c49388400eddd6c6614593ebf7c7726a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 52c81abc5c063ea665bddeaef12c675e33b8ff041ca436b9c6d118046cdd310a all runs: crashed: possible deadlock in dquot_commit representative crash: possible deadlock in dquot_commit, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [HANG LEAK UBSAN BUG KASAN ATOMIC_SLEEP], they are not needed testing commit ca48fc16c49388400eddd6c6614593ebf7c7726a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 91fd7fed498bd5e24503c8403603a2d3f51748f75de04ca2a94b98be19bdc274 all runs: crashed: possible deadlock in dquot_commit representative crash: possible deadlock in dquot_commit, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], they are not needed testing commit ca48fc16c49388400eddd6c6614593ebf7c7726a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8478d4db928e3f4b4d597d002673411a74f5f7d892a7414b987624f6d3f2dba7 all runs: crashed: possible deadlock in dquot_commit representative crash: possible deadlock in dquot_commit, types: [LOCKDEP] the chunk can be dropped disabling configs for [LEAK UBSAN BUG KASAN ATOMIC_SLEEP HANG], they are not needed determining the merge base between ca48fc16c49388400eddd6c6614593ebf7c7726a and 382d4cd1847517ffcb1800fd462b625db7b2ebea 830b3c68c1fb1e9176028d02ef86f3cf76aa2476/Linux 6.1 is a merge base, check if it has the bug testing commit 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1ffdbfbb52d47a777b1384163f80d9dc3eb7bcc88228949351e70b9ed03ee0e0 all runs: crashed: possible deadlock in dquot_commit representative crash: possible deadlock in dquot_commit, types: [LOCKDEP] testing current HEAD 382d4cd1847517ffcb1800fd462b625db7b2ebea testing commit 382d4cd1847517ffcb1800fd462b625db7b2ebea gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f0359fd144f6065e487e534c5e0c15235ba5d4eb56fac6a1cfdc1d24492b7d00 all runs: OK false negative chance: 0.000 # git bisect start 382d4cd1847517ffcb1800fd462b625db7b2ebea 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 Bisecting: 31590 revisions left to test after this (roughly 15 steps) [df28e8690e7126fa5c99e8863c27574204589f31] Merge branch 'net-better-const' determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit df28e8690e7126fa5c99e8863c27574204589f31 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6968b0c4a2e329d9d72b72afb5158a5ca08ba5b84435145ba3306a0383112c04 all runs: crashed: possible deadlock in dquot_commit representative crash: possible deadlock in dquot_commit, types: [LOCKDEP] # git bisect good df28e8690e7126fa5c99e8863c27574204589f31 Bisecting: 15804 revisions left to test after this (roughly 14 steps) [afead42fdfcae714fb6ac41a5c323629cdb6f9ee] Merge tag 'perf-tools-fixes-for-v6.4-2-2023-05-30' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit afead42fdfcae714fb6ac41a5c323629cdb6f9ee gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6274050042248300c1123f1c2bc9846f7d7768d1b9a598b1da4e89dc39b5f32b all runs: OK false negative chance: 0.000 # git bisect bad afead42fdfcae714fb6ac41a5c323629cdb6f9ee Bisecting: 8721 revisions left to test after this (roughly 13 steps) [b68ee1c6131c540a62ecd443be89c406401df091] Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit b68ee1c6131c540a62ecd443be89c406401df091 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 54874c9be40db8b77a683c88dd056936a837c3c3b816bebe9b64eff15fa7f726 all runs: OK false negative chance: 0.000 # git bisect bad b68ee1c6131c540a62ecd443be89c406401df091 Bisecting: 3826 revisions left to test after this (roughly 12 steps) [736b378b29d89c8c3567fa4b2e948be5568aebb8] Merge tag 'slab-for-6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 736b378b29d89c8c3567fa4b2e948be5568aebb8 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2e0b445df688126beded45ca50549e726da5119824b0f9208726227b8f1f8927 all runs: OK false negative chance: 0.000 # git bisect bad 736b378b29d89c8c3567fa4b2e948be5568aebb8 Bisecting: 1625 revisions left to test after this (roughly 11 steps) [5d77652fbf2318f61af2cf27779951393dd0f749] Merge tag 'nolibc.2023.04.04a' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 5d77652fbf2318f61af2cf27779951393dd0f749 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a0c78eee50718756a72a9a6b8c7508590c3440b8a9e8676c621046b52991d807 all runs: crashed: possible deadlock in dquot_commit representative crash: possible deadlock in dquot_commit, types: [LOCKDEP] # git bisect good 5d77652fbf2318f61af2cf27779951393dd0f749 Bisecting: 816 revisions left to test after this (roughly 10 steps) [7e8298565d83ab79dc9a3f05da01b4515d0d52f9] Merge tag 'v6.3-next-dts32' of https://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux into soc/dt determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 7e8298565d83ab79dc9a3f05da01b4515d0d52f9 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 804fb25a52c3d990859314d4debeb33e02f7592caef89391f686cdbfadc51681 all runs: crashed: possible deadlock in dquot_commit representative crash: possible deadlock in dquot_commit, types: [LOCKDEP] # git bisect good 7e8298565d83ab79dc9a3f05da01b4515d0d52f9 Bisecting: 412 revisions left to test after this (roughly 9 steps) [18032df5ef5c0eec2adf120142bd95a3a8807866] Merge tag 'soc-arm-6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc determine whether the revision contains the guilty commit revision 5d77652fbf2318f61af2cf27779951393dd0f749 crashed and is reachable testing commit 18032df5ef5c0eec2adf120142bd95a3a8807866 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: aba19caef37edd967fb120519f7e673f4f87ec7b4fcc1ae3960c6d6307ceb841 all runs: OK false negative chance: 0.000 # git bisect bad 18032df5ef5c0eec2adf120142bd95a3a8807866 Bisecting: 198 revisions left to test after this (roughly 8 steps) [e2eff52ce512ec725f9f1daf975c45a499be1e1e] Merge tag 'v6.4/vfs.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit e2eff52ce512ec725f9f1daf975c45a499be1e1e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 14e6d95da4110e1bcdc05ea683e67fef37932af6812b56c8eb6d585b99213b6b all runs: OK false negative chance: 0.000 # git bisect bad e2eff52ce512ec725f9f1daf975c45a499be1e1e Bisecting: 105 revisions left to test after this (roughly 7 steps) [0f50767d7e380618f81134a62e9a753dea2aecfb] Merge tag 'linux-kselftest-next-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest determine whether the revision contains the guilty commit revision 5d77652fbf2318f61af2cf27779951393dd0f749 crashed and is reachable testing commit 0f50767d7e380618f81134a62e9a753dea2aecfb gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f24d4d9b65e0a1d6ce0e2b34cc718e3854281ca2bd279906d25ef18bb79999b2 all runs: OK false negative chance: 0.000 # git bisect bad 0f50767d7e380618f81134a62e9a753dea2aecfb Bisecting: 26 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 determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 8ae99857748bece993962dd8d04e096f9e76731f gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d1e7f072172959453a53394dd185bbe02937b4af04fce71d4b105769cdc4fc98 all runs: OK false negative chance: 0.000 # 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() determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit cefc0a599b19d8dd0e26d0b2e43311bae7530ca1 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3e97544a7dc1fb7ad8868024f9f9415306d793c2705fc645b46b67e9840fce1b all runs: crashed: possible deadlock in dquot_commit representative crash: possible deadlock in dquot_commit, types: [LOCKDEP] # 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 determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 3c1566bca3f8349f12b75d0a2d5e4a20ad6262ec gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 14d03389cf658870ad750b1351a692ea089101b2d9b42b0078510756aac891d2 all runs: crashed: possible deadlock in dquot_commit representative crash: possible deadlock in dquot_commit, types: [LOCKDEP] # 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() determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 6bc6e6b27524304aadb9c04611ddb1c84dd7617a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1ee5a9c28704f6952d7a3699e6cd159127241dff9d41ba12ed77ac443056e542 all runs: crashed: possible deadlock in dquot_commit representative crash: possible deadlock in dquot_commit, types: [LOCKDEP] # git bisect good 6bc6e6b27524304aadb9c04611ddb1c84dd7617a Bisecting: 14 revisions left to test after this (roughly 4 steps) [1eacac3255495be7502d406e2ba5444fb5c3607c] checkpatch: Error out if deprecated RCU API used determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 1eacac3255495be7502d406e2ba5444fb5c3607c gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: dcdb8172618b8fe412a12cc1b4288159231594d111647efb9a37eda440ee1c3a all runs: crashed: possible deadlock in dquot_commit representative crash: possible deadlock in dquot_commit, types: [LOCKDEP] # git bisect good 1eacac3255495be7502d406e2ba5444fb5c3607c Bisecting: 7 revisions left to test after this (roughly 3 steps) [5c5552d6297a2a91464180d2790dffdca9ffc7de] rcutorture: Add srcu_lockdep.sh determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 5c5552d6297a2a91464180d2790dffdca9ffc7de gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f232dacc1d1ca78f4e8f9c5689ec552165648853ff62cf77d4aa8e5af89ddd66 all runs: OK false negative chance: 0.000 # 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 determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 60a1a64ec0c08e02f2cd4372cd3971e9d5eb2b37 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 78af53aa89bb2d18a2369028f973d1a3ccff1ceb0ac997909de83ec9fd0867d0 all runs: OK false negative chance: 0.000 # git bisect bad 60a1a64ec0c08e02f2cd4372cd3971e9d5eb2b37 Bisecting: 0 revisions left to test after this (roughly 1 step) [f0f44752f5f61ee4e3bd88ae033fdb888320aafe] rcu: Annotate SRCU's update-side lockdep dependencies determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit f0f44752f5f61ee4e3bd88ae033fdb888320aafe gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6b882f71e5d04318cc5d0177addf3dc0f377c92e3b150bb3d2c9b16aac490370 all runs: OK false negative chance: 0.000 # git bisect bad f0f44752f5f61ee4e3bd88ae033fdb888320aafe Bisecting: 0 revisions left to test after this (roughly 0 steps) [2f1f043e7bea3fbf4c1869df2f7a0312bc8ca2bf] locking/lockdep: Introduce lock_sync() determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 2f1f043e7bea3fbf4c1869df2f7a0312bc8ca2bf gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8fca1f8d2c2085105d72468b01a5b45c5692fe3acb783c51206107fb7c0c6336 all runs: crashed: possible deadlock in dquot_commit representative crash: possible deadlock in dquot_commit, types: [LOCKDEP] # 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(-) accumulated error probability: 0.00 culprit signature: 6b882f71e5d04318cc5d0177addf3dc0f377c92e3b150bb3d2c9b16aac490370 parent signature: 8fca1f8d2c2085105d72468b01a5b45c5692fe3acb783c51206107fb7c0c6336 revisions tested: 27, total time: 7h26m4.376552855s (build: 4h18m19.590271803s, test: 2h48m47.431683619s) 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): []