kernel BUG at net/core/skbuff.c:LINE!

53 views
Skip to first unread message

syzbot

unread,
Jan 12, 2020, 4:43:11 AM1/12/20
to syzkaller-a...@googlegroups.com
Hello,

syzbot found the following crash on:

HEAD commit: f5f770e4 ANDROID: Kconfig.gki: Add QCOM_SCM to QCOM Hidden..
git tree: android-5.4
console output: https://syzkaller.appspot.com/x/log.txt?x=16bcb8d1e00000
kernel config: https://syzkaller.appspot.com/x/.config?x=91fe4507c5782603
dashboard link: https://syzkaller.appspot.com/bug?extid=d935648ec6304369192d
compiler: Android (6032204 based on r370808) clang version 10.0.1
(https://android.googlesource.com/toolchain/llvm-project
6e765c10313d15c02ab29977a82938f66742c3a9)

Unfortunately, I don't have any reproducer for this crash yet.

IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by: syzbot+d93564...@syzkaller.appspotmail.com

skbuff: skb_over_panic: text:000000008eac7df8 len:76 put:20
head:00000000826688fe data:000000002d732043 tail:0xcc end:0xc0 dev:sit2
------------[ cut here ]------------
kernel BUG at net/core/skbuff.c:108!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 1893 Comm: syz-fuzzer Tainted: G W
5.4.10-syzkaller-00217-gf5f770e495ba #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
RIP: 0010:skb_panic+0x14f/0x160 net/core/skbuff.c:104
Code: 56 84 48 8b 75 c0 48 8b 55 b8 8b 4d d4 44 8b 45 d0 4c 8b 4d c8 b8 00
00 00 00 53 41 56 41 55 41 54 e8 cc 5c 56 fe 48 83 c4 20 <0f> 0b 0f 1f 44
00 00 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 41
RSP: 0000:ffff8881dbb09ae8 EFLAGS: 00010286
RAX: 0000000000000083 RBX: ffff8881c9826000 RCX: 46dde6854f942f00
RDX: 0000000000000502 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff8881dbb09b30 R08: ffffffff812cb190 R09: ffffed103b765dc0
R10: ffffed103b765dc0 R11: 0000000000000000 R12: ffff888148c3a880
R13: 00000000000000cc R14: 00000000000000c0 R15: dffffc0000000000
FS: 000000c4202b8490(0000) GS:ffff8881dbb00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa5d73d1db8 CR3: 00000001d3559004 CR4: 00000000001606e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
<IRQ>
skb_over_panic+0x2c/0x30 net/core/skbuff.c:113
skb_put+0x205/0x210 net/core/skbuff.c:1866
add_grhead net/ipv6/mcast.c:1717 [inline]
add_grec+0xeef/0x12a0 net/ipv6/mcast.c:1844
mld_send_cr net/ipv6/mcast.c:1970 [inline]
mld_ifc_timer_expire+0x781/0xc00 net/ipv6/mcast.c:2477
call_timer_fn+0x189/0x390 kernel/time/timer.c:1404
expire_timers kernel/time/timer.c:1449 [inline]
__run_timers+0x926/0xb40 kernel/time/timer.c:1773
run_timer_softirq+0x1d/0x40 kernel/time/timer.c:1786
__do_softirq+0x235/0x57e kernel/softirq.c:292
invoke_softirq kernel/softirq.c:373 [inline]
irq_exit+0x173/0x180 kernel/softirq.c:413
exiting_irq arch/x86/include/asm/apic.h:536 [inline]
smp_apic_timer_interrupt+0x2e2/0x4c0 arch/x86/kernel/apic/apic.c:1137
apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:830
</IRQ>
RIP: 0033:0x41d474
Code: 0f 83 51 01 00 00 48 85 ff 0f 84 40 01 00 00 41 83 fa 03 0f 83 2b 01
00 00 45 8d 42 01 44 0f b6 0b 49 89 ca 44 89 c1 41 d3 e9 <48> 83 ff 08 74
0b 41 0f ba e1 04 0f 83 db 00 00 00 41 0f ba e1 00
RSP: 002b:000000c420149e90 EFLAGS: 00000203 ORIG_RAX: ffffffffffffff13
RAX: 000000c420000000 RBX: 000000c41f8a07d3 RCX: 0000000000000002
RDX: 000000c443230000 RSI: 000000c42ebf0580 RDI: 0000000000000010
RBP: 000000c420149f28 R08: 0000000000000002 R09: 0000000000000037
R10: 0000000000000040 R11: 000000c42ebf0180 R12: 0000000000000000
R13: 0000000000000020 R14: 0000000000000013 R15: 0000000000000100
Modules linked in:
---[ end trace 15c33a7e6e4acd0e ]---
RIP: 0010:skb_panic+0x14f/0x160 net/core/skbuff.c:104
Code: 56 84 48 8b 75 c0 48 8b 55 b8 8b 4d d4 44 8b 45 d0 4c 8b 4d c8 b8 00
00 00 00 53 41 56 41 55 41 54 e8 cc 5c 56 fe 48 83 c4 20 <0f> 0b 0f 1f 44
00 00 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 41
RSP: 0000:ffff8881dbb09ae8 EFLAGS: 00010286
RAX: 0000000000000083 RBX: ffff8881c9826000 RCX: 46dde6854f942f00
RDX: 0000000000000502 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff8881dbb09b30 R08: ffffffff812cb190 R09: ffffed103b765dc0
R10: ffffed103b765dc0 R11: 0000000000000000 R12: ffff888148c3a880
R13: 00000000000000cc R14: 00000000000000c0 R15: dffffc0000000000
FS: 000000c4202b8490(0000) GS:ffff8881dbb00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa5d73d1db8 CR3: 00000001d3559004 CR4: 00000000001606e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600


