kasan: GPF could be caused by NULL-ptr deref or user memory access entry_SYSCALL_64_after_hwframe+0x49/0xbe general protection fault: 0000 [#1] PREEMPT SMP KASAN RIP: 0033:0x457579 CPU: 1 PID: 14869 Comm: syz-executor2 Not tainted 4.19.0-rc6+ #134 Code: 1d b4 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 eb b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RSP: 002b:00007fe520923c78 EFLAGS: 00000246 RIP: 0010:__rb_erase_augmented include/linux/rbtree_augmented.h:168 [inline] RIP: 0010:rb_erase+0x306/0x3710 lib/rbtree.c:459 ORIG_RAX: 0000000000000031 Code: c7 81 28 01 00 00 f2 f2 f2 f2 c7 81 2c 01 00 00 00 f2 f2 f2 48 89 f9 65 48 8b 1c 25 28 00 00 00 48 89 5d d0 31 db 48 c1 e9 03 <42> 80 3c 01 00 0f 85 41 1c 00 00 4c 8d 48 10 4c 8b 78 08 48 b9 00 RAX: ffffffffffffffda RBX: 00007fe520923c90 RCX: 0000000000457579 RSP: 0018:ffff88019ae05ee0 EFLAGS: 00010202 RDX: 0000000000000010 RSI: 00000000200001c0 RDI: 0000000000000003 RBP: 000000000072bf00 R08: 0000000000000000 R09: 0000000000000000 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe5209246d4 RDX: 1ffff100335c0be4 RSI: ffffffff8afbc8a0 RDI: 0000000000000008 RBP: ffff88019ae068e8 R08: dffffc0000000000 R09: fffffbfff12d69b0 R13: 00000000004bd6ed R14: 00000000004cbf80 R15: 0000000000000005 R10: fffffbfff12d69b0 R11: ffffffff896b4d83 R12: ffff88018f9a5870 R13: dffffc0000000000 R14: ffff88019ae068c0 R15: ffff88019ae06a00 FS: 00007fccf87f6700(0000) GS:ffff8801daf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000726ff4 CR3: 00000001c386e000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: integrity_inode_free+0x12f/0x320 security/integrity/iint.c:150 security_inode_free+0x19/0x90 security/security.c:453 __destroy_inode+0x328/0x820 fs/inode.c:238 destroy_inode+0xda/0x200 fs/inode.c:265 evict+0x5e0/0x980 fs/inode.c:575 dispose_list+0x252/0x410 fs/inode.c:593 prune_icache_sb+0x12f/0x1c0 fs/inode.c:781 super_cache_scan+0x2bf/0x480 fs/super.c:104 do_shrink_slab+0x4e7/0xd20 mm/vmscan.c:547 shrink_slab_memcg mm/vmscan.c:612 [inline] shrink_slab+0x6f6/0x8c0 mm/vmscan.c:684 shrink_node+0x431/0x16b0 mm/vmscan.c:2745 shrink_zones mm/vmscan.c:2974 [inline] do_try_to_free_pages+0x3e7/0x1290 mm/vmscan.c:3036 try_to_free_mem_cgroup_pages+0x4bb/0xca0 mm/vmscan.c:3334 memory_high_write+0x283/0x310 mm/memcontrol.c:5454 cgroup_file_write+0x2f7/0x7e0 kernel/cgroup/cgroup.c:3450 kernfs_fop_write+0x2ba/0x480 fs/kernfs/file.c:316 do_loop_readv_writev fs/read_write.c:703 [inline] do_iter_write+0x48f/0x5f0 fs/read_write.c:961 vfs_writev+0x1f1/0x360 fs/read_write.c:1004 do_writev+0x11a/0x310 fs/read_write.c:1039 __do_sys_writev fs/read_write.c:1112 [inline] __se_sys_writev fs/read_write.c:1109 [inline] __x64_sys_writev+0x75/0xb0 fs/read_write.c:1109 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457579 Code: 1d b4 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 eb b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fccf87f5c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000014 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457579 RDX: 0000000000000001 RSI: 0000000020000700 RDI: 0000000000000004 RBP: 000000000072bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fccf87f66d4 R13: 00000000004c30c9 R14: 00000000004d9078 R15: 00000000ffffffff Modules linked in: ---[ end trace 615a97129ad8bb2d ]--- RIP: 0010:__rb_erase_augmented include/linux/rbtree_augmented.h:168 [inline] RIP: 0010:rb_erase+0x306/0x3710 lib/rbtree.c:459 Code: c7 81 28 01 00 00 f2 f2 f2 f2 c7 81 2c 01 00 00 00 f2 f2 f2 48 89 f9 65 48 8b 1c 25 28 00 00 00 48 89 5d d0 31 db 48 c1 e9 03 <42> 80 3c 01 00 0f 85 41 1c 00 00 4c 8d 48 10 4c 8b 78 08 48 b9 00 RSP: 0018:ffff88019ae05ee0 EFLAGS: 00010202 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001 RDX: 1ffff100335c0be4 RSI: ffffffff8afbc8a0 RDI: 0000000000000008 RBP: ffff88019ae068e8 R08: dffffc0000000000 R09: fffffbfff12d69b0 R10: fffffbfff12d69b0 R11: ffffffff896b4d83 R12: ffff88018f9a5870 R13: dffffc0000000000 R14: ffff88019ae068c0 R15: ffff88019ae06a00 FS: 00007fccf87f6700(0000) GS:ffff8801daf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000726ff4 CR3: 00000001c386e000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400