kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 0 PID: 6324 Comm: syz-executor3 Not tainted 4.15.0-rc1-next-20171201+ #57 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: 000000005a2b69cc task.stack: 0000000084265c33 RIP: 0010:sidtab_search_core+0x6a/0x320 security/selinux/ss/sidtab.c:88 RSP: 0018:ffff8801d7657488 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000008 RCX: ffffffff8220ea3d RDX: 0000000000000001 RSI: ffffc90002dda000 RDI: ffffffff874c8180 RBP: ffff8801d76574b8 R08: ffffffff86feeaf0 R09: 0000000000002a98 R10: 0000000000000000 R11: ffffffff8748cd60 R12: 0000000000000001 R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001 FS: 00007efd425d6700(0000) GS:ffff8801db400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000204e5fa8 CR3: 00000001c3dd3000 CR4: 00000000001406f0 Call Trace: sidtab_search+0x1f/0x30 security/selinux/ss/sidtab.c:111 security_bounded_transition+0xa8/0x4d0 security/selinux/ss/services.c:873 selinux_setprocattr+0x8d0/0xb50 security/selinux/hooks.c:6043 security_setprocattr+0x85/0xc0 security/security.c:1264 proc_pid_attr_write+0x1e6/0x280 fs/proc/base.c:2574 __vfs_write+0xef/0x970 fs/read_write.c:480 __kernel_write+0xfe/0x350 fs/read_write.c:501 write_pipe_buf+0x175/0x220 fs/splice.c:797 splice_from_pipe_feed fs/splice.c:502 [inline] __splice_from_pipe+0x328/0x730 fs/splice.c:626 splice_from_pipe+0x1e9/0x330 fs/splice.c:661 default_file_splice_write+0x40/0x90 fs/splice.c:809 do_splice_from fs/splice.c:851 [inline] direct_splice_actor+0x125/0x180 fs/splice.c:1018 splice_direct_to_actor+0x2c1/0x820 fs/splice.c:973 do_splice_direct+0x2a7/0x3d0 fs/splice.c:1061 do_sendfile+0x5d5/0xe90 fs/read_write.c:1413 SYSC_sendfile64 fs/read_write.c:1468 [inline] SyS_sendfile64+0xbd/0x160 fs/read_write.c:1460 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x4529d9 RSP: 002b:00007efd425d5c58 EFLAGS: 00000212 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 0000000000758020 RCX: 00000000004529d9 RDX: 0000000020a9c000 RSI: 0000000000000014 RDI: 0000000000000014 RBP: 00000000000005ab R08: 0000000000000000 R09: 0000000000000000 R10: 0000000100000001 R11: 0000000000000212 R12: 00000000006f58a8 R13: 00000000ffffffff R14: 00007efd425d66d4 R15: 0000000000000000 Code: ea 03 41 83 e4 7f 80 3c 02 00 0f 85 7d 02 00 00 4c 8b 33 4d 63 e4 48 b8 00 00 00 00 00 fc ff df 4b 8d 1c e6 48 89 da 48 c1 ea 03 <80> 3c 02 00 0f 85 41 02 00 00 48 8b 1b 48 85 db 0f 84 8b 00 00 RIP: sidtab_search_core+0x6a/0x320 security/selinux/ss/sidtab.c:88 RSP: ffff8801d7657488 ---[ end trace b4ffcc6f4aa14e06 ]---