kernel BUG in add_grec

20 views
Skip to first unread message

syzbot

unread,
Jan 13, 2022, 1:16:20 PM1/13/22
to syzkaller-a...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: d605f2f30d54 Merge 5.10.91 into android12-5.10-lts
git tree: android12-5.10-lts
console output: https://syzkaller.appspot.com/x/log.txt?x=17658488700000
kernel config: https://syzkaller.appspot.com/x/.config?x=21ff143efa71c71c
dashboard link: https://syzkaller.appspot.com/bug?extid=e223cf47ec8ae183f2a0
compiler: Debian clang version 11.0.1-2, GNU ld (GNU Binutils for Debian) 2.35.2

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

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

skbuff: skb_over_panic: text:ffffffff843b368e len:76 put:20 head:ffff88810f4bf800 data:ffff88810f4bf840 tail:0x8c end:0x80 dev:syztnl0
------------[ cut here ]------------
kernel BUG at net/core/skbuff.c:110!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 30841 Comm: kworker/0:5 Tainted: G W 5.10.91-syzkaller-00882-gd605f2f30d54 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: ipv6_addrconf addrconf_dad_work
RIP: 0010:skb_panic+0x14f/0x160 net/core/skbuff.c:106
Code: 87 85 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 ac 8c 89 fd 48 83 c4 20 <0f> 0b 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 55 48 89 e5 41
RSP: 0018:ffffc9000019f880 EFLAGS: 00010282
RAX: 0000000000000086 RBX: ffff88810b0fc000 RCX: 8d17f0e992810500
RDX: 0000000000000000 RSI: 0000000000000402 RDI: 0000000000000000
RBP: ffffc9000019f8c8 R08: ffffffff81545408 R09: fffff52000033e39
R10: fffff52000033e39 R11: 0000000000000000 R12: ffff88810f4bf840
R13: 000000000000008c R14: 0000000000000080 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fcc2ad5e998 CR3: 000000010a02e000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
skb_over_panic+0x2c/0x30 net/core/skbuff.c:115
skb_put+0x205/0x210 net/core/skbuff.c:1877
add_grhead net/ipv6/mcast.c:1711 [inline]
add_grec+0xf5e/0x1370 net/ipv6/mcast.c:1838
mld_send_initial_cr+0x1f8/0x2c0 net/ipv6/mcast.c:2088
ipv6_mc_dad_complete+0x70/0x3b0 net/ipv6/mcast.c:2100
addrconf_dad_completed+0x664/0xdc0 net/ipv6/addrconf.c:4204
addrconf_dad_work+0xe4b/0x1d40 net/ipv6/addrconf.c:3989
process_one_work+0x6b4/0xfb0 kernel/workqueue.c:2289
worker_thread+0xb15/0x1600 kernel/workqueue.c:2435
kthread+0x371/0x390 kernel/kthread.c:313
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296
Modules linked in:
---[ end trace 431ce05711da5883 ]---
RIP: 0010:skb_panic+0x14f/0x160 net/core/skbuff.c:106
Code: 87 85 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 ac 8c 89 fd 48 83 c4 20 <0f> 0b 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 55 48 89 e5 41
RSP: 0018:ffffc9000019f880 EFLAGS: 00010282
RAX: 0000000000000086 RBX: ffff88810b0fc000 RCX: 8d17f0e992810500
RDX: 0000000000000000 RSI: 0000000000000402 RDI: 0000000000000000
RBP: ffffc9000019f8c8 R08: ffffffff81545408 R09: fffff52000033e39
R10: fffff52000033e39 R11: 0000000000000000 R12: ffff88810f4bf840
R13: 000000000000008c R14: 0000000000000080 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fcc2ad5e998 CR3: 000000010a02e000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400


---
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.

syzbot

