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: 1 PID: 9917 Comm: syz-executor1 Not tainted 4.19.0-rc8+ #287 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:memcmp+0x28/0x160 lib/string.c:856 Code: 00 00 48 85 d2 0f 84 0a 01 00 00 48 b8 00 00 00 00 00 fc ff df 55 48 89 f9 48 89 e5 48 c1 e9 03 41 54 53 48 89 fb 48 83 ec 18 <0f> b6 04 01 48 89 f9 83 e1 07 38 c8 7f 08 84 c0 0f 85 98 00 00 00 RSP: 0018:ffff8801b85bef98 EFLAGS: 00010292 RAX: dffffc0000000000 RBX: 1ffff100370b7e4f RCX: 03fffe2006e16fc9 IPVS: ftp: loaded support on port[0] = 21 RDX: 0000000000000002 RSI: ffffffff883ba280 RDI: 1ffff100370b7e4f RBP: ffff8801b85befc0 R08: ffff8801ba6e8040 R09: ffffed003b5e4732 R10: ffffed003b5e4732 R11: ffff8801daf23993 R12: 0000000000000002 R13: ffffffff883ba280 R14: 1fff7901ef67719f R15: dffffc0000000000 FS: 00007fa2fa1b2700(0000) GS:ffff8801daf00000(0000) knlGS:0000000000000000 kobject: 'lo' (00000000c831b820): kobject_add_internal: parent: 'net', set: 'devices' CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2fe27000 CR3: 00000001c031d000 CR4: 00000000001426e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: strnstr+0x4b/0x70 lib/string.c:934 kobject: 'loop5' (00000000155b6e7f): kobject_uevent_env __aa_lookupn_ns+0xc1/0x570 security/apparmor/policy_ns.c:209 kobject: 'lo' (00000000c831b820): kobject_uevent_env kobject: 'lo' (00000000c831b820): fill_kobj_path: path = '/devices/virtual/net/lo' kobject: 'loop5' (00000000155b6e7f): fill_kobj_path: path = '/devices/virtual/block/loop5' kobject: 'loop0' (000000003ee71478): kobject_uevent_env kobject: 'queues' (000000007632a13f): kobject_add_internal: parent: 'lo', set: '' aa_lookupn_ns+0x88/0x1e0 security/apparmor/policy_ns.c:240 aa_fqlookupn_profile+0x1b9/0x1010 security/apparmor/policy.c:468 kobject: 'loop0' (000000003ee71478): fill_kobj_path: path = '/devices/virtual/block/loop0' kobject: 'queues' (000000007632a13f): kobject_uevent_env fqlookupn_profile+0x80/0xc0 security/apparmor/label.c:1844 aa_label_strn_parse+0xa3a/0x1230 security/apparmor/label.c:1908 kobject: 'queues' (000000007632a13f): kobject_uevent_env: filter function caused the event to drop! kobject: 'rx-0' (00000000976ff2cb): kobject_add_internal: parent: 'queues', set: 'queues' kobject: 'rx-0' (00000000976ff2cb): kobject_uevent_env aa_label_parse+0x42/0x50 security/apparmor/label.c:1943 aa_change_profile+0x513/0x3260 security/apparmor/domain.c:1362 kobject: 'rx-0' (00000000976ff2cb): fill_kobj_path: path = '/devices/virtual/net/lo/queues/rx-0' kobject: 'tx-0' (00000000d359bce3): kobject_add_internal: parent: 'queues', set: 'queues' kobject: 'tx-0' (00000000d359bce3): kobject_uevent_env kobject: 'tx-0' (00000000d359bce3): fill_kobj_path: path = '/devices/virtual/net/lo/queues/tx-0' kobject: 'tunl0' (000000002849a1d1): kobject_add_internal: parent: 'net', set: 'devices' apparmor_setprocattr+0xaa4/0x1150 security/apparmor/lsm.c:658 kobject: 'tunl0' (000000002849a1d1): kobject_uevent_env security_setprocattr+0x66/0xc0 security/security.c:1298 proc_pid_attr_write+0x301/0x540 fs/proc/base.c:2569 __vfs_write+0x119/0x9f0 fs/read_write.c:485 kobject: 'loop5' (00000000155b6e7f): kobject_uevent_env kobject: 'tunl0' (000000002849a1d1): fill_kobj_path: path = '/devices/virtual/net/tunl0' vfs_write+0x1fc/0x560 fs/read_write.c:549 ksys_write+0x101/0x260 fs/read_write.c:598 __do_sys_write fs/read_write.c:610 [inline] __se_sys_write fs/read_write.c:607 [inline] __x64_sys_write+0x73/0xb0 fs/read_write.c:607 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 kobject: 'loop5' (00000000155b6e7f): fill_kobj_path: path = '/devices/virtual/block/loop5' kobject: 'queues' (00000000a136abae): kobject_add_internal: parent: 'tunl0', set: '' kobject: 'loop0' (000000003ee71478): kobject_uevent_env kobject: 'queues' (00000000a136abae): kobject_uevent_env kobject: 'queues' (00000000a136abae): kobject_uevent_env: filter function caused the event to drop! entry_SYSCALL_64_after_hwframe+0x49/0xbe kobject: 'loop0' (000000003ee71478): fill_kobj_path: path = '/devices/virtual/block/loop0' RIP: 0033:0x457569 kobject: 'rx-0' (00000000718d8410): kobject_add_internal: parent: 'queues', set: 'queues' Code: fd b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 cb b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fa2fa1b1c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 kobject: 'rx-0' (00000000718d8410): kobject_uevent_env RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457569 RDX: 0000000000000009 RSI: 0000000020000040 RDI: 0000000000000005 RBP: 000000000072bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fa2fa1b26d4 kobject: 'rx-0' (00000000718d8410): fill_kobj_path: path = '/devices/virtual/net/tunl0/queues/rx-0' R13: 00000000004c54ee R14: 00000000004d8e08 R15: 00000000ffffffff kobject: 'tx-0' (00000000e9ecffa7): kobject_add_internal: parent: 'queues', set: 'queues' Modules linked in: ---[ end trace c808d2ece4af090f ]--- kobject: 'tx-0' (00000000e9ecffa7): kobject_uevent_env RIP: 0010:memcmp+0x28/0x160 lib/string.c:856 kobject: 'tx-0' (00000000e9ecffa7): fill_kobj_path: path = '/devices/virtual/net/tunl0/queues/tx-0' Code: 00 00 48 85 d2 0f 84 0a 01 00 00 48 b8 00 00 00 00 00 fc ff df 55 48 89 f9 48 89 e5 48 c1 e9 03 41 54 53 48 89 fb 48 83 ec 18 <0f> b6 04 01 48 89 f9 83 e1 07 38 c8 7f 08 84 c0 0f 85 98 00 00 00 kobject: 'gre0' (00000000186f24f2): kobject_add_internal: parent: 'net', set: 'devices' RSP: 0018:ffff8801b85bef98 EFLAGS: 00010292 kobject: 'gre0' (00000000186f24f2): kobject_uevent_env RAX: dffffc0000000000 RBX: 1ffff100370b7e4f RCX: 03fffe2006e16fc9 kobject: 'gre0' (00000000186f24f2): fill_kobj_path: path = '/devices/virtual/net/gre0' RDX: 0000000000000002 RSI: ffffffff883ba280 RDI: 1ffff100370b7e4f kobject: 'queues' (00000000b87ead2f): kobject_add_internal: parent: 'gre0', set: '' kobject: 'kvm' (0000000013ebef63): kobject_uevent_env kobject: 'queues' (00000000b87ead2f): kobject_uevent_env RBP: ffff8801b85befc0 R08: ffff8801ba6e8040 R09: ffffed003b5e4732 kobject: 'queues' (00000000b87ead2f): kobject_uevent_env: filter function caused the event to drop! R10: ffffed003b5e4732 R11: ffff8801daf23993 R12: 0000000000000002 kobject: 'rx-0' (00000000a0425a8c): kobject_add_internal: parent: 'queues', set: 'queues' kobject: 'kvm' (0000000013ebef63): fill_kobj_path: path = '/devices/virtual/misc/kvm' kobject: 'rx-0' (00000000a0425a8c): kobject_uevent_env R13: ffffffff883ba280 R14: 1fff7901ef67719f R15: dffffc0000000000 kobject: 'rx-0' (00000000a0425a8c): fill_kobj_path: path = '/devices/virtual/net/gre0/queues/rx-0' FS: 00007fa2fa1b2700(0000) GS:ffff8801daf00000(0000) knlGS:0000000000000000 kobject: 'tx-0' (0000000003d94519): kobject_add_internal: parent: 'queues', set: 'queues' kobject: 'tx-0' (0000000003d94519): kobject_uevent_env kobject: 'tx-0' (0000000003d94519): fill_kobj_path: path = '/devices/virtual/net/gre0/queues/tx-0' CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 kobject: 'gretap0' (000000000e80471f): kobject_add_internal: parent: 'net', set: 'devices' CR2: 0000000000000000 CR3: 00000001c031d000 CR4: 00000000001426e0 kobject: 'gretap0' (000000000e80471f): kobject_uevent_env DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 kobject: 'loop4' (000000007d4ef353): kobject_uevent_env DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 kobject: 'gretap0' (000000000e80471f): fill_kobj_path: path = '/devices/virtual/net/gretap0'