syzbot


WARNING in cake_dequeue (2)

Status: auto-obsoleted due to no activity on 2024/10/30 05:21
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+3880fb06c3b7f5ec1878@syzkaller.appspotmail.com
First crash: 152d, last: 152d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [net?] WARNING in cake_dequeue (2) 0 (1) 2024/07/24 09:45
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in cake_dequeue net 1 823d 822d 0/28 auto-obsoleted due to no activity on 2023/01/18 01:54

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 22566 at net/sched/sch_cake.c:2094 cake_dequeue+0x2af1/0x4690 net/sched/sch_cake.c:2094
Modules linked in:
CPU: 0 PID: 22566 Comm: syz.3.4579 Not tainted 6.10.0-syzkaller-11323-g7846b618e0a4 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
RIP: 0010:cake_dequeue+0x2af1/0x4690 net/sched/sch_cake.c:2094
Code: 74 08 4c 89 f7 e8 af d7 6b f8 4d 89 26 eb 05 e8 75 e1 08 f8 45 31 f6 4c 8b a4 24 08 01 00 00 e9 d4 de ff ff e8 60 e1 08 f8 90 <0f> 0b 90 48 8b 94 24 f0 00 00 00 48 89 d0 48 c1 e8 03 42 0f b6 04
RSP: 0018:ffffc900000079c0 EFLAGS: 00010246
RAX: ffffffff898a6160 RBX: 000000000000ffff RCX: ffff888067efda00
RDX: 0000000080000101 RSI: 000000000000ffff RDI: 0000000000000400
RBP: ffffc90000007c28 R08: ffffffff898a5f7c R09: ffffffff898a69e5
R10: 0000000000000003 R11: ffff888067efda00 R12: ffff88805a900010
R13: dffffc0000000000 R14: 000000000000ffff R15: ffff88805a900000
FS:  00007f3db68136c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b3141fffc CR3: 0000000073d06000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 dequeue_skb net/sched/sch_generic.c:293 [inline]
 qdisc_restart net/sched/sch_generic.c:398 [inline]
 __qdisc_run+0x272/0x2170 net/sched/sch_generic.c:416
 qdisc_run+0xda/0x270 include/net/pkt_sched.h:127
 net_tx_action+0x89c/0xa50 net/core/dev.c:5322
 handle_softirqs+0x2c4/0x970 kernel/softirq.c:554
 __do_softirq kernel/softirq.c:588 [inline]
 invoke_softirq kernel/softirq.c:428 [inline]
 __irq_exit_rcu+0xf4/0x1c0 kernel/softirq.c:637
 irq_exit_rcu+0x9/0x30 kernel/softirq.c:649
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline]
 sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1043
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:stack_trace_save+0x0/0x1d0 kernel/stacktrace.c:114
Code: 5d 41 5e 41 5f 5d c3 cc cc cc cc 90 0f 0b 90 45 31 e4 eb e1 66 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 <f3> 0f 1e fa 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 e4 e0 48
RSP: 0018:ffffc9000a016db8 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffff888067efdf80 RCX: 0000000000000000
RDX: 0000000000000002 RSI: 0000000000000010 RDI: ffffc9000a016e00
RBP: ffffc9000a016ef0 R08: ffffffff82005562 R09: 0000000000000000
R10: ffffc9000a016e00 R11: fffff52001402dd0 R12: dffffc0000000000
R13: 1ffff92001402dbc R14: ffffc9000a016e00 R15: 1ffff1100cfdfbf0
 save_stack+0xfb/0x1f0 mm/page_owner.c:156
 __set_page_owner+0x92/0x800 mm/page_owner.c:320
 set_page_owner include/linux/page_owner.h:32 [inline]
 post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1473
 prep_new_page mm/page_alloc.c:1481 [inline]
 get_page_from_freelist+0x2e4c/0x2f10 mm/page_alloc.c:3425
 __alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4683
 alloc_pages_mpol_noprof+0x3e8/0x680 mm/mempolicy.c:2265
 vma_alloc_folio_noprof+0xf3/0x1f0 mm/mempolicy.c:2304
 folio_prealloc+0x31/0x170
 alloc_anon_folio mm/memory.c:4397 [inline]
 do_anonymous_page mm/memory.c:4455 [inline]
 do_pte_missing mm/memory.c:3895 [inline]
 handle_pte_fault+0x257b/0x7090 mm/memory.c:5381
 __handle_mm_fault mm/memory.c:5524 [inline]
 handle_mm_fault+0xfb0/0x19d0 mm/memory.c:5689
 faultin_page mm/gup.c:1305 [inline]
 __get_user_pages+0x6ec/0x16a0 mm/gup.c:1604
 populate_vma_page_range+0x264/0x330 mm/gup.c:2043
 __mm_populate+0x27a/0x460 mm/gup.c:2146
 mm_populate include/linux/mm.h:3469 [inline]
 vm_mmap_pgoff+0x2c3/0x3d0 mm/util.c:593
 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:0x7f3db5975b59
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:00007f3db6813048 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 00007f3db5b05f60 RCX: 00007f3db5975b59
RDX: 000000000000000f RSI: 0000000000b36000 RDI: 0000000020000000
RBP: 00007f3db59e4e5d R08: ffffffffffffffff R09: 0000000000000000
R10: 0000000004008032 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000004d R14: 00007f3db5b05f60 R15: 00007ffc8713fc48
 </TASK>
----------------
Code disassembly (best guess):
   0:	5d                   	pop    %rbp
   1:	41 5e                	pop    %r14
   3:	41 5f                	pop    %r15
   5:	5d                   	pop    %rbp
   6:	c3                   	ret
   7:	cc                   	int3
   8:	cc                   	int3
   9:	cc                   	int3
   a:	cc                   	int3
   b:	90                   	nop
   c:	0f 0b                	ud2
   e:	90                   	nop
   f:	45 31 e4             	xor    %r12d,%r12d
  12:	eb e1                	jmp    0xfffffff5
  14:	66 0f 1f 44 00 00    	nopw   0x0(%rax,%rax,1)
  1a:	90                   	nop
  1b:	90                   	nop
  1c:	90                   	nop
  1d:	90                   	nop
  1e:	90                   	nop
  1f:	90                   	nop
  20:	90                   	nop
  21:	90                   	nop
  22:	90                   	nop
  23:	90                   	nop
  24:	90                   	nop
  25:	90                   	nop
  26:	90                   	nop
  27:	90                   	nop
  28:	90                   	nop
  29:	90                   	nop
* 2a:	f3 0f 1e fa          	endbr64 <-- trapping instruction
  2e:	55                   	push   %rbp
  2f:	48 89 e5             	mov    %rsp,%rbp
  32:	41 57                	push   %r15
  34:	41 56                	push   %r14
  36:	41 55                	push   %r13
  38:	41 54                	push   %r12
  3a:	53                   	push   %rbx
  3b:	48 83 e4 e0          	and    $0xffffffffffffffe0,%rsp
  3f:	48                   	rex.W

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/07/22 05:21 upstream 7846b618e0a4 b88348e9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in cake_dequeue
2024/07/22 05:18 upstream 7846b618e0a4 b88348e9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in cake_dequeue
2024/07/22 05:18 upstream 7846b618e0a4 b88348e9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in cake_dequeue
2024/07/22 05:15 upstream 7846b618e0a4 b88348e9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in cake_dequeue
* Struck through repros no longer work on HEAD.