syzbot


general protection fault in skb_release_data

Status: upstream: reported C repro on 2020/09/07 04:13
Reported-by: syzbot+9d41e9a3d0a721576004@syzkaller.appspotmail.com
First crash: 1320d, last: 1317d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-49 general protection fault in skb_release_data 1 2441d 2441d 1/3 fixed on 2017/10/23 20:15
upstream general protection fault in skb_release_data (2) net C done error 523 4d06h 1318d 0/26 upstream: reported C repro on 2020/09/09 09:58
linux-4.14 general protection fault in skb_release_data C 1 426d 1318d 0/1 upstream: reported C repro on 2020/09/08 19:28
upstream general protection fault in skb_release_data syz 198 2437d 2438d 3/26 fixed on 2017/10/24 06:54
Last patch testing requests (1)
Created Duration User Patch Repo Result
2022/08/28 22:27 10m retest repro linux-4.19.y error OK

Sample crash report:
device gtp11 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
CPU: 0 PID: 6663 Comm: syz-executor986 Not tainted 4.19.144-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__read_once_size include/linux/compiler.h:193 [inline]
RIP: 0010:compound_head include/linux/page-flags.h:142 [inline]
RIP: 0010:put_page include/linux/mm.h:951 [inline]
RIP: 0010:__skb_frag_unref include/linux/skbuff.h:2816 [inline]
RIP: 0010:skb_release_data+0x237/0x920 net/core/skbuff.c:568
Code: 48 c1 e8 03 42 80 3c 28 00 0f 85 d9 05 00 00 48 8b 0c 24 49 63 c4 48 c1 e0 04 48 8b 6c 08 30 48 8d 7d 08 48 89 f8 48 c1 e8 03 <42> 80 3c 28 00 0f 85 c0 05 00 00 48 8b 5d 08 31 ff 49 89 de 41 83
RSP: 0018:ffff8880ae607a48 EFLAGS: 00010202
RAX: 0000000000000001 RBX: 0000000000000003 RCX: ffff88808982e640
RDX: 0000000000000100 RSI: ffffffff85b479fa RDI: 0000000000000008
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000
R13: dffffc0000000000 R14: ffff88808982e640 R15: ffff88808982e670
FS:  0000000002257880(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000200004c0 CR3: 000000008b4e7000 CR4: 00000000001406f0
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+0x11a/0x3d0 net/core/skbuff.c:663
 validate_xmit_skb+0x96a/0xd50 net/core/dev.c:3359
 __dev_queue_xmit+0x963/0x2e00 net/core/dev.c:3830
 garp_queue_xmit net/802/garp.c:262 [inline]
 garp_join_timer+0xb6/0xf0 net/802/garp.c:413
 call_timer_fn+0x177/0x700 kernel/time/timer.c:1338
 expire_timers+0x243/0x4e0 kernel/time/timer.c:1375
 __run_timers kernel/time/timer.c:1703 [inline]
 run_timer_softirq+0x21c/0x670 kernel/time/timer.c:1716
 __do_softirq+0x26c/0x9a0 kernel/softirq.c:292
 invoke_softirq kernel/softirq.c:372 [inline]
 irq_exit+0x215/0x260 kernel/softirq.c:412
 exiting_irq arch/x86/include/asm/apic.h:544 [inline]
 smp_apic_timer_interrupt+0x136/0x550 arch/x86/kernel/apic/apic.c:1094
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894
 </IRQ>
RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:789 [inline]
RIP: 0010:console_unlock+0xe7b/0x1110 kernel/printk/printk.c:2465
Code: ff df 48 c1 e8 03 80 3c 08 00 0f 85 66 02 00 00 48 83 3d 9f d3 7d 07 00 0f 84 9e 00 00 00 e8 1c 2a 15 00 48 8b 7c 24 30 57 9d <0f> 1f 44 00 00 e9 9b fc ff ff e8 06 2a 15 00 0f 0b e8 ff 29 15 00
RSP: 0018:ffff88808ef1ec80 EFLAGS: 00000293 ORIG_RAX: ffffffffffffff13
RAX: ffff8880a472e300 RBX: 0000000000000200 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: ffffffff815487b4 RDI: 0000000000000293
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff845cd060
R13: 0000000000000048 R14: 0000000000000000 R15: ffffffff89460d70
 vprintk_emit+0x2d1/0x740 kernel/printk/printk.c:1965
 vprintk_func+0x79/0x17e kernel/printk/printk_safe.c:397
 printk+0xba/0xed kernel/printk/printk.c:2040
 addrconf_notify.cold+0x29/0x6b net/ipv6/addrconf.c:3528
 notifier_call_chain+0xc0/0x230 kernel/notifier.c:93
 __dev_notify_flags+0x280/0x2b0 net/core/dev.c:7722
 rtnl_configure_link+0x169/0x230 net/core/rtnetlink.c:2839
 rtnl_newlink+0x104e/0x15b0 net/core/rtnetlink.c:3161
 rtnetlink_rcv_msg+0x453/0xb80 net/core/rtnetlink.c:4778
 netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2455
 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline]
 netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1344
 netlink_sendmsg+0x6bb/0xc40 net/netlink/af_netlink.c:1909
 sock_sendmsg_nosec net/socket.c:622 [inline]
 sock_sendmsg+0xc3/0x120 net/socket.c:632
 ___sys_sendmsg+0x7bb/0x8e0 net/socket.c:2115
 __sys_sendmsg net/socket.c:2153 [inline]
 __do_sys_sendmsg net/socket.c:2162 [inline]
 __se_sys_sendmsg net/socket.c:2160 [inline]
 __x64_sys_sendmsg+0x132/0x220 net/socket.c:2160
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x441929
Code: e8 5c ad 02 00 48 83 c4 18 c3 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 0f 83 bb 09 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fff1d67e8f8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000441929
RDX: 0000000000000000 RSI: 0000000020000280 RDI: 0000000000000005
RBP: 00007fff1d67e900 R08: 0000000100000000 R09: 0000000100000000
R10: 0000000100000000 R11: 0000000000000246 R12: 000000000000af22
R13: 0000000000402800 R14: 0000000000000000 R15: 0000000000000000
Modules linked in:
---[ end trace 768330f5d74022b2 ]---
RIP: 0010:__read_once_size include/linux/compiler.h:193 [inline]
RIP: 0010:compound_head include/linux/page-flags.h:142 [inline]
RIP: 0010:put_page include/linux/mm.h:951 [inline]
RIP: 0010:__skb_frag_unref include/linux/skbuff.h:2816 [inline]
RIP: 0010:skb_release_data+0x237/0x920 net/core/skbuff.c:568
Code: 48 c1 e8 03 42 80 3c 28 00 0f 85 d9 05 00 00 48 8b 0c 24 49 63 c4 48 c1 e0 04 48 8b 6c 08 30 48 8d 7d 08 48 89 f8 48 c1 e8 03 <42> 80 3c 28 00 0f 85 c0 05 00 00 48 8b 5d 08 31 ff 49 89 de 41 83
RSP: 0018:ffff8880ae607a48 EFLAGS: 00010202
RAX: 0000000000000001 RBX: 0000000000000003 RCX: ffff88808982e640
RDX: 0000000000000100 RSI: ffffffff85b479fa RDI: 0000000000000008
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000
R13: dffffc0000000000 R14: ffff88808982e640 R15: ffff88808982e670
FS:  0000000002257880(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000200004c0 CR3: 000000008b4e7000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/09/10 06:52 linux-4.19.y 67957f12548c ac7ca78e .config console log report syz C ci2-linux-4-19
2020/09/07 04:12 linux-4.19.y c37da90efff5 abf9ba4f .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.