ci2 starts bisection 2024-09-21 22:43:25.964847142 +0000 UTC m=+188396.899915203 bisecting fixing commit since 48d525b0e4634c487cf46a41c1e2824e9ee258ce building syzkaller on 1786a2a82636054a2b049857ef8b011c7e539fb6 ensuring issue is reproducible on original commit 48d525b0e4634c487cf46a41c1e2824e9ee258ce testing commit 48d525b0e4634c487cf46a41c1e2824e9ee258ce gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 59ce47a707e4f4c2aeb37657686dfd1035c991fdff60561ae424088f5dc393d7 run #0: basic kernel testing failed: INFO: rcu detected stall in corrupted run #1: basic kernel testing failed: INFO: rcu detected stall in corrupted run #2: basic kernel testing failed: INFO: rcu detected stall in corrupted run #3: basic kernel testing failed: INFO: rcu detected stall in corrupted run #4: crashed: WARNING in cset_cgroup_from_root run #5: crashed: WARNING in cset_cgroup_from_root run #6: crashed: WARNING in cset_cgroup_from_root run #7: crashed: WARNING in cset_cgroup_from_root run #8: crashed: WARNING in cset_cgroup_from_root run #9: crashed: WARNING in cset_cgroup_from_root run #10: crashed: WARNING in cset_cgroup_from_root run #11: crashed: WARNING in cset_cgroup_from_root run #12: crashed: WARNING in cset_cgroup_from_root run #13: crashed: WARNING in cset_cgroup_from_root run #14: crashed: WARNING in cset_cgroup_from_root run #15: crashed: WARNING in cset_cgroup_from_root run #16: crashed: WARNING in cset_cgroup_from_root run #17: crashed: WARNING in cset_cgroup_from_root run #18: crashed: INFO: rcu detected stall in corrupted run #19: crashed: INFO: rcu detected stall in corrupted representative crash: WARNING in cset_cgroup_from_root, types: [WARNING] check whether we can drop unnecessary instrumentation disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit 48d525b0e4634c487cf46a41c1e2824e9ee258ce gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b601717ca0af69acf72e7f0a53f9d3b0ebbb659e0379a8b2e51e7dc196907034 run #0: crashed: WARNING in cset_cgroup_from_root run #1: crashed: WARNING in cset_cgroup_from_root run #2: crashed: WARNING in cset_cgroup_from_root run #3: crashed: WARNING in cset_cgroup_from_root run #4: crashed: WARNING in cset_cgroup_from_root run #5: crashed: WARNING in cset_cgroup_from_root run #6: crashed: WARNING in cset_cgroup_from_root run #7: basic kernel testing failed: no output from test machine run #8: basic kernel testing failed: no output from test machine run #9: crashed: no output from test machine representative crash: WARNING in cset_cgroup_from_root, types: [WARNING] the bug reproduces without the instrumentation disabling configs for [UBSAN KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed kconfig minimization: base=3824 full=7494 leaves diff=2067 split chunks (needed=false): <2067> split chunk #0 of len 2067 into 5 parts testing without sub-chunk 1/5 disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit 48d525b0e4634c487cf46a41c1e2824e9ee258ce gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e2d4bb3fe0dc9e06a457d62969943e243125ebfb7b5103539f0a9f5728a9e4b2 all runs: crashed: WARNING in cset_cgroup_from_root representative crash: WARNING in cset_cgroup_from_root, types: [WARNING] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [HANG LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 48d525b0e4634c487cf46a41c1e2824e9ee258ce gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4ae27cb7eb0bc776a4db031193428d07c30715440bf08c1cd010d3dc409a424c all runs: crashed: WARNING in cset_cgroup_from_root representative crash: WARNING in cset_cgroup_from_root, types: [WARNING] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [UBSAN KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit 48d525b0e4634c487cf46a41c1e2824e9ee258ce gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b071142fe61c0144f61eb3a58f6cab5964ab149c0c64857363919cce61949108 all runs: crashed: WARNING in cset_cgroup_from_root representative crash: WARNING in cset_cgroup_from_root, types: [WARNING] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [HANG LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 48d525b0e4634c487cf46a41c1e2824e9ee258ce gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 568585a449a70d3cb3b54d58cbaf6d6525373e9ad21bf8cd546da1f630b672d9 all runs: crashed: WARNING in cset_cgroup_from_root representative crash: WARNING in cset_cgroup_from_root, types: [WARNING] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [HANG LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 48d525b0e4634c487cf46a41c1e2824e9ee258ce gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2288af0d255824cebe4d03fae91ecb34c2b5fc2846f9ca99bd4beeacf394dbca all runs: crashed: WARNING in cset_cgroup_from_root representative crash: WARNING in cset_cgroup_from_root, types: [WARNING] the chunk can be dropped disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing current HEAD e526b12bf9169887f8cfe5afed2b10e56bdca4c3 testing commit e526b12bf9169887f8cfe5afed2b10e56bdca4c3 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f6555eb6937f70e9d56aa25541fa12ee1daebf9b152c70bc96f6cbd594959ac9 all runs: OK false negative chance: 0.000 # git bisect start e526b12bf9169887f8cfe5afed2b10e56bdca4c3 48d525b0e4634c487cf46a41c1e2824e9ee258ce Bisecting: 511 revisions left to test after this (roughly 9 steps) [72da240aafb142630cf16adc803ccdacb3780849] kcm: Serialise kcm_sendmsg() for the same socket. determine whether the revision contains the guilty commit revision 48d525b0e4634c487cf46a41c1e2824e9ee258ce crashed and is reachable testing commit 72da240aafb142630cf16adc803ccdacb3780849 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e378b62fb1c07df5f770a71170627bc431cb77bc4ca9de2f86f02238186a39fa all runs: OK false negative chance: 0.000 # git bisect bad 72da240aafb142630cf16adc803ccdacb3780849 Bisecting: 255 revisions left to test after this (roughly 8 steps) [94f2dc266785a2a2013eb2109aa4c6b81edca3fe] sunrpc: pass in the sv_stats struct through svc_create_pooled determine whether the revision contains the guilty commit revision 48d525b0e4634c487cf46a41c1e2824e9ee258ce crashed and is reachable testing commit 94f2dc266785a2a2013eb2109aa4c6b81edca3fe gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 56900bcd7fe52647ffab35817f077ca11eec4daa45059a04076ab3c1b7d61f86 all runs: crashed: WARNING in cset_cgroup_from_root representative crash: WARNING in cset_cgroup_from_root, types: [WARNING] # git bisect good 94f2dc266785a2a2013eb2109aa4c6b81edca3fe Bisecting: 127 revisions left to test after this (roughly 7 steps) [889513035867f5bef8aa0ce8a09f6b887478177d] net: hns3: fix wrong use of semaphore up determine whether the revision contains the guilty commit revision 94f2dc266785a2a2013eb2109aa4c6b81edca3fe crashed and is reachable testing commit 889513035867f5bef8aa0ce8a09f6b887478177d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 34fe011857059c6ea994a324d5ce38734d985a79e14f9afc9e120fee8204616d all runs: OK false negative chance: 0.000 # git bisect bad 889513035867f5bef8aa0ce8a09f6b887478177d Bisecting: 63 revisions left to test after this (roughly 6 steps) [3c7bac8c7636e1f0cbc124417fd7352a527466d1] gfs2: Rename the {freeze,thaw}_super callbacks determine whether the revision contains the guilty commit revision 94f2dc266785a2a2013eb2109aa4c6b81edca3fe crashed and is reachable testing commit 3c7bac8c7636e1f0cbc124417fd7352a527466d1 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b0d8754e27122d48327cf87a38b3d413ae6a377feea5d8d6dcaeb5d0e0243b0b all runs: OK false negative chance: 0.000 # git bisect bad 3c7bac8c7636e1f0cbc124417fd7352a527466d1 Bisecting: 31 revisions left to test after this (roughly 5 steps) [66cf236d3addd55360dbb6aa560344f510468874] riscv: change XIP's kernel_map.size to be size of the entire kernel determine whether the revision contains the guilty commit revision 48d525b0e4634c487cf46a41c1e2824e9ee258ce crashed and is reachable testing commit 66cf236d3addd55360dbb6aa560344f510468874 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0e372f8c9a7ba7ae3c5da631726996d9de1a0c4acdd9ddc5cd99a945bf22075c all runs: OK false negative chance: 0.000 # git bisect bad 66cf236d3addd55360dbb6aa560344f510468874 Bisecting: 15 revisions left to test after this (roughly 4 steps) [0e76e9bb1d8dc9e545ebec593a20c831aab5841d] cgroup: Move rcu_head up near the top of cgroup_root determine whether the revision contains the guilty commit revision 48d525b0e4634c487cf46a41c1e2824e9ee258ce crashed and is reachable testing commit 0e76e9bb1d8dc9e545ebec593a20c831aab5841d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: bdab7ce9b22c48e7a719d076a9eff93acd94105ac389665c78c7a1f8b0bcaff1 all runs: OK false negative chance: 0.000 # git bisect bad 0e76e9bb1d8dc9e545ebec593a20c831aab5841d Bisecting: 7 revisions left to test after this (roughly 3 steps) [c535c7e7ee3fed388a8486657b94186fcdd6bd3d] nvme/pci: Add APST quirk for Lenovo N60z laptop determine whether the revision contains the guilty commit revision 48d525b0e4634c487cf46a41c1e2824e9ee258ce crashed and is reachable testing commit c535c7e7ee3fed388a8486657b94186fcdd6bd3d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 64d9d30c1b8fc2589eb14338faad33ab41680cb71ccafb8c078f94c95c60359a all runs: crashed: WARNING in cset_cgroup_from_root representative crash: WARNING in cset_cgroup_from_root, types: [WARNING] # git bisect good c535c7e7ee3fed388a8486657b94186fcdd6bd3d Bisecting: 3 revisions left to test after this (roughly 2 steps) [dc2ab133cf63bbaf214691f075bef40ad129d2c6] drm/i915: Add a function to mmap framebuffer obj determine whether the revision contains the guilty commit revision 48d525b0e4634c487cf46a41c1e2824e9ee258ce crashed and is reachable testing commit dc2ab133cf63bbaf214691f075bef40ad129d2c6 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f3da8803bb7fdfcad67aa26c7a620138733852df4df6e63be2e756825d0f41c9 all runs: OK false negative chance: 0.000 # git bisect bad dc2ab133cf63bbaf214691f075bef40ad129d2c6 Bisecting: 1 revision left to test after this (roughly 1 step) [e8a68aa842d3f8dd04a46b9d632e5f67fde1da9b] drm/i915/gem: Fix Virtual Memory mapping boundaries calculation determine whether the revision contains the guilty commit revision c535c7e7ee3fed388a8486657b94186fcdd6bd3d crashed and is reachable testing commit e8a68aa842d3f8dd04a46b9d632e5f67fde1da9b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6b7e750a1bcee59415c9ac3e0bfa47e977d0e72e7c9ca50251cb0ce56d9dfc3b all runs: crashed: WARNING in cset_cgroup_from_root representative crash: WARNING in cset_cgroup_from_root, types: [WARNING] # git bisect good e8a68aa842d3f8dd04a46b9d632e5f67fde1da9b Bisecting: 0 revisions left to test after this (roughly 0 steps) [f5b7a9792041f16c8e32a34e58be2f8d0d612aa1] cgroup: Make operations on the cgroup root_list RCU safe determine whether the revision contains the guilty commit revision e8a68aa842d3f8dd04a46b9d632e5f67fde1da9b crashed and is reachable testing commit f5b7a9792041f16c8e32a34e58be2f8d0d612aa1 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e7e6fecc2a5cef95b7a16fc9bc6ba117a180349163a5635f2230f460291c812d all runs: OK false negative chance: 0.000 # git bisect bad f5b7a9792041f16c8e32a34e58be2f8d0d612aa1 f5b7a9792041f16c8e32a34e58be2f8d0d612aa1 is the first bad commit commit f5b7a9792041f16c8e32a34e58be2f8d0d612aa1 Author: Yafang Shao Date: Sun Oct 29 06:14:29 2023 +0000 cgroup: Make operations on the cgroup root_list RCU safe commit d23b5c577715892c87533b13923306acc6243f93 upstream. At present, when we perform operations on the cgroup root_list, we must hold the cgroup_mutex, which is a relatively heavyweight lock. In reality, we can make operations on this list RCU-safe, eliminating the need to hold the cgroup_mutex during traversal. Modifications to the list only occur in the cgroup root setup and destroy paths, which should be infrequent in a production environment. In contrast, traversal may occur frequently. Therefore, making it RCU-safe would be beneficial. Signed-off-by: Yafang Shao Signed-off-by: Tejun Heo Cc: Michal Koutný Signed-off-by: Greg Kroah-Hartman include/linux/cgroup-defs.h | 1 + kernel/cgroup/cgroup-internal.h | 3 ++- kernel/cgroup/cgroup.c | 23 ++++++++++++++++------- 3 files changed, 19 insertions(+), 8 deletions(-) accumulated error probability: 0.00 culprit signature: e7e6fecc2a5cef95b7a16fc9bc6ba117a180349163a5635f2230f460291c812d parent signature: 6b7e750a1bcee59415c9ac3e0bfa47e977d0e72e7c9ca50251cb0ce56d9dfc3b revisions tested: 18, total time: 5h9m40.267161768s (build: 2h38m54.133974861s, test: 2h24m7.749680566s) first good commit: f5b7a9792041f16c8e32a34e58be2f8d0d612aa1 cgroup: Make operations on the cgroup root_list RCU safe recipients (to): ["gregkh@linuxfoundation.org" "laoar.shao@gmail.com" "tj@kernel.org"] recipients (cc): []