kernel BUG at net/core/dev.c:LINE! (2)

25 views
Skip to first unread message

syzbot

unread,
Dec 11, 2020, 8:29:11 AM12/11/20
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 13d2ce42 Linux 4.19.163
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=1322f703500000
kernel config: https://syzkaller.appspot.com/x/.config?x=fac7c3360835a4e0
dashboard link: https://syzkaller.appspot.com/bug?extid=f19cc331e8da500491d2
compiler: gcc (GCC) 10.1.0-syz 20200507

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+f19cc3...@syzkaller.appspotmail.com

------------[ cut here ]------------
kernel BUG at net/core/dev.c:2917!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 10273 Comm: syz-executor.5 Not tainted 4.19.163-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:skb_checksum_help+0x851/0x9c0 net/core/dev.c:2917
Code: 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 84 eb fb ff ff 48 8b 7c 24 20 e8 69 be 08 fb e9 dc fb ff ff e8 9f 95 d2 fa <0f> 0b 4c 89 ef e8 05 bc 08 fb e9 dc f7 ff ff 4c 89 e7 e8 b8 bd 08
RSP: 0018:ffff88809ce47008 EFLAGS: 00010216
RAX: 0000000000040000 RBX: 00000000000003d2 RCX: ffffc90010642000
RDX: 000000000000b34f RSI: ffffffff86923a71 RDI: 0000000000000006
RBP: ffff88809c436cc0 R08: ffff88809ce46f98 R09: 00000000000003d4
R10: 0000000000000006 R11: 0000000000000000 R12: ffff88809c436d44
R13: ffff88809c436d50 R14: 000000000000534e R15: 00000000000000e0
FS: 00007f26c67b0700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b30c28000 CR3: 00000000a9191000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
skb_csum_hwoffload_help+0x8b/0x130 net/core/dev.c:3306
validate_xmit_skb+0x94a/0xd50 net/core/dev.c:3349
__dev_queue_xmit+0x963/0x2e00 net/core/dev.c:3830
neigh_hh_output include/net/neighbour.h:491 [inline]
neigh_output include/net/neighbour.h:499 [inline]
ip_finish_output2+0xb6d/0x15a0 net/ipv4/ip_output.c:230
ip_finish_output+0x85b/0xd20 net/ipv4/ip_output.c:318
NF_HOOK_COND include/linux/netfilter.h:278 [inline]
ip_output+0x203/0x5f0 net/ipv4/ip_output.c:406
dst_output include/net/dst.h:455 [inline]
ip_local_out+0xaf/0x170 net/ipv4/ip_output.c:125
iptunnel_xmit+0x63b/0x9d0 net/ipv4/ip_tunnel_core.c:91
geneve_xmit_skb drivers/net/geneve.c:864 [inline]
geneve_xmit+0xe7a/0x2a80 drivers/net/geneve.c:937
__netdev_start_xmit include/linux/netdevice.h:4333 [inline]
netdev_start_xmit include/linux/netdevice.h:4347 [inline]
xmit_one net/core/dev.c:3256 [inline]
dev_hard_start_xmit+0x1a8/0x920 net/core/dev.c:3272
sch_direct_xmit+0x2d6/0xf50 net/sched/sch_generic.c:332
qdisc_restart net/sched/sch_generic.c:395 [inline]
__qdisc_run+0x4d0/0x1640 net/sched/sch_generic.c:403
__dev_xmit_skb net/core/dev.c:3500 [inline]
__dev_queue_xmit+0x1518/0x2e00 net/core/dev.c:3807
packet_snd net/packet/af_packet.c:2988 [inline]
packet_sendmsg+0x2474/0x6aff net/packet/af_packet.c:3013
sock_sendmsg_nosec net/socket.c:622 [inline]
sock_sendmsg+0xc3/0x120 net/socket.c:632
__sys_sendto+0x21a/0x320 net/socket.c:1787
__do_sys_sendto net/socket.c:1799 [inline]
__se_sys_sendto net/socket.c:1795 [inline]
__x64_sys_sendto+0xdd/0x1b0 net/socket.c:1795
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45e159
Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f26c67afc68 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 000000000045e159
RDX: 0000000000003287 RSI: 0000000020000080 RDI: 0000000000000003
RBP: 000000000119bfd8 R08: 0000000000000000 R09: 00000000000002ff
R10: 0000000004000002 R11: 0000000000000246 R12: 000000000119bf8c
R13: 00007ffccf5e508f R14: 00007f26c67b09c0 R15: 000000000119bf8c
Modules linked in:
---[ end trace 9b9468a8d79e41d6 ]---
RIP: 0010:skb_checksum_help+0x851/0x9c0 net/core/dev.c:2917
Code: 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 84 eb fb ff ff 48 8b 7c 24 20 e8 69 be 08 fb e9 dc fb ff ff e8 9f 95 d2 fa <0f> 0b 4c 89 ef e8 05 bc 08 fb e9 dc f7 ff ff 4c 89 e7 e8 b8 bd 08
RSP: 0018:ffff88809ce47008 EFLAGS: 00010216
RAX: 0000000000040000 RBX: 00000000000003d2 RCX: ffffc90010642000
RDX: 000000000000b34f RSI: ffffffff86923a71 RDI: 0000000000000006
RBP: ffff88809c436cc0 R08: ffff88809ce46f98 R09: 00000000000003d4
R10: 0000000000000006 R11: 0000000000000000 R12: ffff88809c436d44
R13: ffff88809c436d50 R14: 000000000000534e R15: 00000000000000e0
FS: 00007f26c67b0700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b30c28000 CR3: 00000000a9191000 CR4: 00000000001406e0
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,
Jun 5, 2021, 3:15:21 AM6/5/21
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: 1722257b Linux 4.19.193
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=120b4777d00000
kernel config: https://syzkaller.appspot.com/x/.config?x=fd6b8809ec913bf1
dashboard link: https://syzkaller.appspot.com/bug?extid=f19cc331e8da500491d2
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=11f9ab6bd00000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=10c5ed47d00000

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

