ci2 starts bisection 2024-08-20 23:21:33.109801393 +0000 UTC m=+136343.358530377 bisecting fixing commit since dcbc050cb0d304c3427d6583384eebcaf0e3caee building syzkaller on 6baf506947ba27ed9ce775cf9351cb0886166083 ensuring issue is reproducible on original commit dcbc050cb0d304c3427d6583384eebcaf0e3caee testing commit dcbc050cb0d304c3427d6583384eebcaf0e3caee gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 913548d20e6b747f5e5ecce335648fff1fbfc450c9cfa43372a5e48079592c0b all runs: crashed: possible deadlock in __wake_up representative crash: possible deadlock in __wake_up, types: [LOCKDEP] check whether we can drop unnecessary instrumentation disabling configs for [HANG LEAK UBSAN BUG KASAN ATOMIC_SLEEP], they are not needed testing commit dcbc050cb0d304c3427d6583384eebcaf0e3caee gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ad2e6c52b4dd583326ea19c563a5eff2cec486339932a072ed74b497556bb83e all runs: crashed: possible deadlock in __wake_up representative crash: possible deadlock in __wake_up, 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=3822 full=7454 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 dcbc050cb0d304c3427d6583384eebcaf0e3caee gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e459d000de60ef0fcf44ebf278cbbcd1bd59bf137cc72d2a8f6399e19ebe47cb all runs: crashed: possible deadlock in __wake_up representative crash: possible deadlock in __wake_up, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [LEAK UBSAN BUG KASAN ATOMIC_SLEEP HANG], they are not needed testing commit dcbc050cb0d304c3427d6583384eebcaf0e3caee gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5a4f7b982b29883e5484c71a232f658b0bcf76ace819437cc57b913e1d3b2f30 all runs: crashed: possible deadlock in __wake_up representative crash: possible deadlock in __wake_up, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [KASAN ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit dcbc050cb0d304c3427d6583384eebcaf0e3caee gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 78fa5f4cb997e6b450eabeb4ee5a883c9f740c48ff4e912552bc34f17850d776 all runs: crashed: possible deadlock in __wake_up representative crash: possible deadlock in __wake_up, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [UBSAN BUG KASAN ATOMIC_SLEEP HANG LEAK], they are not needed testing commit dcbc050cb0d304c3427d6583384eebcaf0e3caee gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: adcd881b42319555727785fe67df961201a64d74839fd28cf8b292fa415b2b18 all runs: crashed: possible deadlock in __wake_up representative crash: possible deadlock in __wake_up, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [UBSAN BUG KASAN ATOMIC_SLEEP HANG LEAK], they are not needed testing commit dcbc050cb0d304c3427d6583384eebcaf0e3caee gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ee2204512a6a6829ef018bd757d106ec6175be6345712aa52d6b51d3acb301a4 all runs: crashed: possible deadlock in __wake_up representative crash: possible deadlock in __wake_up, types: [LOCKDEP] the chunk can be dropped disabling configs for [KASAN ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed determining the merge base between dcbc050cb0d304c3427d6583384eebcaf0e3caee and 521b1e7f4cf0b05a47995b103596978224b380a8 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: c482769e981a9fa0fe85182b18a28d9924efe7d8b30eae0625011fa1f4fcd873 all runs: crashed: possible deadlock in __wake_up representative crash: possible deadlock in __wake_up, types: [LOCKDEP] testing current HEAD 521b1e7f4cf0b05a47995b103596978224b380a8 testing commit 521b1e7f4cf0b05a47995b103596978224b380a8 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f05e4d3f239b6c0127d3ef1c794550736c228175769bc253c9350a98752728c2 all runs: OK false negative chance: 0.000 # git bisect start 521b1e7f4cf0b05a47995b103596978224b380a8 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 Bisecting: 78362 revisions left to test after this (roughly 16 steps) [a1fb841f9d189d257814562dacb3d65667f2a9c3] Merge tag 'wireless-next-2023-10-06' of git://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit a1fb841f9d189d257814562dacb3d65667f2a9c3 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3f446ac7eea70cf55af0b5beec091ecc70a77fdfba86ea1468ad1e9bff65c4af all runs: OK false negative chance: 0.000 # git bisect bad a1fb841f9d189d257814562dacb3d65667f2a9c3 Bisecting: 40238 revisions left to test after this (roughly 15 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: 30f60c1a42364def7cff2168799a477ba87e1a8f67dcf6364c254b2863e71edc all runs: OK false negative chance: 0.000 # git bisect bad b68ee1c6131c540a62ecd443be89c406401df091 Bisecting: 19083 revisions left to test after this (roughly 14 steps) [8ca8d89b43caf9a02a18414d6eeff966d2b14512] Merge tag 'cgroup-for-6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 8ca8d89b43caf9a02a18414d6eeff966d2b14512 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9286baa92bdd70a2c827dedfe6864f85bf92776d7438bb54c922c81703463aa2 all runs: OK false negative chance: 0.000 # git bisect bad 8ca8d89b43caf9a02a18414d6eeff966d2b14512 Bisecting: 9408 revisions left to test after this (roughly 13 steps) [7e68dd7d07a28faa2e6574dd6b9dbd90cdeaae91] Merge tag 'net-next-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 7e68dd7d07a28faa2e6574dd6b9dbd90cdeaae91 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0fd9d5af958ac3043f42d6cabb0494630789c6e83a70ced2fa2e3f12c60aac64 all runs: crashed: possible deadlock in __wake_up representative crash: possible deadlock in __wake_up, types: [LOCKDEP] # git bisect good 7e68dd7d07a28faa2e6574dd6b9dbd90cdeaae91 Bisecting: 4701 revisions left to test after this (roughly 12 steps) [5d4740fc787db767811c4ac625665493314b382c] Merge tag 'io_uring-6.2-2022-12-19' of git://git.kernel.dk/linux determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 5d4740fc787db767811c4ac625665493314b382c gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2746abee5dca30006e0ea88bcc8edc679e0f4587721ca16c5429c58ebe456a3e all runs: crashed: possible deadlock in __wake_up representative crash: possible deadlock in __wake_up, types: [LOCKDEP] # git bisect good 5d4740fc787db767811c4ac625665493314b382c Bisecting: 2352 revisions left to test after this (roughly 11 steps) [e2bca0ebf775453bb3c6b9c2149fb4712621493a] Merge tag 'usb-6.2-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit e2bca0ebf775453bb3c6b9c2149fb4712621493a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 46418fc9714aef615ee332a22bb265dce7bcd62cb09bdf3aa8ced600ea31ab9a all runs: crashed: possible deadlock in __wake_up representative crash: possible deadlock in __wake_up, types: [LOCKDEP] # git bisect good e2bca0ebf775453bb3c6b9c2149fb4712621493a Bisecting: 1259 revisions left to test after this (roughly 10 steps) [e43efb6d713bca3855909a2f9caec280a2b0a503] dt-bindings: riscv: correct starfive visionfive 2 compatibles determine whether the revision contains the guilty commit revision 5d4740fc787db767811c4ac625665493314b382c crashed and is reachable testing commit e43efb6d713bca3855909a2f9caec280a2b0a503 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 266cb007d5261a44a0cc74e41ba3fc35af73432cc0c23a37f02c11e6c93809d8 all runs: crashed: possible deadlock in __wake_up representative crash: possible deadlock in __wake_up, types: [LOCKDEP] # git bisect good e43efb6d713bca3855909a2f9caec280a2b0a503 Bisecting: 698 revisions left to test after this (roughly 9 steps) [553637f73c314c742243b8dc5ef072e9dadbe581] Merge tag 'for-6.3/dio-2023-02-16' of git://git.kernel.dk/linux determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 553637f73c314c742243b8dc5ef072e9dadbe581 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ee2e958b33a0c4be09d79afd5f684cbb64b111fb240f418e7be8bcd97ae4a4ea all runs: OK false negative chance: 0.000 # git bisect bad 553637f73c314c742243b8dc5ef072e9dadbe581 Bisecting: 271 revisions left to test after this (roughly 8 steps) [6639c3ce7fd217c22b26aa9f2a3cb69dc19221f8] Merge tag 'fsverity-for-linus' of git://git.kernel.org/pub/scm/fs/fsverity/linux determine whether the revision contains the guilty commit revision 5d4740fc787db767811c4ac625665493314b382c crashed and is reachable testing commit 6639c3ce7fd217c22b26aa9f2a3cb69dc19221f8 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: bc9a4caaadfa429ef60acd6bd7de42cb0cd6cbba43d3d6b0e883f842de6ed08c all runs: crashed: possible deadlock in __wake_up representative crash: possible deadlock in __wake_up, types: [LOCKDEP] # git bisect good 6639c3ce7fd217c22b26aa9f2a3cb69dc19221f8 Bisecting: 162 revisions left to test after this (roughly 7 steps) [964a54e5e1a0d70cd80bd5a0885a1938463625b1] btrfs: make kobj_type structures constant determine whether the revision contains the guilty commit revision 7e68dd7d07a28faa2e6574dd6b9dbd90cdeaae91 crashed and is reachable testing commit 964a54e5e1a0d70cd80bd5a0885a1938463625b1 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4a69c6f1b5f7f39d8a81d98f7109e828bc1e70a2583286dc44632d959696a8d9 all runs: crashed: possible deadlock in __wake_up representative crash: possible deadlock in __wake_up, types: [LOCKDEP] # git bisect good 964a54e5e1a0d70cd80bd5a0885a1938463625b1 Bisecting: 79 revisions left to test after this (roughly 6 steps) [274978f173276c5720a3cd8d0b6047d2c0d3a684] Merge tag 'fixes_for_v6.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs determine whether the revision contains the guilty commit revision 6639c3ce7fd217c22b26aa9f2a3cb69dc19221f8 crashed and is reachable testing commit 274978f173276c5720a3cd8d0b6047d2c0d3a684 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 42784ec271e87d76f25cf3b2a8bbac295ce7c209d0c86c13d52e168753026809 all runs: crashed: possible deadlock in __wake_up representative crash: possible deadlock in __wake_up, types: [LOCKDEP] # git bisect good 274978f173276c5720a3cd8d0b6047d2c0d3a684 Bisecting: 39 revisions left to test after this (roughly 5 steps) [5afa4650713918e60865ed42d9439e82f6d24773] io_uring: refactor io_put_task helpers determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 5afa4650713918e60865ed42d9439e82f6d24773 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5d75d7d80633aa487622c933290bcbcc392c947d8145871e79ee0c980e353ceb all runs: OK false negative chance: 0.000 # git bisect bad 5afa4650713918e60865ed42d9439e82f6d24773 Bisecting: 19 revisions left to test after this (roughly 4 steps) [3181e22fb79910c7071e84a43af93ac89e8a7106] io_uring: wake up optimisations determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 3181e22fb79910c7071e84a43af93ac89e8a7106 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f0bd3290e143728ebd015b1f86396ff0e46e923d6240372264e545ec58df7fb4 all runs: OK false negative chance: 0.000 # git bisect bad 3181e22fb79910c7071e84a43af93ac89e8a7106 Bisecting: 9 revisions left to test after this (roughly 3 steps) [d33a39e577687e12d4468e9dd999375b9973d700] io_uring: keep timeout in io_wait_queue determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit d33a39e577687e12d4468e9dd999375b9973d700 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 46148aa5b197243fc9da7ddb67b8d83f219a7ef09f38a7e27970111eb149e382 all runs: crashed: possible deadlock in __wake_up representative crash: possible deadlock in __wake_up, types: [LOCKDEP] # git bisect good d33a39e577687e12d4468e9dd999375b9973d700 Bisecting: 4 revisions left to test after this (roughly 2 steps) [2f413956cc8a72fc11c2779228112559bbca8279] io_uring: don't set TASK_RUNNING in local tw runner determine whether the revision contains the guilty commit revision d33a39e577687e12d4468e9dd999375b9973d700 crashed and is reachable testing commit 2f413956cc8a72fc11c2779228112559bbca8279 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2e7fe96d131e2450edfd58f76300f2fbc5271b3192e325d33daafb929ce80a5c all runs: crashed: possible deadlock in __wake_up representative crash: possible deadlock in __wake_up, types: [LOCKDEP] # git bisect good 2f413956cc8a72fc11c2779228112559bbca8279 Bisecting: 2 revisions left to test after this (roughly 1 step) [360173ab9e1a8a50bc9092ae8c741f0a05d499b7] io_uring: move io_run_local_work_locked determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 360173ab9e1a8a50bc9092ae8c741f0a05d499b7 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c17e9ce97ba1c0416d26b416d46f32150ff475593d6f31d31b8cd3f44ee70537 all runs: crashed: possible deadlock in __wake_up representative crash: possible deadlock in __wake_up, types: [LOCKDEP] # git bisect good 360173ab9e1a8a50bc9092ae8c741f0a05d499b7 Bisecting: 0 revisions left to test after this (roughly 1 step) [bca39f39058567643487cd654970717705784ba3] io_uring: add lazy poll_wq activation determine whether the revision contains the guilty commit revision d33a39e577687e12d4468e9dd999375b9973d700 crashed and is reachable testing commit bca39f39058567643487cd654970717705784ba3 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5e64f117d0191bbc283b3858f4b9a034a0a06d1ab7f2b14b9fd8fe692a932102 all runs: OK false negative chance: 0.000 # git bisect bad bca39f39058567643487cd654970717705784ba3 Bisecting: 0 revisions left to test after this (roughly 0 steps) [7b235dd82ad32c1626e51303d94ec5ef4d7bc994] io_uring: separate wq for ring polling determine whether the revision contains the guilty commit revision 5d4740fc787db767811c4ac625665493314b382c crashed and is reachable testing commit 7b235dd82ad32c1626e51303d94ec5ef4d7bc994 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: da75bb0aca108664f2fc886c3e397336d749bfc494fa80f526f80bf5bf00f6a3 all runs: crashed: possible deadlock in __wake_up representative crash: possible deadlock in __wake_up, types: [LOCKDEP] # git bisect good 7b235dd82ad32c1626e51303d94ec5ef4d7bc994 bca39f39058567643487cd654970717705784ba3 is the first bad commit commit bca39f39058567643487cd654970717705784ba3 Author: Pavel Begunkov Date: Mon Jan 9 14:46:09 2023 +0000 io_uring: add lazy poll_wq activation Even though io_poll_wq_wake()'s waitqueue_active reuses a barrier we do for another waitqueue, it's not going to be the case in the future and so we want to have a fast path for it when the ring has never been polled. Move poll_wq wake ups into __io_commit_cqring_flush() using a new flag called ->poll_activated. The idea behind the flag is to set it when the ring was polled for the first time. This requires additional sync to not miss events, which is done here by using task_work for ->task_complete rings, and by default enabling the flag for all other types of rings. Signed-off-by: Pavel Begunkov Link: https://lore.kernel.org/r/060785e8e9137a920b232c0c7f575b131af19cac.1673274244.git.asml.silence@gmail.com Signed-off-by: Jens Axboe include/linux/io_uring_types.h | 2 ++ io_uring/io_uring.c | 60 +++++++++++++++++++++++++++++++++++++++++- io_uring/io_uring.h | 7 +++-- 3 files changed, 64 insertions(+), 5 deletions(-) accumulated error probability: 0.00 culprit signature: 5e64f117d0191bbc283b3858f4b9a034a0a06d1ab7f2b14b9fd8fe692a932102 parent signature: da75bb0aca108664f2fc886c3e397336d749bfc494fa80f526f80bf5bf00f6a3 revisions tested: 27, total time: 4h27m9.334659092s (build: 2h13m43.906539024s, test: 2h4m16.756376553s) first good commit: bca39f39058567643487cd654970717705784ba3 io_uring: add lazy poll_wq activation recipients (to): ["asml.silence@gmail.com" "axboe@kernel.dk"] recipients (cc): []