ci starts bisection 2025-11-13 00:50:48.938744992 +0000 UTC m=+39052.286300925 bisecting fixing commit since a2e94e80790bb103ca72f8a2991f43c80474a4b6 building syzkaller on bf27483f963359281b2d9b6d6efd36289f82e282 ensuring issue is reproducible on original commit a2e94e80790bb103ca72f8a2991f43c80474a4b6 testing commit a2e94e80790bb103ca72f8a2991f43c80474a4b6 gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5f3c3e5d34cbcd2e76d6f74c390837dc8932db2e542bc7b1ecd8252f47a1bc5a all runs: crashed: INFO: task hung in netfs_retry_writes representative crash: INFO: task hung in netfs_retry_writes, types: [HANG] check whether we can drop unnecessary instrumentation disabling configs for [locking atomic_sleep memleak ubsan bug_or_warning kasan], they are not needed testing commit a2e94e80790bb103ca72f8a2991f43c80474a4b6 gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5ed28570df2098d93d8ffc890af303abbc87dbed4dfda324bc62daeb8e18de9c all runs: crashed: INFO: task hung in netfs_retry_writes representative crash: INFO: task hung in netfs_retry_writes, types: [HANG] the bug reproduces without the instrumentation disabling configs for [bug_or_warning kasan locking atomic_sleep memleak ubsan], they are not needed kconfig minimization: base=4109 full=8498 leaves diff=2188 split chunks (needed=false): <2188> split chunk #0 of len 2188 into 5 parts testing without sub-chunk 1/5 disabling configs for [memleak ubsan bug_or_warning kasan locking atomic_sleep], they are not needed testing commit a2e94e80790bb103ca72f8a2991f43c80474a4b6 gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c2d010fa8d11de880efdd0910035bacf4f4b6600796b9b708208045269f0570f all runs: crashed: INFO: task hung in netfs_retry_writes representative crash: INFO: task hung in netfs_retry_writes, types: [HANG] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [memleak ubsan bug_or_warning kasan locking atomic_sleep], they are not needed testing commit a2e94e80790bb103ca72f8a2991f43c80474a4b6 gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d42738be02883e453ba5bcf6f04e4ebabcc1dabbb4f5594804155a0d5ec30337 all runs: crashed: INFO: task hung in netfs_retry_writes representative crash: INFO: task hung in netfs_retry_writes, types: [HANG] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [kasan locking atomic_sleep memleak ubsan bug_or_warning], they are not needed testing commit a2e94e80790bb103ca72f8a2991f43c80474a4b6 gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: bafb9fb22a7b4c1cec788fe1bbd6cee933f400715bcf6a968a839564079218ad all runs: crashed: INFO: task hung in netfs_retry_writes representative crash: INFO: task hung in netfs_retry_writes, types: [HANG] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [atomic_sleep memleak ubsan bug_or_warning kasan locking], they are not needed testing commit a2e94e80790bb103ca72f8a2991f43c80474a4b6 gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d121a2dd1eccaeab49caa8106bbc2c2362a1d5304c0ab0dc877b9c7a54583b44 all runs: crashed: INFO: task hung in netfs_retry_writes representative crash: INFO: task hung in netfs_retry_writes, types: [HANG] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [atomic_sleep memleak ubsan bug_or_warning kasan locking], they are not needed testing commit a2e94e80790bb103ca72f8a2991f43c80474a4b6 gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d3523f75350befcc7aa33c99ba511f6243003659613f1e3a005edd7bf79cf343 all runs: crashed: INFO: task hung in netfs_retry_writes representative crash: INFO: task hung in netfs_retry_writes, types: [HANG] the chunk can be dropped disabling configs for [memleak ubsan bug_or_warning kasan locking atomic_sleep], they are not needed testing current HEAD 24172e0d79900908cf5ebf366600616d29c9b417 testing commit 24172e0d79900908cf5ebf366600616d29c9b417 gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4c37de06e124ec87662758ff356dfa454340a1aad69da87405800a891ed9bfee all runs: OK false negative chance: 0.000 # git bisect start 24172e0d79900908cf5ebf366600616d29c9b417 a2e94e80790bb103ca72f8a2991f43c80474a4b6 Bisecting: 7794 revisions left to test after this (roughly 13 steps) [58809f614e0e3f4e12b489bddf680bfeb31c0a20] Merge tag 'drm-next-2025-10-01' of https://gitlab.freedesktop.org/drm/kernel determine whether the revision contains the guilty commit revision a2e94e80790bb103ca72f8a2991f43c80474a4b6 crashed and is reachable testing commit 58809f614e0e3f4e12b489bddf680bfeb31c0a20 gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2d769832857b0cd6c78b49b5e1e34c1b937900ca08939c7593a5370c937433a2 all runs: crashed: INFO: task hung in netfs_retry_writes representative crash: INFO: task hung in netfs_retry_writes, types: [HANG] # git bisect good 58809f614e0e3f4e12b489bddf680bfeb31c0a20 Bisecting: 3900 revisions left to test after this (roughly 12 steps) [67da125e30ab17b5b8874eb32882e81cdec17ec8] Merge tag 'rcu.2025.09.26a' of git://git.kernel.org/pub/scm/linux/kernel/git/rcu/linux determine whether the revision contains the guilty commit revision a2e94e80790bb103ca72f8a2991f43c80474a4b6 crashed and is reachable testing commit 67da125e30ab17b5b8874eb32882e81cdec17ec8 gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2baee0dcb20cfa0df2df7f33cd667dea98496403bc58d743e0f5d72d9884bbe9 all runs: crashed: INFO: task hung in netfs_retry_writes representative crash: INFO: task hung in netfs_retry_writes, types: [HANG] # git bisect good 67da125e30ab17b5b8874eb32882e81cdec17ec8 Bisecting: 1960 revisions left to test after this (roughly 11 steps) [7c8dcac8d72da94328f4de7bf98320b75710da1f] Merge tag 'v6.18-p2' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 determine whether the revision contains the guilty commit revision a2e94e80790bb103ca72f8a2991f43c80474a4b6 crashed and is reachable testing commit 7c8dcac8d72da94328f4de7bf98320b75710da1f gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 55c995459f1e3be47aaaea3d29996551effa84074db6676e84a1bb7cb64cfc61 all runs: crashed: INFO: task hung in netfs_retry_writes representative crash: INFO: task hung in netfs_retry_writes, types: [HANG] # git bisect good 7c8dcac8d72da94328f4de7bf98320b75710da1f Bisecting: 978 revisions left to test after this (roughly 10 steps) [ea0bdf2b945e91137cc465d3833aeb659ba93d79] Merge tag 'cxl-fixes-6.18-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl determine whether the revision contains the guilty commit revision 7c8dcac8d72da94328f4de7bf98320b75710da1f crashed and is reachable testing commit ea0bdf2b945e91137cc465d3833aeb659ba93d79 gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2785d7651b21f7e39af9396f64e28e1af88b54d32e6608f9bbfd751c2a836fe9 all runs: OK false negative chance: 0.000 # git bisect bad ea0bdf2b945e91137cc465d3833aeb659ba93d79 Bisecting: 495 revisions left to test after this (roughly 9 steps) [1e5d41b981bc550f41b198706e259a45686f3b5a] Merge tag 'drm-fixes-2025-10-11' of https://gitlab.freedesktop.org/drm/kernel determine whether the revision contains the guilty commit revision 67da125e30ab17b5b8874eb32882e81cdec17ec8 crashed and is reachable testing commit 1e5d41b981bc550f41b198706e259a45686f3b5a gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 50e9c332d0f0b8e30c9b167941671b747953d9fadd2c3eb797619634e927e8e5 all runs: OK false negative chance: 0.000 # git bisect bad 1e5d41b981bc550f41b198706e259a45686f3b5a Bisecting: 213 revisions left to test after this (roughly 8 steps) [ec714e371f22f716a04e6ecb2a24988c92b26911] Merge tag 'perf-tools-for-v6.18-1-2025-10-08' of git://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools determine whether the revision contains the guilty commit revision 58809f614e0e3f4e12b489bddf680bfeb31c0a20 crashed and is reachable testing commit ec714e371f22f716a04e6ecb2a24988c92b26911 gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: fbb68d6a58a47506be1bd31c1c900a273b8e9cda9e2312d97a00527fe37983ae all runs: crashed: INFO: task hung in netfs_retry_writes representative crash: INFO: task hung in netfs_retry_writes, types: [HANG] # git bisect good ec714e371f22f716a04e6ecb2a24988c92b26911 Bisecting: 109 revisions left to test after this (roughly 7 steps) [9976831f401eeb302d699b2d37624153d7cd2892] Merge tag 'gpio-fixes-for-v6.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux determine whether the revision contains the guilty commit revision 58809f614e0e3f4e12b489bddf680bfeb31c0a20 crashed and is reachable testing commit 9976831f401eeb302d699b2d37624153d7cd2892 gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a4870f19aad87e723d7e3198e59d8ff192ca5b27199cb1da2d3569c656a5a1a1 all runs: OK false negative chance: 0.000 # git bisect bad 9976831f401eeb302d699b2d37624153d7cd2892 Bisecting: 49 revisions left to test after this (roughly 6 steps) [18a7e218cfcdca6666e1f7356533e4c988780b57] Merge tag 'net-6.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net determine whether the revision contains the guilty commit revision ec714e371f22f716a04e6ecb2a24988c92b26911 crashed and is reachable testing commit 18a7e218cfcdca6666e1f7356533e4c988780b57 gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9b3f7863502a95875dd0a2bcf1ed16ee0ca83f985318c6f6afaf09a413bfd9b9 all runs: crashed: INFO: task hung in netfs_retry_writes representative crash: INFO: task hung in netfs_retry_writes, types: [HANG] # git bisect good 18a7e218cfcdca6666e1f7356533e4c988780b57 Bisecting: 23 revisions left to test after this (roughly 5 steps) [0ae452440cb9fee9079dc925f40cd824c1a9de2a] Merge tag 'v6.18-p3' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 determine whether the revision contains the guilty commit revision ec714e371f22f716a04e6ecb2a24988c92b26911 crashed and is reachable testing commit 0ae452440cb9fee9079dc925f40cd824c1a9de2a gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4bd2dac84c90557fd963de8bc73fbd41f61744d1b630ee662ff239cd91c3d030 all runs: OK false negative chance: 0.000 # git bisect bad 0ae452440cb9fee9079dc925f40cd824c1a9de2a Bisecting: 15 revisions left to test after this (roughly 4 steps) [80b7065ec19485943fa00d60f27b447c3f17069c] Merge tag '9p-for-6.18-rc1' of https://github.com/martinetd/linux determine whether the revision contains the guilty commit revision ec714e371f22f716a04e6ecb2a24988c92b26911 crashed and is reachable testing commit 80b7065ec19485943fa00d60f27b447c3f17069c gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 997de7a373baa1214ca13ce3af6ac26ea8362d6e5e8f5300e0be2a5978ef628f all runs: OK false negative chance: 0.000 # git bisect bad 80b7065ec19485943fa00d60f27b447c3f17069c Bisecting: 4 revisions left to test after this (roughly 2 steps) [674b56aa57f9379854cb6798c3bbcef7e7b51ab7] net/9p: fix double req put in p9_fd_cancelled determine whether the revision contains the guilty commit checking the merge base 8f5ae30d69d7543eee0d70083daf4de8fe15d585 no existing result, test the revision testing commit 8f5ae30d69d7543eee0d70083daf4de8fe15d585 gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ed829ce13bd781b2e63aa116eaa0964ffadb83cc454ec48757a0052ed551b796 all runs: crashed: INFO: task hung in netfs_retry_writes representative crash: INFO: task hung in netfs_retry_writes, types: [HANG] testing commit 674b56aa57f9379854cb6798c3bbcef7e7b51ab7 gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ad6021ad1e297cfb8bedf43089bc663526d41279120778856424c5e39199fe1c all runs: OK false negative chance: 0.000 # git bisect bad 674b56aa57f9379854cb6798c3bbcef7e7b51ab7 Bisecting: 2 revisions left to test after this (roughly 1 step) [0172a934747f21d2fca4870ec84518c97f5178fc] fs/9p: Invalidate dentry if inode type change detected in cached mode determine whether the revision contains the guilty commit revision 8f5ae30d69d7543eee0d70083daf4de8fe15d585 crashed and is reachable testing commit 0172a934747f21d2fca4870ec84518c97f5178fc gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 78b8076431681123102d4f1f7089e022125f75eba6fccc0a3eba29f3411cd033 all runs: OK false negative chance: 0.000 # git bisect bad 0172a934747f21d2fca4870ec84518c97f5178fc Bisecting: 0 revisions left to test after this (roughly 0 steps) [290434474c332a2ba9c8499fe699c7f2e1153280] fs/9p: Refresh metadata in d_revalidate for uncached mode too determine whether the revision contains the guilty commit revision 8f5ae30d69d7543eee0d70083daf4de8fe15d585 crashed and is reachable testing commit 290434474c332a2ba9c8499fe699c7f2e1153280 gcc compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: da2ed183fed3527ae97b98601ddaaacd0d8d3fb39104ecfa70197fcf9b47215e all runs: OK false negative chance: 0.000 # git bisect bad 290434474c332a2ba9c8499fe699c7f2e1153280 290434474c332a2ba9c8499fe699c7f2e1153280 is the first bad commit commit 290434474c332a2ba9c8499fe699c7f2e1153280 Author: Tingmao Wang Date: Sun Apr 6 17:18:42 2025 +0100 fs/9p: Refresh metadata in d_revalidate for uncached mode too Currently if another process keeps a file open, due to existing dentry in the dcache, other processes will not see updated metadata of that file if it is changed on the server, even in uncached mode. This can also manifest as -ENODATA when reading a file that has shrunk on the server (even if it's re-opened in another process), or -ENOTSUPP if the file has changed type (e.g. regular file to directory) on the server. We can end up in a situation where both `readdir` or `read` fails until the file is closed by all processes using it. This commit fixes that, and invalidates the dentry altogether if the inode type is changed (for uncached mode). Signed-off-by: Tingmao Wang Message-ID: Signed-off-by: Dominique Martinet fs/9p/vfs_dentry.c | 11 ++++++++++- fs/9p/vfs_inode.c | 8 +++++++- fs/9p/vfs_inode_dotl.c | 8 +++++++- 3 files changed, 24 insertions(+), 3 deletions(-) accumulated error probability: 0.00 culprit signature: da2ed183fed3527ae97b98601ddaaacd0d8d3fb39104ecfa70197fcf9b47215e parent signature: ed829ce13bd781b2e63aa116eaa0964ffadb83cc454ec48757a0052ed551b796 revisions tested: 22, total time: 8h42m4.841497414s (build: 4h53m1.884657147s, test: 3h14m42.383353998s) first good commit: 290434474c332a2ba9c8499fe699c7f2e1153280 fs/9p: Refresh metadata in d_revalidate for uncached mode too recipients (to): ["asmadeus@codewreck.org" "asmadeus@codewreck.org" "ericvh@kernel.org" "lucho@ionkov.net" "m@maowtm.org" "v9fs@lists.linux.dev"] recipients (cc): ["linux-kernel@vger.kernel.org" "linux_oss@crudebyte.com"]