diff -up ./kernel/sched/wait.c.rd2 ./kernel/sched/wait.c --- ./kernel/sched/wait.c.rd2 2024-05-17 20:42:39.534096198 +0900 +++ ./kernel/sched/wait.c 2024-05-17 20:46:21.977210958 +0900 @@ -75,6 +75,11 @@ static int __wake_up_common(struct wait_ { wait_queue_entry_t *curr, *next; + if (!wq_head) { + printk(KERN_WARNING "%s: wq_head=%pS is NULL, returning immediately\n", __func__, wq_head); + return nr_exclusive; + } + lockdep_assert_held(&wq_head->lock); curr = list_first_entry(&wq_head->head, wait_queue_entry_t, entry);