---
This bug 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 bug report. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Jan 22, 2020, 8:31:11 PM1/22/20
to syzkaller-a...@googlegroups.com
syzbot has found a reproducer for the following crash on:

HEAD commit: 81734875 ANDROID: fscrypt: add support for hardware-wrappe..
git tree: android-5.4
console output: https://syzkaller.appspot.com/x/log.txt?x=106d7369e00000
kernel config: https://syzkaller.appspot.com/x/.config?x=2213046ccc02bdc
dashboard link: https://syzkaller.appspot.com/bug?extid=d935648ec6304369192d
compiler: Android (6032204 based on r370808) clang version 10.0.1 (https://android.googlesource.com/toolchain/llvm-project 6e765c10313d15c02ab29977a82938f66742c3a9)
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=17e4ef59e00000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=113b6185e00000

IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by: syzbot+d93564...@syzkaller.appspotmail.com

skbuff: skb_over_panic: text:00000000b6bbaaad len:76 put:20 head:000000006222c5a6 data:000000005fa2d42f tail:0xcc end:0xc0 dev:sit1
------------[ cut here ]------------
kernel BUG at net/core/skbuff.c:108!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.4.13-syzkaller-00778-g8173487568f1 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:skb_panic+0x14f/0x160 net/core/skbuff.c:104
Code: 56 84 48 8b 75 c0 48 8b 55 b8 8b 4d d4 44 8b 45 d0 4c 8b 4d c8 b8 00 00 00 00 53 41 56 41 55 41 54 e8 cc 3c 56 fe 48 83 c4 20 <0f> 0b 0f 1f 44 00 00 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 41
RSP: 0018:ffff8881dbb09ae8 EFLAGS: 00010286
RAX: 0000000000000083 RBX: ffff8881d999a000 RCX: c56a3109bb171e00
RDX: 0000000000000503 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff8881dbb09b30 R08: ffffffff812cee10 R09: ffffed103b765dc0
R10: ffffed103b765dc0 R11: 0000000000000000 R12: ffff8881c9fb0c80
R13: 00000000000000cc R14: 00000000000000c0 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8881dbb00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000004c0fa8 CR3: 000000000460e003 CR4: 00000000001606e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<IRQ>
skb_over_panic+0x2c/0x30 net/core/skbuff.c:113
skb_put+0x205/0x210 net/core/skbuff.c:1866
add_grhead net/ipv6/mcast.c:1717 [inline]
add_grec+0xeef/0x12a0 net/ipv6/mcast.c:1844
mld_send_cr net/ipv6/mcast.c:1970 [inline]
mld_ifc_timer_expire+0x781/0xc00 net/ipv6/mcast.c:2477
call_timer_fn+0x189/0x390 kernel/time/timer.c:1404
expire_timers kernel/time/timer.c:1449 [inline]
__run_timers+0x926/0xb40 kernel/time/timer.c:1773
run_timer_softirq+0x1d/0x40 kernel/time/timer.c:1786
__do_softirq+0x235/0x57e kernel/softirq.c:292
invoke_softirq kernel/softirq.c:373 [inline]
irq_exit+0x173/0x180 kernel/softirq.c:413
exiting_irq arch/x86/include/asm/apic.h:536 [inline]
smp_apic_timer_interrupt+0x2e2/0x4c0 arch/x86/kernel/apic/apic.c:1137
apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:830
</IRQ>
RIP: 0010:default_idle+0x55/0xa0 arch/x86/kernel/process.c:581
Code: 26 ea fd 48 c1 eb 03 48 b8 00 00 00 00 00 fc ff df 8a 04 03 84 c0 75 26 83 3d 8e ad 0f 01 00 7e 07 0f 00 2d c5 fd 59 00 fb f4 <65> 8b 35 fc 15 7b 7c bf ff ff ff ff e8 ea ce 81 fd 5b 5d c3 48 c7
RSP: 0018:ffff8881da9e7d58 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: dffffc0000000000 RBX: 1ffffffff092c557 RCX: ffffffff83867d0e
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffffff84962ab8
RBP: ffff8881da9e7d60 R08: dffffc0000000000 R09: fffffbfff092c558
R10: fffffbfff092c558 R11: 0000000000000000 R12: ffffffff84750f20
R13: 0000000000000001 R14: dffffc0000000000 R15: 1ffff1103b537760
arch_cpu_idle+0xa/0x10 arch/x86/kernel/process.c:571
default_idle_call kernel/sched/idle.c:94 [inline]
cpuidle_idle_call kernel/sched/idle.c:154 [inline]
do_idle+0x209/0x5c0 kernel/sched/idle.c:263
cpu_startup_entry+0x25/0x30 kernel/sched/idle.c:355
start_secondary+0x33f/0x3d0 arch/x86/kernel/smpboot.c:264
secondary_startup_64+0xa4/0xb0 arch/x86/kernel/head_64.S:241
Modules linked in:
---[ end trace 1e2e501b41da770d ]---
RIP: 0010:skb_panic+0x14f/0x160 net/core/skbuff.c:104
Code: 56 84 48 8b 75 c0 48 8b 55 b8 8b 4d d4 44 8b 45 d0 4c 8b 4d c8 b8 00 00 00 00 53 41 56 41 55 41 54 e8 cc 3c 56 fe 48 83 c4 20 <0f> 0b 0f 1f 44 00 00 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 41
RSP: 0018:ffff8881dbb09ae8 EFLAGS: 00010286
RAX: 0000000000000083 RBX: ffff8881d999a000 RCX: c56a3109bb171e00
RDX: 0000000000000503 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff8881dbb09b30 R08: ffffffff812cee10 R09: ffffed103b765dc0
R10: ffffed103b765dc0 R11: 0000000000000000 R12: ffff8881c9fb0c80
R13: 00000000000000cc R14: 00000000000000c0 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8881dbb00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000004c0fa8 CR3: 000000000460e003 CR4: 00000000001606e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

syzbot

unread,
Aug 22, 2023, 11:17:49 AM8/22/23
to syzkaller-a...@googlegroups.com
Auto-closing this bug as obsolete.
No recent activity, existing reproducers are no longer triggering the issue.
Reply all
Reply to author
Forward
0 new messages