syzbot


BUG: Bad page state (4)

Status: closed as invalid on 2018/09/05 12:51
Subsystems: sound
[Documentation on labels]
First crash: 2277d, last: 2277d
Similar bugs (15)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: Bad page state (3) usb C 3 2472d 2479d 4/28 fixed on 2018/02/02 04:39
linux-4.14 BUG: Bad page state C 9 601d 743d 0/1 upstream: reported C repro on 2022/10/03 07:33
upstream BUG: Bad page state (5) mm C 171 2057d 2070d 0/28 closed as invalid on 2019/02/27 20:53
linux-4.19 BUG: Bad page state 1 1059d 1059d 0/1 auto-closed as invalid on 2022/03/21 10:57
linux-4.19 BUG: Bad page state (2) 1 869d 869d 0/1 auto-obsoleted due to no activity on 2022/09/26 19:49
upstream BUG: Bad page state (7) mm 3 1507d 1564d 0/28 auto-closed as invalid on 2020/12/28 02:44
linux-6.1 BUG: Bad page state origin:upstream missing-backport C done 605 1h38m 507d 0/3 upstream: reported C repro on 2023/05/27 10:10
linux-4.19 BUG: Bad page state (3) C error 1 743d 743d 0/1 upstream: reported C repro on 2022/10/02 20:53
android-49 BUG: Bad page state 3 1839d 1863d 0/3 auto-closed as invalid on 2020/01/30 18:48
android-54 BUG: Bad page state C 9 1660d 1691d 0/2 auto-obsoleted due to no activity on 2022/08/26 22:10
upstream BUG: Bad page state (2) crypto 1 2514d 2510d 0/28 closed as invalid on 2017/12/06 12:57
upstream BUG: Bad page state (6) mm C 2 2056d 2056d 0/28 closed as invalid on 2019/03/01 18:38
upstream BUG: Bad page state C 2 2617d 2618d 3/28 fixed on 2017/10/24 06:54
linux-5.15 BUG: Bad page state origin:upstream missing-backport C error 916 3h15m 548d 0/3 upstream: reported C repro on 2023/04/16 11:16
upstream BUG: Bad page state (8) jfs mm C 12974 1d02h 1352d 1/28 upstream: reported C repro on 2021/02/01 10:07

Sample crash report:
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

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/07/22 16:54 https://github.com/google/kmsan.git master d1c2a46a46f6 8cc079c3 .config console log report ci-upstream-kmsan-gce
* Struck through repros no longer work on HEAD.