unread,
Jan 20, 2022, 12:47:18 AM1/20/22
to syzkaller-a...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: f45f895af546 Merge branch 'android12-5.10' into `android12..
git tree: android12-5.10-lts
console output: https://syzkaller.appspot.com/x/log.txt?x=16f13388700000
kernel config: https://syzkaller.appspot.com/x/.config?x=d10f5fc2051a847d
dashboard link: https://syzkaller.appspot.com/bug?extid=e223cf47ec8ae183f2a0
compiler: Debian clang version 11.0.1-2, GNU ld (GNU Binutils for Debian) 2.35.2
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=170b3438700000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1648c83fb00000

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

skbuff: skb_over_panic: text:ffffffff842f46b6 len:65575 put:65575 head:ffff88811d74a000 data:ffff88811d74a088 tail:0x100af end:0x680 dev:<NULL>
------------[ cut here ]------------
kernel BUG at net/core/skbuff.c:110!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 366 Comm: syz-executor693 Not tainted 5.10.92-syzkaller-01003-gf45f895af546 #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:106
Code: 87 85 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 9c 42 89 fd 48 83 c4 20 <0f> 0b 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 55 48 89 e5 41
RSP: 0018:ffffc90000ba71b0 EFLAGS: 00010282
RAX: 000000000000008f RBX: ffffffff858750a0 RCX: 24e716add774bb00
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc90000ba71f8 R08: ffffffff815457c8 R09: ffffed103ee2a5d8
R10: ffffed103ee2a5d8 R11: 0000000000000000 R12: ffff88811d74a088
R13: 00000000000100af R14: 0000000000000680 R15: dffffc0000000000
FS: 00005555557e2300(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000558102e15048 CR3: 000000011ccbd000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
skb_over_panic+0x2c/0x30 net/core/skbuff.c:115
skb_put+0x205/0x210 net/core/skbuff.c:1877
__ip6_append_data+0x2ad6/0x3d80 net/ipv6/ip6_output.c:1680
ip6_append_data+0x1ab/0x2d0 net/ipv6/ip6_output.c:1829
rawv6_sendmsg+0x1e4f/0x2cd0 net/ipv6/raw.c:949
inet_sendmsg+0xa1/0xc0 net/ipv4/af_inet.c:821
sock_sendmsg_nosec net/socket.c:652 [inline]
sock_sendmsg net/socket.c:672 [inline]
____sys_sendmsg+0x5b9/0x910 net/socket.c:2343
___sys_sendmsg net/socket.c:2397 [inline]
__sys_sendmmsg+0x5ae/0x7f0 net/socket.c:2487
__do_sys_sendmmsg net/socket.c:2516 [inline]
__se_sys_sendmmsg net/socket.c:2513 [inline]
__x64_sys_sendmmsg+0xa0/0xb0 net/socket.c:2513
do_syscall_64+0x31/0x70 arch/x86/entry/common.c:46
entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x7f1eb12453f9
Code: 28 c3 e8 4a 15 00 00 66 2e 0f 1f 84 00 00 00 00 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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd42c6b928 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: ffffffffffffffda RBX: 00007ffd42c6b938 RCX: 00007f1eb12453f9
RDX: 0000000000000001 RSI: 00000000200002c0 RDI: 0000000000000003
RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000000
R10: 000000000000fe80 R11: 0000000000000246 R12: 00007ffd42c6b940
R13: 00007ffd42c6b960 R14: 0000000000000000 R15: 0000000000000000
Modules linked in:
---[ end trace e41daba6b63d41fe ]---
RIP: 0010:skb_panic+0x14f/0x160 net/core/skbuff.c:106
Code: 87 85 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 9c 42 89 fd 48 83 c4 20 <0f> 0b 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 55 48 89 e5 41
RSP: 0018:ffffc90000ba71b0 EFLAGS: 00010282
RAX: 000000000000008f RBX: ffffffff858750a0 RCX: 24e716add774bb00
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc90000ba71f8 R08: ffffffff815457c8 R09: ffffed103ee2a5d8
R10: ffffed103ee2a5d8 R11: 0000000000000000 R12: ffff88811d74a088
R13: 00000000000100af R14: 0000000000000680 R15: dffffc0000000000
FS: 00005555557e2300(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000558102e15048 CR3: 000000011ccbd000 CR4: 00000000003506a0
Reply all
Reply to author
Forward
0 new messages