syzbot


WARNING in signal_wake_up_state

Status: upstream: reported C repro on 2024/01/09 18:18
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+c6d438f2d77f96cae7c2@syzkaller.appspotmail.com
First crash: 336d, last: 102d
Cause bisection: introduced by (bisect log) :
commit f9010dbdce911ee1f1af1398a24b1f9f992e0080
Author: Mike Christie <michael.christie@oracle.com>
Date: Thu Jun 1 18:32:32 2023 +0000

  fork, vhost: Use CLONE_THREAD to fix freezer/ps regression

Crash: WARNING in signal_wake_up_state (log)
Repro: C syz .config
  
Fix bisection: fixed by (bisect log) :
commit 240a1853b4d2bce51e5cac9ba65cd646152ab6d6
Author: Mike Christie <michael.christie@oracle.com>
Date: Sat Mar 16 00:47:07 2024 +0000

  kernel: Remove signal hacks for vhost_tasks

  
Discussions (2)
Title Replies (including bot) Last reply
[syzbot] [kernel?] WARNING in signal_wake_up_state 4 (6) 2024/09/23 03:12
Re: [syzbot] [kernel?] KASAN: slab-use-after-free Read in kill_orphaned_pgrp (2) 5 (5) 2024/05/12 22:23
Last patch testing requests (9)
Created Duration User Patch Repo Result
2024/10/31 18:49 16m retest repro upstream report log
2024/06/04 11:33 20m retest repro upstream OK log
2024/06/04 11:33 29m retest repro upstream OK log
2024/06/04 09:21 20m retest repro upstream OK log
2024/06/04 09:21 20m retest repro upstream OK log
2024/06/04 09:21 21m retest repro upstream OK log
2024/06/04 09:21 14m retest repro upstream report log
2024/06/04 09:21 22m retest repro upstream OK log
2024/01/16 04:27 18m retest repro upstream report log
Fix bisection attempts (4)
Created Duration User Patch Repo Result
2024/09/22 16:13 10h57m bisect fix upstream OK (1) job log
2024/08/22 13:08 1h43m bisect fix upstream OK (0) job log log
2024/07/23 05:36 2h55m bisect fix upstream OK (0) job log log
2024/02/23 22:22 4h38m bisect fix upstream OK (0) job log log

Sample crash report:
process 'syz-executor651' launched './file0' with NULL argv: empty string added
process '/root/file0' started with executable stack
------------[ cut here ]------------
WARNING: CPU: 1 PID: 5082 at kernel/signal.c:762 signal_wake_up_state+0xec/0x120 kernel/signal.c:762
Modules linked in:
CPU: 1 PID: 5082 Comm: file0 Not tainted 6.9.0-rc7-syzkaller-00012-gdccb07f2914c #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
RIP: 0010:signal_wake_up_state+0xec/0x120 kernel/signal.c:762
Code: 10 e8 68 cb 39 00 5b 41 5e 41 5f 5d c3 cc cc cc cc e8 58 cb 39 00 48 89 df 5b 41 5e 41 5f 5d e9 4a 09 0a 00 e8 45 cb 39 00 90 <0f> 0b 90 eb a3 48 c7 c1 fc 2a a9 8f 80 e1 07 80 c1 03 38 c1 0f 8c
RSP: 0018:ffffc9000332f918 EFLAGS: 00010093
RAX: ffffffff815c3d3b RBX: ffff8880754e0000 RCX: ffff888029b88000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff815c3cd4 R09: fffff52000665f04
R10: dffffc0000000000 R11: fffff52000665f04 R12: ffff8880754e0000
R13: ffff888029b88908 R14: 0000000000000108 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS:  0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: 0000000000000000 CR3: 00000000225a4000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 signal_wake_up include/linux/sched/signal.h:448 [inline]
 zap_process fs/coredump.c:373 [inline]
 zap_threads fs/coredump.c:392 [inline]
 coredump_wait fs/coredump.c:410 [inline]
 do_coredump+0x8ec/0x2b50 fs/coredump.c:571
 get_signal+0x13fa/0x1740 kernel/signal.c:2896
 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:310
 exit_to_user_mode_loop kernel/entry/common.c:111 [inline]
 exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
 irqentry_exit_to_user_mode+0x79/0x280 kernel/entry/common.c:231
 exc_page_fault+0x577/0x8a0 arch/x86/mm/fault.c:1535
 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623
