syzbot


BUG: sleeping function called from invalid context in get_signal

Status: upstream: reported on 2024/07/18 23:46
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+6aa87a8fac30c3c9f11a@syzkaller.appspotmail.com
First crash: 54d, last: 54d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [kernel?] BUG: sleeping function called from invalid context in get_signal 0 (1) 2024/07/18 23:46

Sample crash report:
BUG: sleeping function called from invalid context at include/linux/freezer.h:53
in_atomic(): 0, irqs_disabled(): 0, non_block: 0, pid: 9483, name: syz.2.933
preempt_count: 0, expected: 0
RCU nest depth: 1, expected: 0
INFO: lockdep is turned off.
CPU: 0 UID: 0 PID: 9483 Comm: syz.2.933 Not tainted 6.10.0-rc7-next-20240712-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:94 [inline]
 dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
 __might_resched+0x5d4/0x780 kernel/sched/core.c:8526
 try_to_freeze include/linux/freezer.h:53 [inline]
 get_signal+0x1a8/0x1740 kernel/signal.c:2702
 arch_do_signal_or_restart+0x96/0x830 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]
 __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
 syscall_exit_to_user_mode+0xc9/0x370 kernel/entry/common.c:218
 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f7d27f75bd9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007f7d279ff0f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: 0000000000000001 RBX: 00007f7d28103f68 RCX: 00007f7d27f75bd9
RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007f7d28103f6c
RBP: 00007f7d28103f60 R08: 7fffffffffffffff R09: 00007f7d279ff6c0
R10: ffffffffffffffff R11: 0000000000000246 R12: 00007f7d28103f6c
R13: 000000000000000b R14: 00007ffea17fd0c0 R15: 00007ffea17fd1a8
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/07/14 23:41 linux-next 3fe121b62282 eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: sleeping function called from invalid context in get_signal
* Struck through repros no longer work on HEAD.