Hello,
syzbot found the following issue on:
HEAD commit: 72244eab0dad Linux 5.15.170
git tree: linux-5.15.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=17384ea7980000
kernel config:
https://syzkaller.appspot.com/x/.config?x=def55f6ee76325cd
dashboard link:
https://syzkaller.appspot.com/bug?extid=182f4192f3b11787b0b3
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
Unfortunately, I don't have any reproducer for this issue yet.
Downloadable assets:
disk image:
https://storage.googleapis.com/syzbot-assets/8aa1e6d5dd83/disk-72244eab.raw.xz
vmlinux:
https://storage.googleapis.com/syzbot-assets/a87d88d4d204/vmlinux-72244eab.xz
kernel image:
https://storage.googleapis.com/syzbot-assets/af75c47a06ad/bzImage-72244eab.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+182f41...@syzkaller.appspotmail.com
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 0-...!: (2 ticks this GP) idle=6a1/1/0x4000000000000000 softirq=6842/6842 fqs=35
(detected by 1, t=10502 jiffies, g=7785, q=628)
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 26 Comm: kauditd Not tainted 5.15.170-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:__lock_release kernel/locking/lockdep.c:5300 [inline]
RIP: 0010:lock_release+0x249/0x9a0 kernel/locking/lockdep.c:5643
Code: f0 0a 00 00 4c 63 e3 41 83 fc 31 0f 83 e9 05 00 00 4f 8d 2c a4 4f 8d 3c ee 4c 89 ff 48 8b 74 24 20 e8 ab 3e d1 08 89 5c 24 44 <89> da 85 c0 0f 84 12 02 00 00 4d 85 ff 0f 84 26 03 00 00 49 8d 5f
RSP: 0018:ffffc90000007b80 EFLAGS: 00000046
RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffffc90000007c03
RDX: 1ffff92000000f80 RSI: ffffffff8c91fc60 RDI: ffff888017d9c698
RBP: ffffc90000007cb0 R08: dffffc0000000000 R09: fffffbfff1bd2cce
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001
R13: 0000000000000005 R14: ffff888017d9c670 R15: ffff888017d9c698
FS: 0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c2ec633 CR3: 000000007981f000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<NMI>
</NMI>
<IRQ>
rcu_read_unlock include/linux/rcupdate.h:772 [inline]
advance_sched+0x7d4/0x940 net/sched/sch_taprio.c:771
__run_hrtimer kernel/time/hrtimer.c:1688 [inline]
__hrtimer_run_queues+0x598/0xcf0 kernel/time/hrtimer.c:1752
hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1814
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1097 [inline]
__sysvec_apic_timer_interrupt+0x13b/0x4b0 arch/x86/kernel/apic/apic.c:1114
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1108
</IRQ>
<TASK>
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:console_unlock+0xe53/0x12b0 kernel/printk/printk.c:2749
Code: 00 48 83 7c 24 18 00 75 19 e8 59 06 1a 00 eb 18 e8 52 06 1a 00 e8 6d b1 cd 08 48 83 7c 24 18 00 74 e7 e8 40 06 1a 00 fb 31 ff <44> 89 f6 e8 95 09 1a 00 31 db 45 85 f6 0f 95 c0 89 c1 0a 4c 24 17
RSP: 0018:ffffc90000e1f920 EFLAGS: 00000246
RAX: ffffffff81666d80 RBX: 0000000000000000 RCX: ffff888017d9bb80
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000e1fbb0 R08: ffffffff81666d4b R09: fffffbfff20ec621
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffffffff1a4c62e
R13: ffffffff8d2631a8 R14: 0000000000000000 R15: dffffc0000000000
vprintk_emit+0xbf/0x150 kernel/printk/printk.c:2274
_printk+0xd1/0x120 kernel/printk/printk.c:2299
kauditd_printk_skb kernel/audit.c:549 [inline]
kauditd_hold_skb+0x1b5/0x200 kernel/audit.c:584
kauditd_send_queue+0x2a3/0x2f0 kernel/audit.c:769
kauditd_thread+0x6fb/0xae0 kernel/audit.c:893
kthread+0x3f6/0x4f0 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
</TASK>
rcu: rcu_preempt kthread starved for 9900 jiffies! g7785 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1
rcu: Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior.
rcu: RCU grace-period kthread stack dump:
task:rcu_preempt state:R running task stack:26240 pid: 15 ppid: 2 flags:0x00004000
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5027 [inline]
__schedule+0x12c4/0x45b0 kernel/sched/core.c:6373
schedule+0x11b/0x1f0 kernel/sched/core.c:6456
schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1914
rcu_gp_fqs_loop+0x2bf/0x1080 kernel/rcu/tree.c:1972
rcu_gp_kthread+0xa4/0x360 kernel/rcu/tree.c:2145
kthread+0x3f6/0x4f0 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
</TASK>
rcu: Stack dump where RCU GP kthread last ran:
NMI backtrace for cpu 1
CPU: 1 PID: 4285 Comm: kworker/1:9 Not tainted 5.15.170-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: events bpf_prog_free_deferred
Call Trace:
<IRQ>
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106
nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62
trigger_single_cpu_backtrace include/linux/nmi.h:166 [inline]
rcu_check_gp_kthread_starvation+0x1d2/0x240 kernel/rcu/tree_stall.h:487
print_other_cpu_stall+0x137a/0x14d0 kernel/rcu/tree_stall.h:592
check_cpu_stall kernel/rcu/tree_stall.h:745 [inline]
rcu_pending kernel/rcu/tree.c:3932 [inline]
rcu_sched_clock_irq+0xa38/0x1150 kernel/rcu/tree.c:2619
update_process_times+0x196/0x200 kernel/time/timer.c:1818
tick_sched_handle kernel/time/tick-sched.c:254 [inline]
tick_sched_timer+0x386/0x550 kernel/time/tick-sched.c:1473
__run_hrtimer kernel/time/hrtimer.c:1688 [inline]
__hrtimer_run_queues+0x55b/0xcf0 kernel/time/hrtimer.c:1752
hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1814
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1097 [inline]
__sysvec_apic_timer_interrupt+0x13b/0x4b0 arch/x86/kernel/apic/apic.c:1114
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1108
</IRQ>
<TASK>
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:csd_lock_wait kernel/smp.c:440 [inline]
RIP: 0010:smp_call_function_many_cond+0xaa1/0xd90 kernel/smp.c:969
Code: 44 89 fe 83 e6 01 31 ff e8 5c d5 0b 00 41 83 e7 01 75 07 e8 f1 d1 0b 00 eb 41 f3 90 48 b8 00 00 00 00 00 fc ff df 0f b6 04 03 <84> c0 75 11 41 f7 45 00 01 00 00 00 74 1e e8 cc d1 0b 00 eb db 44
RSP: 0018:ffffc90003197880 EFLAGS: 00000293
RAX: 0000000000000000 RBX: 1ffff11017208541 RCX: ffff888028053b80
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc900031979b0 R08: ffffffff8174a1c4 R09: fffffbfff20ec621
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: ffff8880b9042a08 R14: ffff8880b913b380 R15: 0000000000000001
on_each_cpu_cond_mask+0x3b/0x80 kernel/smp.c:1135
on_each_cpu include/linux/smp.h:71 [inline]
flush_tlb_kernel_range+0x197/0x230 arch/x86/mm/tlb.c:1033
__purge_vmap_area_lazy+0x15ae/0x1740 mm/vmalloc.c:1704
_vm_unmap_aliases+0x453/0x4e0 mm/vmalloc.c:2107
vm_remove_mappings mm/vmalloc.c:2584 [inline]
__vunmap+0x72e/0xa20 mm/vmalloc.c:2611
bpf_jit_binary_free kernel/bpf/core.c:914 [inline]
bpf_jit_free+0x92/0x180 kernel/bpf/core.c:927
process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310
worker_thread+0xaca/0x1280 kernel/workqueue.c:2457
kthread+0x3f6/0x4f0 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
</TASK>
watchdog: BUG: soft lockup - CPU#1 stuck for 246s! [kworker/1:9:4285]
Modules linked in:
irq event stamp: 71652
hardirqs last enabled at (71651): [<ffffffff8a400d06>] asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
hardirqs last disabled at (71652): [<ffffffff8a34123a>] sysvec_apic_timer_interrupt+0xa/0xc0 arch/x86/kernel/apic/apic.c:1108
softirqs last enabled at (22022): [<ffffffff814d9907>] __do_softirq kernel/softirq.c:592 [inline]
softirqs last enabled at (22022): [<ffffffff814d9907>] invoke_softirq kernel/softirq.c:432 [inline]
softirqs last enabled at (22022): [<ffffffff814d9907>] __irq_exit_rcu+0x157/0x240 kernel/softirq.c:641
softirqs last disabled at (21933): [<ffffffff814d9907>] __do_softirq kernel/softirq.c:592 [inline]
softirqs last disabled at (21933): [<ffffffff814d9907>] invoke_softirq kernel/softirq.c:432 [inline]
softirqs last disabled at (21933): [<ffffffff814d9907>] __irq_exit_rcu+0x157/0x240 kernel/softirq.c:641
CPU: 1 PID: 4285 Comm: kworker/1:9 Not tainted 5.15.170-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: events bpf_prog_free_deferred
RIP: 0010:csd_lock_wait kernel/smp.c:440 [inline]
RIP: 0010:smp_call_function_many_cond+0xaaf/0xd90 kernel/smp.c:969
Code: 83 e7 01 75 07 e8 f1 d1 0b 00 eb 41 f3 90 48 b8 00 00 00 00 00 fc ff df 0f b6 04 03 84 c0 75 11 41 f7 45 00 01 00 00 00 74 1e <e8> cc d1 0b 00 eb db 44 89 e9 80 e1 07 80 c1 03 38 c1 7c e2 4c 89
RSP: 0018:ffffc90003197880 EFLAGS: 00000202
RAX: 0000000000000000 RBX: 1ffff11017208541 RCX: ffff888028053b80
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc900031979b0 R08: ffffffff8174a1c4 R09: fffffbfff20ec621
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: ffff8880b9042a08 R14: ffff8880b913b380 R15: 0000000000000001
FS: 0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000021000000 CR3: 0000000065158000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<IRQ>
</IRQ>
<TASK>
on_each_cpu_cond_mask+0x3b/0x80 kernel/smp.c:1135
on_each_cpu include/linux/smp.h:71 [inline]
flush_tlb_kernel_range+0x197/0x230 arch/x86/mm/tlb.c:1033
__purge_vmap_area_lazy+0x15ae/0x1740 mm/vmalloc.c:1704
_vm_unmap_aliases+0x453/0x4e0 mm/vmalloc.c:2107
vm_remove_mappings mm/vmalloc.c:2584 [inline]
__vunmap+0x72e/0xa20 mm/vmalloc.c:2611
bpf_jit_binary_free kernel/bpf/core.c:914 [inline]
bpf_jit_free+0x92/0x180 kernel/bpf/core.c:927
process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310
worker_thread+0xaca/0x1280 kernel/workqueue.c:2457
kthread+0x3f6/0x4f0 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
</TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 26 Comm: kauditd Not tainted 5.15.170-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:_raw_spin_unlock_irqrestore+0x29/0x130 kernel/locking/spinlock.c:193
Code: 00 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 e4 e0 48 83 ec 60 49 89 f7 48 89 fb 65 48 8b 04 25 28 00 00 00 48 89 44 24 40 <49> bc 00 00 00 00 00 fc ff df 4c 8d 74 24 20 48 c7 04 24 b3 8a b5
RSP: 0018:ffffc90000007cc0 EFLAGS: 00000086
RAX: 27469b0a0ddea900 RBX: ffff8880b902a200 RCX: 0000000000000001
RDX: 0000000000010000 RSI: 0000000000000046 RDI: ffff8880b902a200
RBP: ffffc90000007d50 R08: ffffffff816f7810 R09: fffffbfff1bd2cce
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880b902a200
R13: ffffffff8881a840 R14: ffff88807bee8b40 R15: 0000000000000046
FS: 0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c2ec633 CR3: 000000007981f000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<NMI>
</NMI>
<IRQ>
__run_hrtimer kernel/time/hrtimer.c:1684 [inline]
__hrtimer_run_queues+0x48c/0xcf0 kernel/time/hrtimer.c:1752
hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1814
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1097 [inline]
__sysvec_apic_timer_interrupt+0x13b/0x4b0 arch/x86/kernel/apic/apic.c:1114
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1108
</IRQ>
<TASK>
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:console_unlock+0xe53/0x12b0 kernel/printk/printk.c:2749
Code: 00 48 83 7c 24 18 00 75 19 e8 59 06 1a 00 eb 18 e8 52 06 1a 00 e8 6d b1 cd 08 48 83 7c 24 18 00 74 e7 e8 40 06 1a 00 fb 31 ff <44> 89 f6 e8 95 09 1a 00 31 db 45 85 f6 0f 95 c0 89 c1 0a 4c 24 17
RSP: 0018:ffffc90000e1f920 EFLAGS: 00000246
RAX: ffffffff81666d80 RBX: 0000000000000000 RCX: ffff888017d9bb80
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000e1fbb0 R08: ffffffff81666d4b R09: fffffbfff20ec621
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffffffff1a4c62e
R13: ffffffff8d2631a8 R14: 0000000000000000 R15: dffffc0000000000
vprintk_emit+0xbf/0x150 kernel/printk/printk.c:2274
_printk+0xd1/0x120 kernel/printk/printk.c:2299
kauditd_printk_skb kernel/audit.c:549 [inline]
kauditd_hold_skb+0x1b5/0x200 kernel/audit.c:584
kauditd_send_queue+0x2a3/0x2f0 kernel/audit.c:769
kauditd_thread+0x6fb/0xae0 kernel/audit.c:893
kthread+0x3f6/0x4f0 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
</TASK>
---
This report is generated by a bot. It may contain errors.
See
https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at
syzk...@googlegroups.com.
syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title
If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)
If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report
If you want to undo deduplication, reply with:
#syz undup