RIP: 0023:0x0
Code: Unable to access opcode bytes at 0xffffffffffffffd6.
RSP: 002b:00000000ff82ccc0 EFLAGS: 00010202
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>

Crashes (37):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/08 18:44 upstream dccb07f2914c 4cf3f9b3 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in signal_wake_up_state
2024/05/07 02:56 upstream ee5b455b0ada c035c6de .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in signal_wake_up_state
2024/04/21 11:02 upstream 977b1ef51866 af24b050 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in signal_wake_up_state
2024/04/09 06:58 upstream 480e035fc4c7 53df08b6 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in signal_wake_up_state
2024/04/07 05:08 upstream 480e035fc4c7 ca620dd8 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in signal_wake_up_state
2024/01/02 03:31 upstream 610a9b8f49fb fb427a07 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in signal_wake_up_state
2024/05/21 09:05 upstream 70ec81c2e2b4 c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in signal_wake_up_state
2024/05/20 22:24 upstream eb6a9339efeb c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in signal_wake_up_state
2024/05/13 00:33 upstream ba16c1cf11c9 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in signal_wake_up_state
2024/05/12 09:49 upstream cf87f46fd34d 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in signal_wake_up_state
2024/05/11 14:16 upstream cf87f46fd34d 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in signal_wake_up_state
2024/05/11 12:38 upstream cf87f46fd34d 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in signal_wake_up_state
2024/04/28 01:55 upstream 5d12ed4bea43 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in signal_wake_up_state
2024/04/25 09:53 upstream e88c4cfcb7b8 8bdc0f22 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in signal_wake_up_state
2024/04/25 01:07 upstream e88c4cfcb7b8 8bdc0f22 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in signal_wake_up_state
2024/04/24 13:46 upstream 9d1ddab261f3 21339d7b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in signal_wake_up_state
2024/04/23 23:28 upstream 71b1543c83d6 21339d7b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in signal_wake_up_state
2024/04/23 08:15 upstream 4d2008430ce8 21339d7b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in signal_wake_up_state
2024/04/22 15:45 upstream ed30a4a51bb1 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in signal_wake_up_state
2024/04/22 12:40 upstream ed30a4a51bb1 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in signal_wake_up_state
2024/04/22 05:13 upstream 3b68086599f8 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in signal_wake_up_state
2024/04/20 06:46 upstream 3cdb45594619 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in signal_wake_up_state
2024/04/14 01:14 upstream fe46a7dd189e c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in signal_wake_up_state
2024/04/12 21:42 upstream 480e035fc4c7 27de0a5c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in signal_wake_up_state
2024/04/09 14:45 upstream 480e035fc4c7 56086b24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in signal_wake_up_state
2024/04/09 03:09 upstream 480e035fc4c7 53df08b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in signal_wake_up_state
2024/04/08 11:30 upstream 480e035fc4c7 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in signal_wake_up_state
2024/04/05 05:42 upstream 480e035fc4c7 0ee3535e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in signal_wake_up_state
2024/04/04 18:10 upstream 480e035fc4c7 0ee3535e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in signal_wake_up_state
2024/04/04 07:34 upstream 480e035fc4c7 51c4dcff .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in signal_wake_up_state
2024/04/03 09:36 upstream 480e035fc4c7 7925100d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in signal_wake_up_state
2024/04/01 16:20 upstream 480e035fc4c7 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in signal_wake_up_state
2024/03/24 08:13 upstream 480e035fc4c7 0ea90952 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in signal_wake_up_state
2024/03/17 07:22 upstream 480e035fc4c7 d615901c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in signal_wake_up_state
2024/01/02 02:07 upstream 610a9b8f49fb fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in signal_wake_up_state
2024/05/20 07:30 upstream 61307b7be41a c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in signal_wake_up_state
2024/04/22 00:00 linux-next 7b4f2bc91c15 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in signal_wake_up_state
* Struck through repros no longer work on HEAD.