netlink: 20 bytes leftover after parsing attributes in process `syz-executor4'. BUG: Bad page state in process syz-executor4 pfn:100000 page:ffffea0006000000 count:0 mapcount:0 mapping:0000000000000000 index:0xc433000 compound_mapcount: 1 flags: 0x200000000048068(uptodate|lru|active|head|swapbacked) raw: 0200000000048068 ffffea00097a7cc8 ffffea0006084008 0000000000000000 raw: 000000000c433000 0000000000000000 00000000ffffffff ffff8801d41e9000 raw: 0000000000000000 0000000000000000 0000000000000001 0000000000000000 page dumped because: page still charged to cgroup page->mem_cgroup:ffff8801d41e9000 bad because of flags: 0x60(lru|active) Modules linked in: CPU: 1 PID: 14997 Comm: syz-executor4 Not tainted 4.18.0-rc5+ #29 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x185/0x1e0 lib/dump_stack.c:113 bad_page+0x488/0x630 mm/page_alloc.c:547 free_pages_check_bad mm/page_alloc.c:922 [inline] free_pages_check mm/page_alloc.c:931 [inline] free_pages_prepare mm/page_alloc.c:1022 [inline] __free_pages_ok+0xbbe/0x1690 mm/page_alloc.c:1251 __free_pages+0x116/0x270 mm/page_alloc.c:4449 kfree+0x904/0x2ac0 mm/slub.c:3936 snd_pcm_plugin_free+0xf1/0x180 sound/core/oss/pcm_plugin.c:201 snd_pcm_oss_plugin_clear sound/core/oss/pcm_oss.c:563 [inline] snd_pcm_oss_release_substream+0x15c/0x280 sound/core/oss/pcm_oss.c:2340 snd_pcm_release_substream+0x713/0x890 sound/core/pcm_native.c:2392 snd_pcm_oss_release_file sound/core/oss/pcm_oss.c:2388 [inline] snd_pcm_oss_release+0x30b/0x4c0 sound/core/oss/pcm_oss.c:2568 __fput+0x458/0xa30 fs/file_table.c:209 ____fput+0x37/0x40 fs/file_table.c:243 task_work_run+0x22e/0x2b0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:192 [inline] exit_to_usermode_loop arch/x86/entry/common.c:166 [inline] prepare_exit_to_usermode+0x35d/0x430 arch/x86/entry/common.c:197 syscall_return_slowpath+0x108/0x800 arch/x86/entry/common.c:268 do_syscall_64+0x1ad/0x230 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x63/0xe7 RIP: 0033:0x40fb91 Code: 75 14 b8 03 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 34 19 00 00 c3 48 83 ec 08 e8 0a fc ff ff 48 89 04 24 b8 03 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 53 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:0000000000a3eab0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000015 RCX: 000000000040fb91 RDX: 0000000000000000 RSI: 0000000000730a48 RDI: 0000000000000014 RBP: 0000000000000013 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000a3e930 R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000a3f160 R15: 00000000007034c0 general protection fault: 0000 [#1] SMP PTI CPU: 1 PID: 15013 Comm: syz-executor0 Tainted: G B 4.18.0-rc5+ #29 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:get_freepointer mm/slub.c:270 [inline] RIP: 0010:get_freepointer_safe mm/slub.c:285 [inline] RIP: 0010:slab_alloc_node mm/slub.c:2689 [inline] RIP: 0010:slab_alloc mm/slub.c:2728 [inline] RIP: 0010:__kmalloc+0x1f3/0x370 mm/slub.c:3776 Code: 18 65 48 8b 53 08 65 48 03 1c 25 28 a1 02 00 4c 8b 23 4d 85 e4 0f 84 a3 00 00 00 48 83 7b 10 00 0f 84 98 00 00 00 41 8b 40 20 <49> 8b 1c 04 48 89 d1 48 83 c1 01 49 8b 38 4c 89 e0 65 48 0f c7 0f RSP: 0018:ffff880197a1f910 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffff88021fdbd1b0 RCX: 0000000000000000 RDX: 000000000000b8aa RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff880197a1f978 R08: ffff88021f005800 R09: 0000000000000002 R10: 0000000000000000 R11: ffffffff81edff00 R12: 0101010101010102 R13: ffff88021f005800 R14: ffff88012756a680 R15: 00000000006000c0 FS: 00007fd691510700(0000) GS:ffff88021fd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000625208 CR3: 0000000111b98000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kmalloc include/linux/slab.h:518 [inline] inotify_handle_event+0x3c2/0x8b0 fs/notify/inotify/inotify_fsnotify.c:101 inotify_ignored_and_remove_idr+0x11b/0x1d0 fs/notify/inotify/inotify_user.c:494 inotify_freeing_mark+0x5d/0x70 fs/notify/inotify/inotify_fsnotify.c:133 Unknown ioctl 1074310944 fsnotify_free_mark fs/notify/mark.c:391 [inline] fsnotify_destroy_mark+0x240/0x2d0 fs/notify/mark.c:400 inotify_handle_event+0x7a7/0x8b0 fs/notify/inotify/inotify_fsnotify.c:126 send_to_group fs/notify/fsnotify.c:234 [inline] fsnotify+0x159e/0x1b30 fs/notify/fsnotify.c:374 fsnotify_open include/linux/fsnotify.h:224 [inline] do_sys_open+0x8be/0x990 fs/open.c:1106 __do_sys_open fs/open.c:1119 [inline] __se_sys_open fs/open.c:1114 [inline] __x64_sys_open+0xf2/0x130 fs/open.c:1114 do_syscall_64+0x15b/0x230 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x63/0xe7 RIP: 0033:0x455ab9 Code: 1d ba 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 b9 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fd69150fc68 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007fd6915106d4 RCX: 0000000000455ab9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000203f5000 Unknown ioctl 1074310944 RBP: 000000000072bf48 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004eb67f R14: 00000000004d0180 R15: 0000000000000001 Modules linked in: Dumping ftrace buffer: (ftrace buffer empty) ---[ end trace a4c62e7145c5feb1 ]--- RIP: 0010:get_freepointer mm/slub.c:270 [inline] RIP: 0010:get_freepointer_safe mm/slub.c:285 [inline] RIP: 0010:slab_alloc_node mm/slub.c:2689 [inline] RIP: 0010:slab_alloc mm/slub.c:2728 [inline] RIP: 0010:__kmalloc+0x1f3/0x370 mm/slub.c:3776 Code: 18 65 48 8b 53 08 65 48 03 1c 25 28 a1 02 00 4c 8b 23 4d 85 e4 0f 84 a3 00 00 00 48 83 7b 10 00 0f 84 98 00 00 00 41 8b 40 20 <49> 8b 1c 04 48 89 d1 48 83 c1 01 49 8b 38 4c 89 e0 65 48 0f c7 0f RSP: 0018:ffff880197a1f910 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffff88021fdbd1b0 RCX: 0000000000000000 RDX: 000000000000b8aa RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff880197a1f978 R08: ffff88021f005800 R09: 0000000000000002 R10: 0000000000000000 R11: ffffffff81edff00 R12: 0101010101010102 R13: ffff88021f005800 R14: ffff88012756a680 R15: 00000000006000c0 FS: 00007fd691510700(0000) GS:ffff88021fd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000625208 CR3: 0000000111b98000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400