bisecting fixing commit since 1ec8f1f0bffe34ebdf95dbe0fd4a6635a84612a8 building syzkaller on 505ab413c77ce8c6bd4658ea5e68ea2534d47b39 testing commit 1ec8f1f0bffe34ebdf95dbe0fd4a6635a84612a8 with gcc (GCC) 8.1.0 kernel signature: ad53ced7f878c42fe333f79c7e3534e0ac7d9fd4919d7d86c6c4b1ddac068caa all runs: crashed: general protection fault in vb2_vmalloc_put testing current HEAD a41ba30d9df20fe141c92aacbb56b6b077f19716 testing commit a41ba30d9df20fe141c92aacbb56b6b077f19716 with gcc (GCC) 8.1.0 kernel signature: 6ba1cc0aeed75b462c9c35c19e66f8aa3ebb9888169aa21958d878114a4ca1fe all runs: crashed: general protection fault in vb2_vmalloc_put revisions tested: 2, total time: 22m41.016632746s (build: 15m52.852813211s, test: 6m13.184887146s) the crash still happens on HEAD commit msg: Linux 4.14.181 crash: general protection fault in vb2_vmalloc_put 8021q: adding VLAN 0 to HW filter on device team0 IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready kasan: CONFIG_KASAN_INLINE enabled IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_hsr: link becomes ready kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready Modules linked in: CPU: 1 PID: 6989 Comm: syz-executor.0 Not tainted 4.14.181-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_team: link becomes ready task: ffff8880a53261c0 task.stack: ffff8880956c8000 RIP: 0010:__read_once_size include/linux/compiler.h:183 [inline] RIP: 0010:atomic_read arch/x86/include/asm/atomic.h:27 [inline] RIP: 0010:refcount_sub_and_test+0x1c/0x90 lib/refcount.c:179 RSP: 0018:ffff8880956cfbd0 EFLAGS: 00010282 IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready RAX: dffffc0000000000 RBX: 0000000000000001 RCX: 1ffff11014a64d52 RDX: 0000000000000004 RSI: 0000000000000020 RDI: 0000000000000001 RBP: ffff8880956cfbe0 R08: ffff8880a5326a90 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff888095d4ca40 R13: dffffc0000000000 R14: ffff888095d4ca54 R15: 0000000000000000 FS: 0000000002224940(0000) GS:ffff8880aef00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005572279d1fd8 CR3: 000000009b9b7000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: refcount_dec_and_test+0x11/0x20 lib/refcount.c:212 vb2_vmalloc_put+0x11/0x50 drivers/media/v4l2-core/videobuf2-vmalloc.c:68 IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready __vb2_buf_mem_free+0xf3/0x1c0 drivers/media/v4l2-core/videobuf2-core.c:240 __vb2_free_mem drivers/media/v4l2-core/videobuf2-core.c:409 [inline] __vb2_queue_free+0x580/0x770 drivers/media/v4l2-core/videobuf2-core.c:454 vb2_core_queue_release+0x57/0x70 drivers/media/v4l2-core/videobuf2-core.c:2043 vb2_queue_release drivers/media/v4l2-core/videobuf2-v4l2.c:669 [inline] _vb2_fop_release+0x1ac/0x280 drivers/media/v4l2-core/videobuf2-v4l2.c:840 IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready vb2_fop_release+0x66/0xd0 drivers/media/v4l2-core/videobuf2-v4l2.c:854 IPv6: ADDRCONF(NETDEV_UP): veth1: link is not ready vivid_fop_release+0x15f/0x3a0 drivers/media/platform/vivid/vivid-core.c:486 v4l2_release+0xee/0x1a0 drivers/media/v4l2-core/v4l2-dev.c:446 __fput+0x235/0x750 fs/file_table.c:210 IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready ____fput+0x9/0x10 fs/file_table.c:244 task_work_run+0xeb/0x180 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:191 [inline] exit_to_usermode_loop+0x16a/0x1b0 arch/x86/entry/common.c:164 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline] syscall_return_slowpath arch/x86/entry/common.c:270 [inline] do_syscall_64+0x418/0x5b0 arch/x86/entry/common.c:297 8021q: adding VLAN 0 to HW filter on device team0 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x4129e1 IPv6: ADDRCONF(NETDEV_UP): veth0_to_bridge: link is not ready RSP: 002b:00007ffeec600220 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00000000004129e1 RDX: 0000001b31820000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000740868 R08: 000000000000b571 R09: 000000000000b571 R10: 00007ffeec6002f0 R11: 0000000000000293 R12: 0000000000000001 R13: 000000000000b575 R14: 000000000000b5a2 R15: 000000000073bf0c Code: a6 IPv6: ADDRCONF(NETDEV_UP): veth1_to_bridge: link is not ready bf 6c 05 00 0f 84 42 IPv6: ADDRCONF(NETDEV_UP): veth0_to_bond: link is not ready 02 00 00 5d c3 66 90 48 IPv6: ADDRCONF(NETDEV_UP): veth1_to_bond: link is not ready b8 00 00 00 00 00 fc ff df 55 48 89 f2 48 89 e5 48 c1 ea 03 53 89 fb 48 IPv6: ADDRCONF(NETDEV_UP): veth0_to_team: link is not ready 83 ec 08 <0f> b6 14 02 IPv6: ADDRCONF(NETDEV_UP): veth1_to_team: link is not ready 48 89 f0 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 3a IPv6: ADDRCONF(NETDEV_UP): veth0_to_hsr: link is not ready RIP: __read_once_size include/linux/compiler.h:183 [inline] RSP: ffff8880956cfbd0 RIP: atomic_read arch/x86/include/asm/atomic.h:27 [inline] RSP: ffff8880956cfbd0 RIP: refcount_sub_and_test+0x1c/0x90 lib/refcount.c:179 RSP: ffff8880956cfbd0 ---[ end trace 153a7c9ef7b5e763 ]--- IPv6: ADDRCONF(NETDEV_UP): veth0_to_hsr: link is not ready IPv6: ADDRCONF(NETDEV_UP): veth0_to_bridge: link is not ready