syzbot


kernel BUG in dequeue_rt_stack

Status: closed as invalid on 2024/09/13 11:13
Subsystems: kernel
[Documentation on labels]
First crash: 160d, last: 159d

Sample crash report:
------------[ cut here ]------------
kernel BUG at kernel/sched/rt.c:1035!
Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI
CPU: 0 UID: 0 PID: 5706 Comm: syz.3.82 Not tainted 6.11.0-rc4-next-20240822-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
RIP: 0010:dequeue_top_rt_rq kernel/sched/rt.c:1035 [inline]
RIP: 0010:dequeue_rt_stack+0xb93/0xbc0 kernel/sched/rt.c:1434
Code: 00 00 00 fc ff df e9 0d f5 ff ff 48 c7 c7 80 e0 7f 8e 48 89 de e8 dd b9 83 03 48 ba 00 00 00 00 00 fc ff df e9 fb fd ff ff 90 <0f> 0b f3 0f 1e fa 8b 74 24 10 f7 de 4c 89 f7 e8 59 93 f8 ff 48 ba
RSP: 0018:ffffc90004e7f170 EFLAGS: 00010046
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff816d5c0b
RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffff8881412821e0
RBP: 1ffff11017207d50 R08: ffff8881412821e7 R09: 1ffff1102825043c
R10: dffffc0000000000 R11: ffffed102825043d R12: ffff8880b903ea80
R13: 1ffff11017207e77 R14: ffff8880b903ea40 R15: ffff8880b903f3b8
FS:  00007fd0682d76c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b32708ff8 CR3: 000000005c75c000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 dequeue_rt_entity kernel/sched/rt.c:1455 [inline]
 dequeue_task_rt+0x12a/0x740 kernel/sched/rt.c:1491
 block_task kernel/sched/core.c:2079 [inline]
 __schedule+0x5d9/0x4b30 kernel/sched/core.c:6627
 __schedule_loop kernel/sched/core.c:6754 [inline]
 schedule+0x14b/0x320 kernel/sched/core.c:6769
 schedule_timeout+0xb0/0x310 kernel/time/timer.c:2559
 unix_wait_for_peer+0x250/0x340 net/unix/af_unix.c:1529
 unix_dgram_sendmsg+0x127f/0x1f80 net/unix/af_unix.c:2131
 sock_sendmsg_nosec net/socket.c:730 [inline]
 __sock_sendmsg+0x221/0x270 net/socket.c:745
 ____sys_sendmsg+0x525/0x7d0 net/socket.c:2597
 ___sys_sendmsg net/socket.c:2651 [inline]
 __sys_sendmmsg+0x3b1/0x740 net/socket.c:2737
 __do_sys_sendmmsg net/socket.c:2766 [inline]
 __se_sys_sendmmsg net/socket.c:2763 [inline]
 __x64_sys_sendmmsg+0xa0/0xb0 net/socket.c:2763
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fd067579e79
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:00007fd0682d7038 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: ffffffffffffffda RBX: 00007fd067715f80 RCX: 00007fd067579e79
RDX: 0000000000000318 RSI: 00000000200bd000 RDI: 0000000000000004
RBP: 00007fd0675e7916 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fd067715f80 R15: 00007fff3761a988
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:dequeue_top_rt_rq kernel/sched/rt.c:1035 [inline]
RIP: 0010:dequeue_rt_stack+0xb93/0xbc0 kernel/sched/rt.c:1434
Code: 00 00 00 fc ff df e9 0d f5 ff ff 48 c7 c7 80 e0 7f 8e 48 89 de e8 dd b9 83 03 48 ba 00 00 00 00 00 fc ff df e9 fb fd ff ff 90 <0f> 0b f3 0f 1e fa 8b 74 24 10 f7 de 4c 89 f7 e8 59 93 f8 ff 48 ba
RSP: 0018:ffffc90004e7f170 EFLAGS: 00010046
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff816d5c0b
RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffff8881412821e0
RBP: 1ffff11017207d50 R08: ffff8881412821e7 R09: 1ffff1102825043c
R10: dffffc0000000000 R11: ffffed102825043d R12: ffff8880b903ea80
R13: 1ffff11017207e77 R14: ffff8880b903ea40 R15: ffff8880b903f3b8
FS:  00007fd0682d76c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b32708ff8 CR3: 000000005c75c000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/08/22 11:56 linux-next 6a7917c89f21 ca02180f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in dequeue_rt_stack
2024/08/21 19:53 linux-next eb8c5ca373cb db5852f9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in dequeue_rt_stack
* Struck through repros no longer work on HEAD.