syzbot


INFO: rcu detected stall in do_signal (4)

Status: auto-closed as invalid on 2022/05/09 06:50
Reported-by: syzbot+b092ac47b6897ab77774@syzkaller.appspotmail.com
First crash: 1091d, last: 1049d
Similar bugs (10)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in do_signal (3) cgroups mm 2 1816d 1816d 0/28 closed as invalid on 2019/12/04 14:04
linux-4.19 INFO: rcu detected stall in do_signal (2) 1 1776d 1776d 0/1 auto-closed as invalid on 2020/05/11 22:29
upstream INFO: rcu detected stall in do_signal kernel 2 2215d 2234d 0/28 auto-closed as invalid on 2019/04/28 15:41
linux-4.14 INFO: rcu detected stall in do_signal (2) 1 1360d 1360d 0/1 auto-closed as invalid on 2021/07/02 05:05
linux-4.19 INFO: rcu detected stall in do_signal 1 2038d 2038d 0/1 auto-closed as invalid on 2019/10/23 10:40
linux-4.14 INFO: rcu detected stall in do_signal 7 1487d 1801d 0/1 auto-closed as invalid on 2021/02/24 19:41
linux-4.19 INFO: rcu detected stall in do_signal (3) 6 1324d 1626d 0/1 auto-closed as invalid on 2021/08/06 21:07
upstream INFO: rcu detected stall in do_signal (2) mm 3 1821d 1821d 0/28 closed as invalid on 2019/11/29 14:24
upstream INFO: rcu detected stall in do_signal (4) kernel C done error 30 1570d 1797d 0/28 closed as invalid on 2022/02/08 10:44
linux-4.19 BUG: soft lockup in do_signal 1 772d 772d 0/1 auto-obsoleted due to no activity on 2023/02/09 18:34

Sample crash report:
cgroup: fork rejected by pids controller in /system.slice/ssh.service
ieee802154 phy0 wpan0: encryption failed: -22
ieee802154 phy1 wpan1: encryption failed: -22
ieee802154 phy0 wpan0: encryption failed: -22
ieee802154 phy1 wpan1: encryption failed: -22
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	(detected by 0, t=10502 jiffies, g=69929, q=23906)
rcu: All QSes seen, last rcu_preempt kthread activity 449 (4295018918-4295018469), jiffies_till_next_fqs=1, root ->qsmask 0x0
syz-executor.1  R  running task    28744  5914   3805 0x80000000
Call Trace:
 <IRQ>
 sched_show_task.cold+0x332/0x396 kernel/sched/core.c:5337
 print_other_cpu_stall kernel/rcu/tree.c:1430 [inline]
 check_cpu_stall kernel/rcu/tree.c:1557 [inline]
 __rcu_pending kernel/rcu/tree.c:3293 [inline]
 rcu_pending kernel/rcu/tree.c:3336 [inline]
 rcu_check_callbacks.cold+0xb37/0xe19 kernel/rcu/tree.c:2682
 update_process_times+0x2a/0x70 kernel/time/timer.c:1650
 tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:168
 tick_sched_timer+0xfc/0x290 kernel/time/tick-sched.c:1278
 __run_hrtimer kernel/time/hrtimer.c:1465 [inline]
 __hrtimer_run_queues+0x3f6/0xe60 kernel/time/hrtimer.c:1527
 hrtimer_interrupt+0x326/0x9e0 kernel/time/hrtimer.c:1585
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1071 [inline]
 smp_apic_timer_interrupt+0x10c/0x550 arch/x86/kernel/apic/apic.c:1096
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894
 </IRQ>
