audit: type=1400 audit(1588918182.964:8): avc: denied { execmem } for pid=6363 comm="syz-executor269" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1 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: 0 PID: 6363 Comm: syz-executor269 Not tainted 4.14.179-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff888099014380 task.stack: ffff88809b688000 RIP: 0010:__rb_erase_augmented include/linux/rbtree_augmented.h:167 [inline] RIP: 0010:rb_erase+0x29/0x19b0 lib/rbtree.c:459 RSP: 0018:ffff88809b68fa68 EFLAGS: 00010292 RAX: dffffc0000000000 RBX: ffff8880825563f0 RCX: 1ffff110136d1f26 RDX: 0000000000000001 RSI: ffffffff8a65dde0 RDI: 0000000000000008 RBP: 0000000000000000 R08: ffffffff8a0f9bcc R09: 0000000000001e26 R10: ffff88809b68f870 R11: ffff888099014380 R12: ffff888082557430 R13: 0000000000000000 R14: ffff8880825574b8 R15: ffffffff8a65dde0 FS: 0000000001683880(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000040 CR3: 00000000a3a08000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: integrity_inode_free+0x119/0x300 security/integrity/iint.c:146 security_inode_free+0x14/0x80 security/security.c:443 __destroy_inode+0x1e8/0x4c0 fs/inode.c:238 destroy_inode+0x49/0x110 fs/inode.c:265 iput_final fs/inode.c:1524 [inline] iput fs/inode.c:1551 [inline] iput+0x457/0x8d0 fs/inode.c:1536 swap_inode_boot_loader fs/ext4/ioctl.c:197 [inline] ext4_ioctl+0x1471/0x3a00 fs/ext4/ioctl.c:924 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x75a/0xfe0 fs/ioctl.c:684 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x7f/0xb0 fs/ioctl.c:692 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x4401b9 RSP: 002b:00007ffcb5837c28 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 00000000004401b9 RDX: 0000000000000000 RSI: 0000000000006611 RDI: 0000000000000003 RBP: 00000000006ca018 R08: 0000000000000000 R09: 00000000004002c8 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000401a40 R13: 0000000000401ad0 R14: 0000000000000000 R15: 0000000000000000 Code: 00 00 48 b8 00 00 00 00 00 fc ff df 41 57 49 89 f7 41 56 41 55 49 89 fd 48 83 c7 08 48 89 fa 41 54 48 c1 ea 03 55 53 48 83 ec 18 <80> 3c 02 00 0f 85 f5 10 00 00 49 8d 7d 10 4d 8b 75 08 48 b8 00 RIP: __rb_erase_augmented include/linux/rbtree_augmented.h:167 [inline] RSP: ffff88809b68fa68 RIP: rb_erase+0x29/0x19b0 lib/rbtree.c:459 RSP: ffff88809b68fa68 ---[ end trace f045796b4111206f ]---