[v6.1] WARNING in gre_tap_xmit

0 views
Skip to first unread message

syzbot

unread,
Apr 19, 2024, 10:29:26 AMApr 19
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 6741e066ec76 Linux 6.1.87
git tree: linux-6.1.y
console output: https://syzkaller.appspot.com/x/log.txt?x=138cff0b180000
kernel config: https://syzkaller.appspot.com/x/.config?x=3fc2f61bd0ae457
dashboard link: https://syzkaller.appspot.com/bug?extid=5fc5f19392dd9b9b1707
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1349bf67180000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=13d6d1fd180000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/665ba05da528/disk-6741e066.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/2ec8afc9ea0a/vmlinux-6741e066.xz
kernel image: https://storage.googleapis.com/syzbot-assets/b0dbfd69f35b/bzImage-6741e066.xz

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

netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0
netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0
netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0
netlink: 'syz-executor355': attribute type 10 has an invalid length.
bond0: (slave gretap0): Enslaving as an active interface with an up link
------------[ cut here ]------------
WARNING: CPU: 1 PID: 3542 at include/linux/skbuff.h:2641 pskb_network_may_pull include/linux/skbuff.h:2967 [inline]
WARNING: CPU: 1 PID: 3542 at include/linux/skbuff.h:2641 pskb_inet_may_pull include/net/ip_tunnels.h:351 [inline]
WARNING: CPU: 1 PID: 3542 at include/linux/skbuff.h:2641 gre_tap_xmit+0x501/0x6e0 net/ipv4/ip_gre.c:737
Modules linked in:
CPU: 1 PID: 3542 Comm: syz-executor355 Not tainted 6.1.87-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:pskb_may_pull include/linux/skbuff.h:2641 [inline]
RIP: 0010:pskb_network_may_pull include/linux/skbuff.h:2967 [inline]
RIP: 0010:pskb_inet_may_pull include/net/ip_tunnels.h:351 [inline]
RIP: 0010:gre_tap_xmit+0x501/0x6e0 net/ipv4/ip_gre.c:737
Code: b6 8d 09 0d 00 00 4c 89 ef 48 89 ee 48 89 da e8 25 b6 fb ff 31 c0 48 83 c4 38 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 5f a1 60 f8 <0f> 0b e9 04 fc ff ff 44 89 e7 89 ee e8 ae a2 60 f8 41 39 ec 48 bd
RSP: 0018:ffffc900039fee90 EFLAGS: 00010293
RAX: ffffffff8929ee01 RBX: ffff888070cc75d8 RCX: ffff8880244e0000
RDX: 0000000000000000 RSI: 00000000ffffffb6 RDI: 0000000000000000
RBP: 00000000ffffffb6 R08: ffffffff8929e9fe R09: fffffbfff1ce6eee
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: ffff888070cc7500 R14: ffff888078f5a000 R15: dffffc0000000000
FS: 0000555557053380(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020010000 CR3: 000000007974b000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
__netdev_start_xmit include/linux/netdevice.h:4853 [inline]
netdev_start_xmit include/linux/netdevice.h:4867 [inline]
xmit_one net/core/dev.c:3627 [inline]
dev_hard_start_xmit+0x261/0x8c0 net/core/dev.c:3643
sch_direct_xmit+0x2b2/0x5e0 net/sched/sch_generic.c:342
__dev_xmit_skb net/core/dev.c:3854 [inline]
__dev_queue_xmit+0x1ace/0x3cf0 net/core/dev.c:4259
bond_start_xmit+0x134b/0x1d50 drivers/net/bonding/bond_main.c:5482
__netdev_start_xmit include/linux/netdevice.h:4853 [inline]
netdev_start_xmit include/linux/netdevice.h:4867 [inline]
xmit_one net/core/dev.c:3627 [inline]
dev_hard_start_xmit+0x261/0x8c0 net/core/dev.c:3643
__dev_queue_xmit+0x1bb1/0x3cf0 net/core/dev.c:4293
packet_snd net/packet/af_packet.c:3077 [inline]
packet_sendmsg+0x4775/0x61a0 net/packet/af_packet.c:3108
sock_sendmsg_nosec net/socket.c:718 [inline]
__sock_sendmsg net/socket.c:730 [inline]
____sys_sendmsg+0x5a5/0x8f0 net/socket.c:2514
___sys_sendmsg net/socket.c:2568 [inline]
__sys_sendmsg+0x2a9/0x390 net/socket.c:2597
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f4ace735c09
Code: 48 83 c4 28 c3 e8 d7 19 00 00 0f 1f 80 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffee638f638 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f4ace7833d3 RCX: 00007f4ace735c09
RDX: 00000000200400c4 RSI: 0000000020000180 RDI: 0000000000000004
RBP: 00007ffee638f660 R08: 0000000000000001 R09: 0000000000000001
R10: 0000000000000004 R11: 0000000000000246 R12: 00007ffee638f670
R13: 00007f4ace783004 R14: 00007ffee638f65c R15: 0000000000000003
</TASK>


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

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want syzbot to run the reproducer, reply with:
#syz test: git://repo/address.git branch-or-commit-hash
If you attach or paste a git patch, syzbot will apply it before testing.

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup
Reply all
Reply to author
Forward
0 new messages