Re: [syzbot] [kernel?] WARNING in futex_pivot_pending

Edward Adam Davis <[email protected]>
Newsgroups gmane.linux.kernel
Message-ID <[email protected]>
#syz test

diff --git a/kernel/futex/core.c b/kernel/futex/core.c
index 128c5752f225..154140fb6081 100644
--- a/kernel/futex/core.c
+++ b/kernel/futex/core.c
@@ -1786,6 +1786,7 @@ static bool futex_pivot_pending(struct mm_struct *mm)
 	struct futex_mm_phash *mmph = &mm->futex.phash;
 	struct futex_private_hash *fph;
 
+	sched_annotate_sleep();
 	guard(mutex)(&mmph->lock);
 
 	if (!mmph->hash_new)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.