syzbot


general protection fault in skb_release_data

Status: upstream: reported C repro on 2020/09/08 19:28
Reported-by: syzbot+94656d26e2e06afc41b5@syzkaller.appspotmail.com
First crash: 1488d, last: 595d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 general protection fault in skb_release_data C error 2 1486d 1489d 0/1 upstream: reported C repro on 2020/09/07 04:13
android-49 general protection fault in skb_release_data 1 2610d 2610d 1/3 fixed on 2017/10/23 20:15
upstream general protection fault in skb_release_data (2) net bluetooth C done error 683 75d 1487d 0/28 upstream: reported C repro on 2020/09/09 09:58
upstream general protection fault in skb_release_data syz 198 2606d 2608d 3/28 fixed on 2017/10/24 06:54
Fix bisection attempts (25)
Created Duration User Patch Repo Result
2023/02/18 12:08 25m bisect fix linux-4.14.y OK (0) job log log
2023/01/19 11:25 31m bisect fix linux-4.14.y OK (0) job log log
2022/10/26 07:30 30m bisect fix linux-4.14.y OK (0) job log log
2022/09/15 19:28 22m bisect fix linux-4.14.y OK (0) job log log
2022/08/16 18:59 28m bisect fix linux-4.14.y OK (0) job log log
2022/07/17 18:33 25m bisect fix linux-4.14.y OK (0) job log log
2022/06/17 18:09 23m bisect fix linux-4.14.y OK (0) job log log
2022/05/18 17:39 29m bisect fix linux-4.14.y OK (0) job log log
2022/04/18 15:48 30m bisect fix linux-4.14.y OK (0) job log log
2022/03/19 15:05 25m bisect fix linux-4.14.y OK (0) job log log
2022/02/17 13:48 27m bisect fix linux-4.14.y OK (0) job log log
2022/01/18 13:15 32m bisect fix linux-4.14.y OK (0) job log log
2021/12/19 12:48 26m bisect fix linux-4.14.y OK (0) job log log
2021/11/19 12:20 27m bisect fix linux-4.14.y OK (0) job log log
2021/10/20 11:55 24m bisect fix linux-4.14.y OK (0) job log log
2021/09/20 11:32 22m bisect fix linux-4.14.y OK (0) job log log
2021/08/21 10:46 30m bisect fix linux-4.14.y OK (0) job log log
2021/07/22 10:11 30m bisect fix linux-4.14.y OK (0) job log log
2021/06/22 08:37 27m bisect fix linux-4.14.y OK (0) job log log
2021/05/22 15:05 32m bisect fix linux-4.14.y OK (0) job log log
2021/04/22 14:12 22m bisect fix linux-4.14.y OK (0) job log log
2021/03/23 13:36 21m bisect fix linux-4.14.y OK (0) job log log
2021/02/21 09:28 21m bisect fix linux-4.14.y OK (0) job log log
2021/02/18 05:05 18m bisect fix linux-4.14.y error job log
2021/02/05 22:24 0m bisect fix linux-4.14.y error job log

Sample crash report:
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 ]---

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/09/08 19:27 linux-4.14.y 2f166cdcf8a9 abf9ba4f .config console log report syz C ci2-linux-4-14
* Struck through repros no longer work on HEAD.