Hello,
syzbot found the following issue on:
HEAD commit: 2f166cdc Linux 4.14.196
git tree: linux-4.14.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=1746a5f9900000
kernel config:
https://syzkaller.appspot.com/x/.config?x=e2677667b00dfecb
dashboard link:
https://syzkaller.appspot.com/bug?extid=94656d26e2e06afc41b5
compiler: gcc (GCC) 10.1.0-syz 20200507
syz repro:
https://syzkaller.appspot.com/x/repro.syz?x=150c597d900000
C reproducer:
https://syzkaller.appspot.com/x/repro.c?x=15704735900000
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+94656d...@syzkaller.appspotmail.com
device gtp6 entered promiscuous mode
device vlan0 entered promiscuous mode
IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 1 PID: 6514 Comm: syz-executor932 Not tainted 4.14.196-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff888095f0a0c0 task.stack: ffff8880975e0000
RIP: 0010:__read_once_size include/linux/compiler.h:183 [inline]
RIP: 0010:compound_head include/linux/page-flags.h:147 [inline]
RIP: 0010:put_page include/linux/mm.h:860 [inline]
RIP: 0010:__skb_frag_unref include/linux/skbuff.h:2801 [inline]
RIP: 0010:skb_release_data+0x1e3/0x820 net/core/skbuff.c:568
RSP: 0018:ffff8880aeb07ad8 EFLAGS: 00010202
RAX: 0000000000000004 RBX: dffffc0000000000 RCX: 0000000000000002
RDX: 0000000000000100 RSI: 0000000000000002 RDI: 0000000000000020
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000004
R10: 0000000000000000 R11: ffff888095f0a0c0 R12: 0000000000000000
R13: ffff888092d3b0c0 R14: ffff888092d3b0f0 R15: ffff88808617c240
FS: 0000000001710880(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000200004c0 CR3: 000000009f552000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<IRQ>
skb_release_all net/core/skbuff.c:631 [inline]
__kfree_skb net/core/skbuff.c:645 [inline]
kfree_skb+0xe7/0x390 net/core/skbuff.c:663
validate_xmit_skb+0x78f/0x9f0 net/core/dev.c:3105
__dev_queue_xmit+0x816/0x2480 net/core/dev.c:3513
garp_queue_xmit net/802/garp.c:262 [inline]
garp_join_timer+0xb9/0xf0 net/802/garp.c:413
call_timer_fn+0x14a/0x650 kernel/time/timer.c:1280
expire_timers+0x232/0x4d0 kernel/time/timer.c:1319
__run_timers kernel/time/timer.c:1644 [inline]
run_timer_softirq+0x1d5/0x5a0 kernel/time/timer.c:1657
__do_softirq+0x254/0xa1d kernel/softirq.c:288
invoke_softirq kernel/softirq.c:368 [inline]
irq_exit+0x193/0x240 kernel/softirq.c:409
exiting_irq arch/x86/include/asm/apic.h:648 [inline]
smp_apic_timer_interrupt+0x141/0x5e0 arch/x86/kernel/apic/apic.c:1102
apic_timer_interrupt+0x93/0xa0 arch/x86/entry/entry_64.S:793
</IRQ>
RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:779 [inline]
RIP: 0010:console_unlock+0xbeb/0xf20 kernel/printk/printk.c:2405
RSP: 0018:ffff8880975e70d8 EFLAGS: 00000297 ORIG_RAX: ffffffffffffff10
RAX: ffff888095f0a0c0 RBX: 0000000000000200 RCX: 1ffff11012be1532
RDX: 0000000000000000 RSI: ffff888095f0a970 RDI: 0000000000000297
RBP: 0000000000000000 R08: ffffffff8a095d68 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff83e31c30
R13: ffffffff883a0490 R14: dffffc0000000000 R15: 0000000000000048
vprintk_emit+0x224/0x620 kernel/printk/printk.c:1923
vprintk_func+0x58/0x152 kernel/printk/printk_safe.c:401
printk+0x9e/0xbc kernel/printk/printk.c:1996
addrconf_notify.cold+0x5e/0x17c net/ipv6/addrconf.c:3450
notifier_call_chain+0x108/0x1a0 kernel/notifier.c:93
call_netdevice_notifiers_info net/core/dev.c:1667 [inline]
__dev_notify_flags+0x234/0x260 net/core/dev.c:6841
rtnl_configure_link+0x141/0x200 net/core/rtnetlink.c:2430
rtnl_newlink+0xfa4/0x1830 net/core/rtnetlink.c:2748
rtnetlink_rcv_msg+0x3be/0xb10 net/core/rtnetlink.c:4316
netlink_rcv_skb+0x125/0x390 net/netlink/af_netlink.c:2433
netlink_unicast_kernel net/netlink/af_netlink.c:1287 [inline]
netlink_unicast+0x437/0x610 net/netlink/af_netlink.c:1313
netlink_sendmsg+0x62e/0xb80 net/netlink/af_netlink.c:1878
sock_sendmsg_nosec net/socket.c:646 [inline]
sock_sendmsg+0xb5/0x100 net/socket.c:656
___sys_sendmsg+0x6c8/0x800 net/socket.c:2062
__sys_sendmsg+0xa3/0x120 net/socket.c:2096
SYSC_sendmsg net/socket.c:2107 [inline]
SyS_sendmsg+0x27/0x40 net/socket.c:2103
do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x441929
RSP: 002b:00007fffadbdc448 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000441929
RDX: 0000000000000000 RSI: 0000000020000280 RDI: 0000000000000005
RBP: 00007fffadbdc450 R08: 0000000100000000 R09: 0000000100000000
R10: 0000000100000000 R11: 0000000000000246 R12: 000000000000891f
R13: 0000000000402800 R14: 0000000000000000 R15: 0000000000000000
Code: 58 4d fc 4c 89 f0 48 c1 e8 03 80 3c 18 00 0f 85 48 05 00 00 49 63 c4 48 c1 e0 04 4a 8b 6c 28 30 48 8d 7d 20 48 89 f8 48 c1 e8 03 <80> 3c 18 00 0f 85 1d 05 00 00 4c 8b 7d 20 41 f6 c7 01 0f 85 ef
RIP: __read_once_size include/linux/compiler.h:183 [inline] RSP: ffff8880aeb07ad8
RIP: compound_head include/linux/page-flags.h:147 [inline] RSP: ffff8880aeb07ad8
RIP: put_page include/linux/mm.h:860 [inline] RSP: ffff8880aeb07ad8
RIP: __skb_frag_unref include/linux/skbuff.h:2801 [inline] RSP: ffff8880aeb07ad8
RIP: skb_release_data+0x1e3/0x820 net/core/skbuff.c:568 RSP: ffff8880aeb07ad8
---[ end trace c8ffed087b5aa8f0 ]---
syzbot can test patches for this issue, for details see:
https://goo.gl/tpsmEJ#testing-patches