syzbot


kernel BUG in ip6_mc_hdr

Status: upstream: reported on 2022/11/30 17:44
Reported-by: syzbot+14cc0480d2fb8d135f2f@syzkaller.appspotmail.com
First crash: 744d, last: 648d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG at net/core/skbuff.c:LINE! (3) C done 4399 1390d 2507d 19/28 fixed on 2021/03/10 01:48
linux-4.14 kernel BUG at net/core/skbuff.c:LINE! C 3066 653d 2072d 0/1 upstream: reported C repro on 2019/04/12 15:43
upstream kernel BUG in llc_sap_action_send_xid_c net C error 61 1130d 1344d 20/28 fixed on 2021/11/10 00:50
upstream kernel BUG in pskb_expand_head net C done 1600 673d 1125d 22/28 fixed on 2023/02/25 08:02

Sample crash report:
overlayfs: unrecognized mount option "lowerdBr=.:file0" or missing value
overlayfs: missing 'workdir'
skbuff: skb_over_panic: text:0000000063a50ff2 len:40 put:40 head:00000000ffd351e7 data:000000000f27bd8b tail:0x128 end:0xc0 dev:ip6erspan0
------------[ cut here ]------------
kernel BUG at net/core/skbuff.c:104!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 8149 Comm: syz-executor.5 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
RIP: 0010:skb_panic+0x172/0x174 net/core/skbuff.c:104
Code: 4c 24 10 8b 8b 80 00 00 00 41 56 45 89 e8 4c 89 e2 41 57 48 89 ee 48 c7 c7 60 4f 4c 89 ff 74 24 10 ff 74 24 20 e8 f1 18 e2 ff <0f> 0b e8 7f e7 50 f9 4c 8b 64 24 18 e8 c5 aa 86 f9 48 c7 c1 c0 58
RSP: 0018:ffff8880ba107940 EFLAGS: 00010282
RAX: 000000000000008a RBX: ffff8880ae5ae280 RCX: 0000000000000000
RDX: 0000000000000100 RSI: ffffffff814dff01 RDI: ffffed1017420f1a
RBP: ffffffff894c5900 R08: 000000000000008a R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffffffff870ddb3f
R13: 0000000000000028 R14: ffff88801f7840c0 R15: 00000000000000c0
FS:  00005555572cb400(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 00000000aa6d2000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 skb_over_panic net/core/skbuff.c:109 [inline]
 skb_put.cold+0x24/0x24 net/core/skbuff.c:1711
 ip6_mc_hdr.constprop.0+0x11f/0x5a0 net/ipv6/mcast.c:1578
 mld_newpack+0x3d0/0x760 net/ipv6/mcast.c:1626
 add_grhead+0x265/0x330 net/ipv6/mcast.c:1712
 add_grec+0xe3c/0x10b0 net/ipv6/mcast.c:1843
 mld_send_cr net/ipv6/mcast.c:1969 [inline]
 mld_ifc_timer_expire+0x5a2/0xdf0 net/ipv6/mcast.c:2476
 call_timer_fn+0x177/0x700 kernel/time/timer.c:1338
 expire_timers+0x243/0x4e0 kernel/time/timer.c:1375
 __run_timers kernel/time/timer.c:1696 [inline]
 run_timer_softirq+0x21c/0x670 kernel/time/timer.c:1709
 __do_softirq+0x265/0x980 kernel/softirq.c:292
 invoke_softirq kernel/softirq.c:372 [inline]
 irq_exit+0x215/0x260 kernel/softirq.c:412
 exiting_irq arch/x86/include/asm/apic.h:536 [inline]
 smp_apic_timer_interrupt+0x136/0x550 arch/x86/kernel/apic/apic.c:1098
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894
 </IRQ>
RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:789 [inline]
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0xa3/0xe0 kernel/locking/spinlock.c:184
Code: 48 c7 c0 88 82 f1 89 48 ba 00 00 00 00 00 fc ff df 48 c1 e8 03 80 3c 10 00 75 2f 48 83 3d 7c 31 d8 01 00 74 15 48 89 df 57 9d <0f> 1f 44 00 00 eb b2 e8 fb eb e6 f8 eb c0 0f 0b 0f 0b 48 c7 c7 88
RSP: 0018:ffff8880935d7cd8 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13
RAX: 1ffffffff13e3051 RBX: 0000000000000286 RCX: 0000000000000000
RDX: dffffc0000000000 RSI: 0000000000000001 RDI: 0000000000000286
RBP: ffffffff8a462a60 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: ffffffff89f94720 R14: ffff8880935d7d90 R15: ffffffff8d378d08
 __free_object+0xdd/0x1e0 lib/debugobjects.c:262
 free_object lib/debugobjects.c:272 [inline]
 debug_object_free lib/debugobjects.c:652 [inline]
 debug_object_free+0x1cc/0x380 lib/debugobjects.c:624
 destroy_hrtimer_on_stack kernel/time/hrtimer.c:442 [inline]
 hrtimer_nanosleep+0x27f/0x570 kernel/time/hrtimer.c:1824
 common_nsleep+0x23/0x30 kernel/time/posix-timers.c:1204
 __do_sys_clock_nanosleep kernel/time/posix-timers.c:1231 [inline]
 __se_sys_clock_nanosleep+0x261/0x360 kernel/time/posix-timers.c:1209
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f1976d3ae21
Code: 24 0c 89 3c 24 48 89 4c 24 18 e8 aa e7 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 8b 74 24 0c 8b 3c 24 b8 e6 00 00 00 0f 05 <44> 89 c7 48 89 04 24 e8 e3 e7 ff ff 48 8b 04 24 eb 97 66 2e 0f 1f
RSP: 002b:00007fff362a7cd0 EFLAGS: 00000293 ORIG_RAX: 00000000000000e6
RAX: ffffffffffffffda RBX: 0000000000000c70 RCX: 00007f1976d3ae21
RDX: 00007fff362a7d10 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007fff362a7d9c R08: 0000000000000000 R09: 000000c86fddb0c3
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000032
R13: 00000000000be422 R14: 000000000000000f R15: 00007fff362a7e00
Modules linked in:
---[ end trace 60869696dee7f9ec ]---
RIP: 0010:skb_panic+0x172/0x174 net/core/skbuff.c:104
Code: 4c 24 10 8b 8b 80 00 00 00 41 56 45 89 e8 4c 89 e2 41 57 48 89 ee 48 c7 c7 60 4f 4c 89 ff 74 24 10 ff 74 24 20 e8 f1 18 e2 ff <0f> 0b e8 7f e7 50 f9 4c 8b 64 24 18 e8 c5 aa 86 f9 48 c7 c1 c0 58
RSP: 0018:ffff8880ba107940 EFLAGS: 00010282
RAX: 000000000000008a RBX: ffff8880ae5ae280 RCX: 0000000000000000
RDX: 0000000000000100 RSI: ffffffff814dff01 RDI: ffffed1017420f1a
RBP: ffffffff894c5900 R08: 000000000000008a R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffffffff870ddb3f
R13: 0000000000000028 R14: ffff88801f7840c0 R15: 00000000000000c0
FS:  00005555572cb400(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 00000000aa6d2000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	48 c7 c0 88 82 f1 89 	mov    $0xffffffff89f18288,%rax
   7:	48 ba 00 00 00 00 00 	movabs $0xdffffc0000000000,%rdx
   e:	fc ff df
  11:	48 c1 e8 03          	shr    $0x3,%rax
  15:	80 3c 10 00          	cmpb   $0x0,(%rax,%rdx,1)
  19:	75 2f                	jne    0x4a
  1b:	48 83 3d 7c 31 d8 01 	cmpq   $0x0,0x1d8317c(%rip)        # 0x1d8319f
  22:	00
  23:	74 15                	je     0x3a
  25:	48 89 df             	mov    %rbx,%rdi
  28:	57                   	push   %rdi
  29:	9d                   	popfq
* 2a:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1) <-- trapping instruction
  2f:	eb b2                	jmp    0xffffffe3
  31:	e8 fb eb e6 f8       	callq  0xf8e6ec31
  36:	eb c0                	jmp    0xfffffff8
  38:	0f 0b                	ud2
  3a:	0f 0b                	ud2
  3c:	48                   	rex.W
  3d:	c7                   	.byte 0xc7
  3e:	c7                   	(bad)
  3f:	88                   	.byte 0x88

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/03/06 12:23 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ip6_mc_hdr
2022/11/30 17:43 linux-4.19.y 3f8a27f9e27b 4c2a66e8 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ip6_mc_hdr
* Struck through repros no longer work on HEAD.