hsr_slave_0: hsr_addr_subst_dest: Unknown node
hsr_slave_1: hsr_addr_subst_dest: Unknown node
------------[ cut here ]------------
kernel BUG at net/core/dev.c:2917!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 8395 Comm: syz-executor555 Not tainted 4.19.193-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:skb_checksum_help+0x851/0x9c0 net/core/dev.c:2917
Code: 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 84 eb fb ff ff 48 8b 7c 24 20 e8 59 df 23 fb e9 dc fb ff ff e8 bf 15 ee fa <0f> 0b 4c 89 ef e8 f5 dc 23 fb e9 dc f7 ff ff 4c 89 e7 e8 a8 de 23
RSP: 0018:ffff8880ab55efe8 EFLAGS: 00010293
RAX: ffff8880ab5822c0 RBX: 00000000000003d2 RCX: ffffffff86745ec7
RDX: 0000000000000000 RSI: ffffffff86746371 RDI: 0000000000000006
RBP: ffff8880ab79d3c0 R08: ffff8880ab55ef78 R09: 00000000000003d4
R10: 0000000000000006 R11: 0000000000000000 R12: ffff8880ab79d444
R13: ffff8880ab79d450 R14: 000000000000534d R15: 00000000000000e0
FS: 000000000166c300(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffd881e8698 CR3: 0000000093eb0000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
skb_csum_hwoffload_help+0x8b/0x130 net/core/dev.c:3306
validate_xmit_skb+0x94a/0xd50 net/core/dev.c:3349
__dev_queue_xmit+0x963/0x2e00 net/core/dev.c:3830
neigh_hh_output include/net/neighbour.h:491 [inline]
neigh_output include/net/neighbour.h:499 [inline]
ip_finish_output2+0xb6d/0x15a0 net/ipv4/ip_output.c:230
ip_finish_output+0x858/0xd20 net/ipv4/ip_output.c:318
NF_HOOK_COND include/linux/netfilter.h:278 [inline]
ip_output+0x203/0x5f0 net/ipv4/ip_output.c:406
dst_output include/net/dst.h:455 [inline]
ip_local_out+0xaf/0x170 net/ipv4/ip_output.c:125
iptunnel_xmit+0x63b/0x9d0 net/ipv4/ip_tunnel_core.c:91
geneve_xmit_skb drivers/net/geneve.c:867 [inline]
geneve_xmit+0x1183/0x2e10 drivers/net/geneve.c:943
__netdev_start_xmit include/linux/netdevice.h:4345 [inline]
netdev_start_xmit include/linux/netdevice.h:4359 [inline]
xmit_one net/core/dev.c:3256 [inline]
dev_hard_start_xmit+0x1a8/0x920 net/core/dev.c:3272
sch_direct_xmit+0x2d6/0xf50 net/sched/sch_generic.c:332
qdisc_restart net/sched/sch_generic.c:395 [inline]
__qdisc_run+0x4d0/0x1640 net/sched/sch_generic.c:403
__dev_xmit_skb net/core/dev.c:3500 [inline]
__dev_queue_xmit+0x1518/0x2e00 net/core/dev.c:3807
packet_snd net/packet/af_packet.c:2988 [inline]
packet_sendmsg+0x24e9/0x7130 net/packet/af_packet.c:3013
sock_sendmsg_nosec net/socket.c:622 [inline]
sock_sendmsg+0xc3/0x120 net/socket.c:632
__sys_sendto+0x21a/0x320 net/socket.c:1787
__do_sys_sendto net/socket.c:1799 [inline]
__se_sys_sendto net/socket.c:1795 [inline]
__x64_sys_sendto+0xdd/0x1b0 net/socket.c:1795
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x443a49
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 41 15 00 00 90 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:00007ffd881e86a8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000443a49
RDX: 0000000000003287 RSI: 0000000020000080 RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000000 R09: 00000000000002ff
R10: 0000000004000002 R11: 0000000000000246 R12: 00007ffd881e86d0
R13: 00000000000f4240 R14: 000000000000a42e R15: 00007ffd881e86c4
Modules linked in:
---[ end trace 81dd4fa3f4325fc6 ]---
RIP: 0010:skb_checksum_help+0x851/0x9c0 net/core/dev.c:2917
Code: 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 84 eb fb ff ff 48 8b 7c 24 20 e8 59 df 23 fb e9 dc fb ff ff e8 bf 15 ee fa <0f> 0b 4c 89 ef e8 f5 dc 23 fb e9 dc f7 ff ff 4c 89 e7 e8 a8 de 23
RSP: 0018:ffff8880ab55efe8 EFLAGS: 00010293
RAX: ffff8880ab5822c0 RBX: 00000000000003d2 RCX: ffffffff86745ec7
RDX: 0000000000000000 RSI: ffffffff86746371 RDI: 0000000000000006
RBP: ffff8880ab79d3c0 R08: ffff8880ab55ef78 R09: 00000000000003d4
R10: 0000000000000006 R11: 0000000000000000 R12: ffff8880ab79d444
R13: ffff8880ab79d450 R14: 000000000000534d R15: 00000000000000e0
FS: 000000000166c300(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffd881e8698 CR3: 0000000093eb0000 CR4: 00000000001406e0
Reply all
Reply to author
Forward
0 new messages