RIP: 0010:__sanitizer_cov_trace_pc+0x22/0x50 kernel/kcov.c:101
Code: 90 90 90 90 90 90 90 90 48 8b 34 24 65 48 8b 04 25 c0 df 01 00 65 8b 15 cc 59 9f 7e 81 e2 00 01 1f 00 75 2b 8b 90 60 13 00 00 <83> fa 02 75 20 48 8b 88 68 13 00 00 8b 80 64 13 00 00 48 8b 11 48
RSP: 0018:ffff88822b17f6d8 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: ffff88822b170280 RBX: ffffea0002a84600 RCX: ffffffff81941fea
RDX: 0000000000000000 RSI: ffffffff81942084 RDI: 0000000000000001
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: ffffea0002a84600 R15: 00007f282b21e000
 __read_once_size include/linux/compiler.h:263 [inline]
 PageTail include/linux/page-flags.h:151 [inline]
 PageCompound include/linux/page-flags.h:156 [inline]
 PageHuge+0xd4/0x160 mm/hugetlb.c:1374
 page_remove_file_rmap+0x3e/0xa30 mm/rmap.c:1215
 page_remove_rmap+0xe5/0x120 mm/rmap.c:1297
 zap_pte_range mm/memory.c:1350 [inline]
 zap_pmd_range mm/memory.c:1463 [inline]
 zap_pud_range mm/memory.c:1492 [inline]
 zap_p4d_range mm/memory.c:1513 [inline]
 unmap_page_range+0x147d/0x2c50 mm/memory.c:1534
 unmap_single_vma+0x198/0x300 mm/memory.c:1579
 unmap_vmas+0xa9/0x180 mm/memory.c:1609
 exit_mmap+0x2b9/0x530 mm/mmap.c:3093
 __mmput kernel/fork.c:1016 [inline]
 mmput+0x14e/0x4a0 kernel/fork.c:1037
 exit_mm kernel/exit.c:549 [inline]
 do_exit+0xaec/0x2be0 kernel/exit.c:857
 do_group_exit+0x125/0x310 kernel/exit.c:967
 get_signal+0x3f2/0x1f70 kernel/signal.c:2589
 do_signal+0x8f/0x1670 arch/x86/kernel/signal.c:799
 exit_to_usermode_loop+0x204/0x2a0 arch/x86/entry/common.c:163
 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:271 [inline]
 do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f282b7a3e99
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 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f282a0d7168 EFLAGS: 00000246 ORIG_RAX: 0000000000000039
RAX: fffffffffffffff5 RBX: 00007f282b8b7100 RCX: 00007f282b7a3e99
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007f282b7fdff1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffca158769f R14: 00007f282a0d7300 R15: 0000000000022000
rcu: rcu_preempt kthread starved for 449 jiffies! g69929 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1
rcu: RCU grace-period kthread stack dump:
rcu_preempt     R  running task    29208    10      2 0x80000000
Call Trace:
 context_switch kernel/sched/core.c:2828 [inline]
 __schedule+0x887/0x2040 kernel/sched/core.c:3517
 schedule+0x8d/0x1b0 kernel/sched/core.c:3561
 schedule_timeout+0x4cf/0xfe0 kernel/time/timer.c:1818
 rcu_gp_kthread+0xdad/0x21c0 kernel/rcu/tree.c:2202
 kthread+0x33f/0x460 kernel/kthread.c:259
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415
ieee802154 phy0 wpan0: encryption failed: -22
ieee802154 phy1 wpan1: encryption failed: -22
----------------
Code disassembly (best guess):
   0:	90                   	nop
   1:	90                   	nop
   2:	90                   	nop
   3:	90                   	nop
   4:	90                   	nop
   5:	90                   	nop
   6:	90                   	nop
   7:	90                   	nop
   8:	48 8b 34 24          	mov    (%rsp),%rsi
   c:	65 48 8b 04 25 c0 df 	mov    %gs:0x1dfc0,%rax
  13:	01 00
  15:	65 8b 15 cc 59 9f 7e 	mov    %gs:0x7e9f59cc(%rip),%edx        # 0x7e9f59e8
  1c:	81 e2 00 01 1f 00    	and    $0x1f0100,%edx
  22:	75 2b                	jne    0x4f
  24:	8b 90 60 13 00 00    	mov    0x1360(%rax),%edx
* 2a:	83 fa 02             	cmp    $0x2,%edx <-- trapping instruction
  2d:	75 20                	jne    0x4f
  2f:	48 8b 88 68 13 00 00 	mov    0x1368(%rax),%rcx
  36:	8b 80 64 13 00 00    	mov    0x1364(%rax),%eax
  3c:	48 8b 11             	mov    (%rcx),%rdx
  3f:	48                   	rex.W

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/01/09 06:50 linux-4.19.y 3f8a27f9e27b 2ca0d385 .config console log report info ci2-linux-4-19 INFO: rcu detected stall in do_signal
2021/12/31 18:25 linux-4.19.y 3f8a27f9e27b 36bd2e48 .config console log report info ci2-linux-4-19 INFO: rcu detected stall in do_signal
2021/11/28 13:43 linux-4.19.y 3f8a27f9e27b 63eeac02 .config console log report info ci2-linux-4-19 INFO: rcu detected stall in do_signal
* Struck through repros no longer work on HEAD.