ci starts bisection 2025-09-27 03:49:46.592099575 +0000 UTC m=+20052.646327395 bisecting cause commit starting from f83ec76bf285bea5727f478a68b894f5543ca76e building syzkaller on e2beed91937c0ace342f19a2e9afb67adb3a828a ensuring issue is reproducible on original commit f83ec76bf285bea5727f478a68b894f5543ca76e testing commit f83ec76bf285bea5727f478a68b894f5543ca76e gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 59b398da88b8ea1090e2cd15278e67d5ea1b9462b2aa4d4825f50a18b216e2fc all runs: crashed: possible deadlock in do_writepages representative crash: possible deadlock in do_writepages, types: [LOCKDEP] check whether we can drop unnecessary instrumentation disabling configs for [kasan atomic_sleep hang memleak ubsan bug_or_warning], they are not needed testing commit f83ec76bf285bea5727f478a68b894f5543ca76e gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: de1e28425e66c8de5bf4f00ff8fa1f1905271a82f4e1624cb6b61e17d889e12c all runs: crashed: possible deadlock in do_writepages representative crash: possible deadlock in do_writepages, types: [LOCKDEP] the bug reproduces without the instrumentation disabling configs for [hang memleak ubsan bug_or_warning kasan atomic_sleep], they are not needed kconfig minimization: base=4094 full=8500 leaves diff=2191 split chunks (needed=false): <2191> split chunk #0 of len 2191 into 5 parts testing without sub-chunk 1/5 disabling configs for [kasan atomic_sleep hang memleak ubsan bug_or_warning], they are not needed testing commit f83ec76bf285bea5727f478a68b894f5543ca76e gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 191002f3a4ecb697996ed60caabb49ea8e2b34071c25f6a5d96dee5382e41bab all runs: crashed: possible deadlock in do_writepages representative crash: possible deadlock in do_writepages, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [hang memleak ubsan bug_or_warning kasan atomic_sleep], they are not needed testing commit f83ec76bf285bea5727f478a68b894f5543ca76e gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5577c004a5eb663b09ee395be58b27ed0f9caea02da4200d2165e8ebf4cded19 all runs: crashed: possible deadlock in do_writepages representative crash: possible deadlock in do_writepages, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [ubsan bug_or_warning kasan atomic_sleep hang memleak], they are not needed testing commit f83ec76bf285bea5727f478a68b894f5543ca76e gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4a850df95f61209211619887029e01009eaeefd049055bfad1dfc1ad401bde4f all runs: crashed: possible deadlock in do_writepages representative crash: possible deadlock in do_writepages, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [bug_or_warning kasan atomic_sleep hang memleak ubsan], they are not needed testing commit f83ec76bf285bea5727f478a68b894f5543ca76e gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7209a2f370428e2ad64a98a2f5f64a44f95c617aaaef0d96719e6662e9d0696b all runs: crashed: possible deadlock in do_writepages representative crash: possible deadlock in do_writepages, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [memleak ubsan bug_or_warning kasan atomic_sleep hang], they are not needed testing commit f83ec76bf285bea5727f478a68b894f5543ca76e gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 74debfcb266232924fba7b4ece764c756cc19b99d98bc86f3255adfe15fc7658 all runs: crashed: possible deadlock in do_writepages representative crash: possible deadlock in do_writepages, types: [LOCKDEP] the chunk can be dropped disabling configs for [bug_or_warning kasan atomic_sleep hang memleak ubsan], they are not needed picked [v6.16 v6.15 v6.14 v6.12 v6.10 v6.8 v6.6 v6.4 v6.1 v5.18 v5.15 v5.12 v5.9 v5.6 v5.3 v5.0 v4.19] out of 39 release tags testing release v6.16 testing commit 038d61fd642278bab63ee8ef722c50d10ab01e8f gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 985d222a037e07850d399cb4d7218eff7694f2fc29b69fe2e9b7dc88263a0dbf all runs: crashed: possible deadlock in do_writepages representative crash: possible deadlock in do_writepages, types: [LOCKDEP] testing release v6.15 testing commit 0ff41df1cb268fc69e703a08a57ee14ae967d0ca gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f83670929c307d756ebf9b15a6376eed8b89850b138d37b194e5fdc2ffbc0e75 all runs: crashed: possible deadlock in do_writepages representative crash: possible deadlock in do_writepages, types: [LOCKDEP] testing release v6.14 testing commit 38fec10eb60d687e30c8c6b5420d86e8149f7557 gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 343d29c1db01527e26832986ed6c9645bcf7ea59ae2816d5b24a0f70829fe4c4 all runs: crashed: possible deadlock in do_writepages representative crash: possible deadlock in do_writepages, types: [LOCKDEP] testing release v6.12 testing commit adc218676eef25575469234709c2d87185ca223a gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3333903ce8fcc39fd325ce90f65a3bef55a9735f03ccfad777c9efb8b77327fe all runs: crashed: possible deadlock in do_writepages representative crash: possible deadlock in do_writepages, types: [LOCKDEP] testing release v6.10 testing commit 0c3836482481200ead7b416ca80c68a29cfdaabd gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 365e36236f4541c493e984f11abb46518548521be43afd9c05b6178c1c796f50 all runs: crashed: possible deadlock in do_writepages representative crash: possible deadlock in do_writepages, types: [LOCKDEP] testing release v6.8 testing commit e8f897f4afef0031fe618a8e94127a0934896aba gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 01163c24dbd329b1c5985ff39299f49b2cff622d3716e2c11d3286ff9adb7713 all runs: crashed: possible deadlock in do_writepages representative crash: possible deadlock in do_writepages, types: [LOCKDEP] testing release v6.6 testing commit ffc253263a1375a65fa6c9f62a893e9767fbebfa gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a2a62a2d5ed8836c90081acc8c1bc0f8477166144a3417baaae375292c9f8efb all runs: crashed: possible deadlock in do_writepages representative crash: possible deadlock in do_writepages, types: [LOCKDEP] testing release v6.4 testing commit 6995e2de6891c724bfeb2db33d7b87775f913ad1 gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 394e583a45a44769ba932af8370075fb1728985f958b802cd72d103d53fb0311 all runs: OK false negative chance: 0.000 # git bisect start ffc253263a1375a65fa6c9f62a893e9767fbebfa 6995e2de6891c724bfeb2db33d7b87775f913ad1 Bisecting: 14974 revisions left to test after this (roughly 14 steps) [692f5510159c79bfa312a4e27a15e266232bfb4c] Merge tag 'asoc-v6.6' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus testing commit 692f5510159c79bfa312a4e27a15e266232bfb4c gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: fbb23881cff5b2292770238481d13c4ae7ddb7e59e8d2c6cac716886b83f4822 all runs: crashed: possible deadlock in do_writepages representative crash: possible deadlock in do_writepages, types: [LOCKDEP] # git bisect bad 692f5510159c79bfa312a4e27a15e266232bfb4c Bisecting: 7678 revisions left to test after this (roughly 13 steps) [b775d6c5859affe00527cbe74263de05cfe6b9f9] Merge tag 'mips_6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux testing commit b775d6c5859affe00527cbe74263de05cfe6b9f9 gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4c9cf784a7e23b48f6e50f5b1303959363a3a95f13afbbe3da94260d631a5600 all runs: crashed: possible deadlock in do_writepages representative crash: possible deadlock in do_writepages, types: [LOCKDEP] # git bisect bad b775d6c5859affe00527cbe74263de05cfe6b9f9 Bisecting: 3061 revisions left to test after this (roughly 12 steps) [3a8a670eeeaa40d87bd38a587438952741980c18] Merge tag 'net-next-6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next testing commit 3a8a670eeeaa40d87bd38a587438952741980c18 gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b6e6d5ffa3dd105f277242fcab65ddab7707b85e7e80a685adf666ff78f2b301 all runs: crashed: possible deadlock in do_writepages representative crash: possible deadlock in do_writepages, types: [LOCKDEP] # git bisect bad 3a8a670eeeaa40d87bd38a587438952741980c18 Bisecting: 2103 revisions left to test after this (roughly 11 steps) [6e17c6de3ddf3073741d9c91a796ee696914d8a0] Merge tag 'mm-stable-2023-06-24-19-15' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm testing commit 6e17c6de3ddf3073741d9c91a796ee696914d8a0 gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5b92a293eb206d641711ab90902961100863b851ac697167a0c1eb5ce9be1622 all runs: crashed: possible deadlock in do_writepages representative crash: possible deadlock in do_writepages, types: [LOCKDEP] # git bisect bad 6e17c6de3ddf3073741d9c91a796ee696914d8a0 Bisecting: 1048 revisions left to test after this (roughly 10 steps) [2605e80d3438c77190f55b821c6575048c68268e] Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux testing commit 2605e80d3438c77190f55b821c6575048c68268e gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2222c142022ef0c262f2db5bbebdfe9fb09fcb8e827c5804c2c3b517007cc010 all runs: OK false negative chance: 0.000 # git bisect good 2605e80d3438c77190f55b821c6575048c68268e Bisecting: 515 revisions left to test after this (roughly 9 steps) [72dc6db7e3b692f46f3386b8dd5101d3f431adef] Merge tag 'wq-for-6.5-cleanup-ordered' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq testing commit 72dc6db7e3b692f46f3386b8dd5101d3f431adef gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 41977eefa99aa927872d63e3d88fa763638026d31dadef9e895db1926b9febcd all runs: crashed: possible deadlock in do_writepages representative crash: possible deadlock in do_writepages, types: [LOCKDEP] # git bisect bad 72dc6db7e3b692f46f3386b8dd5101d3f431adef Bisecting: 263 revisions left to test after this (roughly 8 steps) [a3540495324af9b7fa95b62da2ccbf7cdb4e3622] Merge tag 'docs-6.5' of git://git.lwn.net/linux testing commit a3540495324af9b7fa95b62da2ccbf7cdb4e3622 gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 30a1df1c32f5a1498382b1b4f86e33d61f290fb0061309712c999722008d3e2d all runs: crashed: possible deadlock in do_writepages representative crash: possible deadlock in do_writepages, types: [LOCKDEP] # git bisect bad a3540495324af9b7fa95b62da2ccbf7cdb4e3622 Bisecting: 138 revisions left to test after this (roughly 7 steps) [1ef6663a587ba3e57dc5065a477db1c64481eedd] Merge tag 'tag-chrome-platform-for-v6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux testing commit 1ef6663a587ba3e57dc5065a477db1c64481eedd gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3dc6b1f1587c248f726aed6451d6ca61fb1849761d88f409ab9e9f1e6bdfd1fa all runs: OK false negative chance: 0.000 # git bisect good 1ef6663a587ba3e57dc5065a477db1c64481eedd Bisecting: 85 revisions left to test after this (roughly 6 steps) [dd58d666ac08eb5eb81e4956172fc52b3bf0ab38] selftests/nolibc: make sure gcc always use little endian on MIPS testing commit dd58d666ac08eb5eb81e4956172fc52b3bf0ab38 gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 69841ad09cf781da60a48750a53e3083aaf87122bd13d942a832cd9cb3d67305 all runs: OK false negative chance: 0.000 # git bisect good dd58d666ac08eb5eb81e4956172fc52b3bf0ab38 Bisecting: 50 revisions left to test after this (roughly 6 steps) [b19edac5992da0188be98454ca592621d3d89844] Merge tag 'nolibc.2023.06.22a' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu testing commit b19edac5992da0188be98454ca592621d3d89844 gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 76e95e8c320c1265efdf7a1ad215c84fec5f32784f299621ae87d98f0c49cc79 all runs: crashed: possible deadlock in do_writepages representative crash: possible deadlock in do_writepages, types: [LOCKDEP] # git bisect bad b19edac5992da0188be98454ca592621d3d89844 Bisecting: 26 revisions left to test after this (roughly 4 steps) [6b706e5603c44ff0b6f43c2e26e0d590e1d265f8] rcu/kvfree: Make drain_page_cache() take early return if cache is disabled testing commit 6b706e5603c44ff0b6f43c2e26e0d590e1d265f8 gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d6cb8ffe45a3a64e9164bdb4200cd4f346574d0299e7622031338fc853266afb all runs: OK false negative chance: 0.000 # git bisect good 6b706e5603c44ff0b6f43c2e26e0d590e1d265f8 Bisecting: 18 revisions left to test after this (roughly 4 steps) [401b0de3ae4fa49d1014c8941e26d9a25f37e7cf] rcu-tasks: Stop rcu_tasks_invoke_cbs() from using never-onlined CPUs testing commit 401b0de3ae4fa49d1014c8941e26d9a25f37e7cf gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a53e505fb3600162eba5454327676a030f2fc52cc01de450e8251eb620e99d2a all runs: OK false negative chance: 0.000 # git bisect good 401b0de3ae4fa49d1014c8941e26d9a25f37e7cf Bisecting: 12 revisions left to test after this (roughly 3 steps) [ce2544b2d05ee84cb9be1e05bf3e1a98c72b15dc] torture: Remove duplicated argument -enable-kvm for ppc64 testing commit ce2544b2d05ee84cb9be1e05bf3e1a98c72b15dc gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7f58a58a2a29918d2974f2c1afa33b23f79886a85499567082868cd96148b175 all runs: OK false negative chance: 0.000 # git bisect good ce2544b2d05ee84cb9be1e05bf3e1a98c72b15dc Bisecting: 8 revisions left to test after this (roughly 3 steps) [e1bd2334f165aa7bef7f9fa2b0bef97a85614963] rcu: Add more RCU files to kernel-api.rst testing commit e1bd2334f165aa7bef7f9fa2b0bef97a85614963 gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 027a0d6774258a5df46c3e7082e315178fa596aea15f0c5dc909a73bd1a3e146 all runs: OK false negative chance: 0.000 # git bisect good e1bd2334f165aa7bef7f9fa2b0bef97a85614963 Bisecting: 4 revisions left to test after this (roughly 2 steps) [fbde57d2d2995375305917b3c944bc861beb84d4] rcu/nocb: Make shrinker iterate only over NOCB CPUs testing commit fbde57d2d2995375305917b3c944bc861beb84d4 gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b7ef101423552b5efdb7a5985c432abce8c84f2f350bb69eeb856215f8a65125 all runs: OK false negative chance: 0.000 # git bisect good fbde57d2d2995375305917b3c944bc861beb84d4 Bisecting: 2 revisions left to test after this (roughly 1 step) [edff5e9a99e0ed9463999455b2604c3154eb7ab3] rcu-tasks: Clarify the cblist_init_generic() function's pr_info() output testing commit edff5e9a99e0ed9463999455b2604c3154eb7ab3 gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5f9f44226fc6a1499409ba215a48884b5e7089d66c7dd7e8f3dcb5d62cb2441b all runs: OK false negative chance: 0.000 # git bisect good edff5e9a99e0ed9463999455b2604c3154eb7ab3 Bisecting: 0 revisions left to test after this (roughly 1 step) [af96134dc8562f9fcbb8358af36f6086619a29ab] Merge tag 'rcu.2023.06.22a' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu testing commit af96134dc8562f9fcbb8358af36f6086619a29ab gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2e369769e13c377df12bb815e6943ab623e13789854dd6794a80bda0953270a5 all runs: crashed: possible deadlock in do_writepages representative crash: possible deadlock in do_writepages, types: [LOCKDEP] # git bisect bad af96134dc8562f9fcbb8358af36f6086619a29ab Bisecting: 0 revisions left to test after this (roughly 0 steps) [2e31da752c6d0e892f2a9232e18da816d04ee691] Merge branches 'doc.2023.05.10a', 'fixes.2023.05.11a', 'kvfree.2023.05.10a', 'nocb.2023.05.11a', 'rcu-tasks.2023.05.10a', 'torture.2023.05.15a' and 'rcu-urgent.2023.06.06a' into HEAD testing commit 2e31da752c6d0e892f2a9232e18da816d04ee691 gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c3e5650b6d7e012f7ecc23fcdbeaf9435714fd12519f0dabbe3c073e36f219c7 all runs: OK false negative chance: 0.000 # git bisect good 2e31da752c6d0e892f2a9232e18da816d04ee691 af96134dc8562f9fcbb8358af36f6086619a29ab is the first bad commit commit af96134dc8562f9fcbb8358af36f6086619a29ab Merge: 1ef6663a587ba 2e31da752c6d0 Author: Linus Torvalds Date: Tue Jun 27 10:37:01 2023 -0700 Merge tag 'rcu.2023.06.22a' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu Pull RCU updates from Paul McKenney: "Documentation updates Miscellaneous fixes, perhaps most notably: - Remove RCU_NONIDLE(). The new visibility of most of the idle loop to RCU has obsoleted this API. - Make the RCU_SOFTIRQ callback-invocation time limit also apply to the rcuc kthreads that invoke callbacks for CONFIG_PREEMPT_RT. - Add a jiffies-based callback-invocation time limit to handle long-running callbacks. (The local_clock() function is only invoked once per 32 callbacks due to its high overhead.) - Stop rcu_tasks_invoke_cbs() from using never-onlined CPUs, which fixes a bug that can occur on systems with non-contiguous CPU numbering. kvfree_rcu updates: - Eliminate the single-argument variant of k[v]free_rcu() now that all uses have been converted to k[v]free_rcu_mightsleep(). - Add WARN_ON_ONCE() checks for k[v]free_rcu*() freeing callbacks too soon. Yes, this is closing the barn door after the horse has escaped, but Murphy says that there will be more horses. Callback-offloading updates: - Fix a number of bugs involving the shrinker and lazy callbacks. Tasks RCU updates Torture-test updates" * tag 'rcu.2023.06.22a' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu: (32 commits) torture: Remove duplicated argument -enable-kvm for ppc64 doc/rcutorture: Add description of rcutorture.stall_cpu_block rcu/rcuscale: Stop kfree_scale_thread thread(s) after unloading rcuscale rcu/rcuscale: Move rcu_scale_*() after kfree_scale_cleanup() rcutorture: Correct name of use_softirq module parameter locktorture: Add long_hold to adjust lock-hold delays rcu/nocb: Make shrinker iterate only over NOCB CPUs rcu-tasks: Stop rcu_tasks_invoke_cbs() from using never-onlined CPUs rcu: Make rcu_cpu_starting() rely on interrupts being disabled rcu: Mark rcu_cpu_kthread() accesses to ->rcu_cpu_has_work rcu: Mark additional concurrent load from ->cpu_no_qs.b.exp rcu: Employ jiffies-based backstop to callback time limit rcu: Check callback-invocation time limit for rcuc kthreads rcu: Remove RCU_NONIDLE() rcu: Add more RCU files to kernel-api.rst rcu-tasks: Clarify the cblist_init_generic() function's pr_info() output rcu-tasks: Avoid pr_info() with spin lock in cblist_init_generic() rcu/nocb: Recheck lazy callbacks under the ->nocb_lock from shrinker rcu/nocb: Fix shrinker race against callback enqueuer rcu/nocb: Protect lazy shrinker against concurrent (de-)offloading ... .../RCU/Design/Requirements/Requirements.rst | 36 +--- Documentation/RCU/whatisRCU.rst | 1 - Documentation/admin-guide/kernel-parameters.txt | 140 ++++++++------- Documentation/core-api/kernel-api.rst | 12 ++ MAINTAINERS | 2 +- drivers/infiniband/sw/rxe/rxe_verbs.c | 2 +- include/linux/rcupdate.h | 54 +----- include/linux/srcu.h | 8 +- kernel/locking/locktorture.c | 51 +++--- kernel/rcu/Kconfig | 18 ++ kernel/rcu/rcu.h | 6 + kernel/rcu/rcuscale.c | 199 +++++++++++---------- kernel/rcu/tasks.h | 12 +- kernel/rcu/tree.c | 131 +++++++++----- kernel/rcu/tree_exp.h | 2 +- kernel/rcu/tree_nocb.h | 52 +++++- kernel/rcu/tree_plugin.h | 4 +- .../testing/selftests/rcutorture/bin/functions.sh | 2 +- .../rcutorture/configs/rcu/BUSTED-BOOST.boot | 2 +- .../selftests/rcutorture/configs/rcu/TREE03.boot | 2 +- 20 files changed, 403 insertions(+), 333 deletions(-) accumulated error probability: 0.00 revisions tested: 33, total time: 7h13m3.083227251s (build: 3h19m47.347726357s, test: 3h26m13.217879607s) first bad commit: af96134dc8562f9fcbb8358af36f6086619a29ab Merge tag 'rcu.2023.06.22a' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu recipients (to): ["jgg@ziepe.ca" "leon@kernel.org" "linux-kernel@vger.kernel.org" "torvalds@linux-foundation.org"] recipients (cc): ["linux-rdma@vger.kernel.org" "zyjzyj2000@gmail.com"] crash: possible deadlock in do_writepages memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL, pid=2880 'syz.3.17' loop3: detected capacity change from 0 to 512 ====================================================== WARNING: possible circular locking dependency detected syzkaller #0 Not tainted ------------------------------------------------------ syz.3.17/2880 is trying to acquire lock: ffff888107371b90 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: do_writepages+0xce/0x1e0 mm/page-writeback.c:2551 but task is already holding lock: ffff88811745b968 (&ei->xattr_sem){++++}-{4:4}, at: ext4_write_trylock_xattr fs/ext4/xattr.h:162 [inline] ffff88811745b968 (&ei->xattr_sem){++++}-{4:4}, at: ext4_try_to_expand_extra_isize fs/ext4/inode.c:5835 [inline] ffff88811745b968 (&ei->xattr_sem){++++}-{4:4}, at: __ext4_mark_inode_dirty+0x16f/0x260 fs/ext4/inode.c:5916 which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #2 (&ei->xattr_sem){++++}-{4:4}: down_read+0x2c/0x100 kernel/locking/rwsem.c:1520 ext4_setattr+0x52c/0xa50 fs/ext4/inode.c:5330 notify_change+0x20a/0x490 fs/attr.c:483 chown_common+0x22d/0x240 fs/open.c:768 do_fchownat+0x9e/0x100 fs/open.c:799 __do_sys_chown fs/open.c:819 [inline] __se_sys_chown fs/open.c:817 [inline] __x64_sys_chown+0x1b/0x30 fs/open.c:817 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3f/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x6f/0xd9 -> #1 (jbd2_handle){++++}-{0:0}: start_this_handle+0x1a3/0x5e0 fs/jbd2/transaction.c:463 jbd2__journal_start+0xf7/0x200 fs/jbd2/transaction.c:520 __ext4_journal_start fs/ext4/ext4_jbd2.h:326 [inline] ext4_do_writepages+0x34f/0xd30 fs/ext4/inode.c:2686 ext4_writepages+0xea/0x2a0 fs/ext4/inode.c:2792 do_writepages+0xce/0x1e0 mm/page-writeback.c:2551 __writeback_single_inode+0x42/0x3e0 fs/fs-writeback.c:1603 writeback_sb_inodes+0x1f7/0x4d0 fs/fs-writeback.c:1894 __writeback_inodes_wb+0x47/0xf0 fs/fs-writeback.c:1965 wb_writeback+0x2c0/0x350 fs/fs-writeback.c:2070 wb_check_background_flush fs/fs-writeback.c:2136 [inline] wb_do_writeback fs/fs-writeback.c:2224 [inline] wb_workfn+0x2f5/0x550 fs/fs-writeback.c:2251 process_one_work+0x290/0x4f0 kernel/workqueue.c:2408 worker_thread+0x4e/0x320 kernel/workqueue.c:2555 kthread+0xe1/0x110 kernel/kthread.c:379 ret_from_fork+0x2c/0x50 arch/x86/entry/entry_64.S:308 -> #0 (&sbi->s_writepages_rwsem){.+.+}-{0:0}: check_prev_add kernel/locking/lockdep.c:3113 [inline] check_prevs_add kernel/locking/lockdep.c:3232 [inline] validate_chain kernel/locking/lockdep.c:3847 [inline] __lock_acquire+0x13fd/0x1c00 kernel/locking/lockdep.c:5088 lock_acquire kernel/locking/lockdep.c:5705 [inline] lock_acquire+0xcd/0x2c0 kernel/locking/lockdep.c:5670 percpu_down_read include/linux/percpu-rwsem.h:51 [inline] ext4_writepages_down_read fs/ext4/ext4.h:1691 [inline] ext4_writepages+0x7e/0x2a0 fs/ext4/inode.c:2791 do_writepages+0xce/0x1e0 mm/page-writeback.c:2551 __writeback_single_inode+0x42/0x3e0 fs/fs-writeback.c:1603 writeback_single_inode+0x90/0x150 fs/fs-writeback.c:1724 write_inode_now+0x71/0x90 fs/fs-writeback.c:2760 iput_final fs/inode.c:1776 [inline] iput.part.0+0x11e/0x230 fs/inode.c:1815 ext4_xattr_set_entry+0x289/0x1460 fs/ext4/xattr.c:1857 ext4_xattr_block_set+0x205/0x1000 fs/ext4/xattr.c:1956 ext4_xattr_move_to_block fs/ext4/xattr.c:2653 [inline] ext4_xattr_make_inode_space fs/ext4/xattr.c:2728 [inline] ext4_expand_extra_isize_ea+0x3f9/0x910 fs/ext4/xattr.c:2820 __ext4_expand_extra_isize+0xc6/0x120 fs/ext4/inode.c:5795 ext4_try_to_expand_extra_isize fs/ext4/inode.c:5838 [inline] __ext4_mark_inode_dirty+0x1a9/0x260 fs/ext4/inode.c:5916 ext4_evict_inode+0x22e/0x8d0 fs/ext4/inode.c:251 evict+0xcb/0x1d0 fs/inode.c:665 ext4_orphan_cleanup+0x12f/0x520 fs/ext4/orphan.c:474 __ext4_fill_super fs/ext4/super.c:5567 [inline] ext4_fill_super+0x2ac3/0x2f40 fs/ext4/super.c:5683 get_tree_bdev+0x179/0x290 fs/super.c:1319 vfs_get_tree+0x22/0xa0 fs/super.c:1520 do_new_mount fs/namespace.c:3335 [inline] path_mount+0x47e/0xb80 fs/namespace.c:3662 do_mount fs/namespace.c:3675 [inline] __do_sys_mount fs/namespace.c:3884 [inline] __se_sys_mount fs/namespace.c:3861 [inline] __x64_sys_mount+0x115/0x150 fs/namespace.c:3861 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3f/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x6f/0xd9 other info that might help us debug this: Chain exists of: &sbi->s_writepages_rwsem --> jbd2_handle --> &ei->xattr_sem Possible unsafe locking scenario: CPU0 CPU1 ---- ---- lock(&ei->xattr_sem); lock(jbd2_handle); lock(&ei->xattr_sem); rlock(&sbi->s_writepages_rwsem); *** DEADLOCK *** 3 locks held by syz.3.17/2880: #0: ffff8881073730e0 (&type->s_umount_key#24/1){+.+.}-{4:4}, at: alloc_super+0xd4/0x390 fs/super.c:228 #1: ffff888107373628 (sb_internal){.+.+}-{0:0}, at: evict+0xcb/0x1d0 fs/inode.c:665 #2: ffff88811745b968 (&ei->xattr_sem){++++}-{4:4}, at: ext4_write_trylock_xattr fs/ext4/xattr.h:162 [inline] #2: ffff88811745b968 (&ei->xattr_sem){++++}-{4:4}, at: ext4_try_to_expand_extra_isize fs/ext4/inode.c:5835 [inline] #2: ffff88811745b968 (&ei->xattr_sem){++++}-{4:4}, at: __ext4_mark_inode_dirty+0x16f/0x260 fs/ext4/inode.c:5916 stack backtrace: CPU: 1 PID: 2880 Comm: syz.3.17 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x5c/0xc0 lib/dump_stack.c:106 check_noncircular+0xf8/0x110 kernel/locking/lockdep.c:2188 check_prev_add kernel/locking/lockdep.c:3113 [inline] check_prevs_add kernel/locking/lockdep.c:3232 [inline] validate_chain kernel/locking/lockdep.c:3847 [inline] __lock_acquire+0x13fd/0x1c00 kernel/locking/lockdep.c:5088 lock_acquire kernel/locking/lockdep.c:5705 [inline] lock_acquire+0xcd/0x2c0 kernel/locking/lockdep.c:5670 percpu_down_read include/linux/percpu-rwsem.h:51 [inline] ext4_writepages_down_read fs/ext4/ext4.h:1691 [inline] ext4_writepages+0x7e/0x2a0 fs/ext4/inode.c:2791 do_writepages+0xce/0x1e0 mm/page-writeback.c:2551 __writeback_single_inode+0x42/0x3e0 fs/fs-writeback.c:1603 writeback_single_inode+0x90/0x150 fs/fs-writeback.c:1724 write_inode_now+0x71/0x90 fs/fs-writeback.c:2760 iput_final fs/inode.c:1776 [inline] iput.part.0+0x11e/0x230 fs/inode.c:1815 ext4_xattr_set_entry+0x289/0x1460 fs/ext4/xattr.c:1857 ext4_xattr_block_set+0x205/0x1000 fs/ext4/xattr.c:1956 ext4_xattr_move_to_block fs/ext4/xattr.c:2653 [inline] ext4_xattr_make_inode_space fs/ext4/xattr.c:2728 [inline] ext4_expand_extra_isize_ea+0x3f9/0x910 fs/ext4/xattr.c:2820 __ext4_expand_extra_isize+0xc6/0x120 fs/ext4/inode.c:5795 ext4_try_to_expand_extra_isize fs/ext4/inode.c:5838 [inline] __ext4_mark_inode_dirty+0x1a9/0x260 fs/ext4/inode.c:5916 ext4_evict_inode+0x22e/0x8d0 fs/ext4/inode.c:251 evict+0xcb/0x1d0 fs/inode.c:665 ext4_orphan_cleanup+0x12f/0x520 fs/ext4/orphan.c:474 __ext4_fill_super fs/ext4/super.c:5567 [inline] ext4_fill_super+0x2ac3/0x2f40 fs/ext4/super.c:5683 get_tree_bdev+0x179/0x290 fs/super.c:1319 vfs_get_tree+0x22/0xa0 fs/super.c:1520 do_new_mount fs/namespace.c:3335 [inline] path_mount+0x47e/0xb80 fs/namespace.c:3662 do_mount fs/namespace.c:3675 [inline] __do_sys_mount fs/namespace.c:3884 [inline] __se_sys_mount fs/namespace.c:3861 [inline] __x64_sys_mount+0x115/0x150 fs/namespace.c:3861 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3f/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x6f/0xd9 RIP: 0033:0x7f7ffa4ab34a Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7ffa319e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f7ffa319ef0 RCX: 00007f7ffa4ab34a RDX: 0000200000000180 RSI: 00002000000001c0 RDI: 00007f7ffa319eb0 RBP: 0000200000000180 R08: 00007f7ffa319ef0 R09: 0000000000800700 R10: 0000000000800700 R11: 0000000000000246 R12: 00002000000001c0 R13: 00007f7ffa319eb0 R14: 000000000000046f R15: 0000200000000680 EXT4-fs (loop3): 1 orphan inode deleted EXT4-fs (loop3): mounted filesystem 00000000-0000-0000-0000-000000000000 r/w without journal. Quota mode: none.