syzbot


kernel panic: corrupted stack end detected inside scheduler (3)

Status: closed as dup on 2019/01/04 11:19
Subsystems: mm
[Documentation on labels]
Reported-by: syzbot+05b2210c521c829a20f5@syzkaller.appspotmail.com
First crash: 2544d, last: 2164d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
kernel panic: stack is corrupted in udp4_lib_lookup2 net 11 2163d 2160d
Discussions (1)
Title Replies (including bot) Last reply
kernel panic: corrupted stack end detected inside scheduler (3) 1 (2) 2019/01/04 11:19
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel panic: corrupted stack end detected inside scheduler C 1 2656d 2656d 0/28 closed as invalid on 2017/08/27 08:48
upstream kernel panic: corrupted stack end detected inside scheduler (2) kernel 1 2569d 2561d 0/28 closed as invalid on 2017/12/06 12:42

Sample crash report:
audit: type=1800 audit(1546100375.675:30): pid=7641 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="rmnologin" dev="sda1" ino=2423 res=0
Kernel panic - not syncing: corrupted stack end detected inside scheduler
CPU: 1 PID: 45 Comm: kworker/u4:2 Not tainted 4.20.0+ #395
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: writeback wb_workfn (flush-8:0)
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1d3/0x2c6 lib/dump_stack.c:113
 panic+0x2ad/0x55f kernel/panic.c:189
 schedule_debug kernel/sched/core.c:3285 [inline]
 __schedule+0x1ec6/0x1ed0 kernel/sched/core.c:3394
 preempt_schedule_irq+0x87/0x110 kernel/sched/core.c:3699
 retint_kernel+0x1b/0x2d
RIP: 0010:__read_once_size include/linux/compiler.h:191 [inline]
RIP: 0010:list_empty include/linux/list.h:226 [inline]
RIP: 0010:shrink_active_list+0x6fa/0x1f00 mm/vmscan.c:2119
Code: ff c6 00 00 48 8b 85 70 fa ff ff 48 c1 e8 03 80 3c 18 00 0f 85 aa 13 00 00 48 8b 85 68 fa ff ff 4d 8b a5 40 fb ff ff 80 38 00 <0f> 85 82 13 00 00 48 8b 85 68 fa ff ff 4d 89 a5 80 fd ff ff 4c 39
RSP: 0018:ffff8880a96935b8 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: ffffed10152d2727 RBX: dffffc0000000000 RCX: ffff8880a9693778
RDX: 0000000000000000 RSI: ffffffff81abaa5a RDI: ffffea00024d1190
RBP: ffff8880a9693be0 R08: ffff8880a968c440 R09: ffffed10108396f6
R10: ffffed10108396f6 R11: ffff8880841cb7b7 R12: ffffea00024b6bc8
R13: ffff8880a9693bb8 R14: 1ffff110152d275f R15: 0000000000000001
 shrink_list mm/vmscan.c:2269 [inline]
 shrink_node_memcg+0x820/0x19a0 mm/vmscan.c:2538
 shrink_node+0x3e1/0x17f0 mm/vmscan.c:2753
 shrink_zones mm/vmscan.c:2987 [inline]
 do_try_to_free_pages+0x3df/0x12a0 mm/vmscan.c:3049
 try_to_free_pages+0x4d0/0xb90 mm/vmscan.c:3265
 __perform_reclaim mm/page_alloc.c:3920 [inline]
 __alloc_pages_direct_reclaim mm/page_alloc.c:3942 [inline]
 __alloc_pages_slowpath+0xa5a/0x2db0 mm/page_alloc.c:4335
 __alloc_pages_nodemask+0xa89/0xde0 mm/page_alloc.c:4549
 alloc_pages_current+0x10c/0x210 mm/mempolicy.c:2106
 alloc_pages include/linux/gfp.h:509 [inline]
 __page_cache_alloc+0x38c/0x5b0 mm/filemap.c:924
 pagecache_get_page+0x396/0xf00 mm/filemap.c:1615
 find_or_create_page include/linux/pagemap.h:322 [inline]
 ext4_mb_load_buddy_gfp+0xddf/0x1e70 fs/ext4/mballoc.c:1158
 ext4_mb_load_buddy fs/ext4/mballoc.c:1241 [inline]
 ext4_mb_regular_allocator+0x634/0x1590 fs/ext4/mballoc.c:2190
 ext4_mb_new_blocks+0x1de3/0x4840 fs/ext4/mballoc.c:4538
 ext4_ext_map_blocks+0x2eef/0x6180 fs/ext4/extents.c:4404
 ext4_map_blocks+0x8f7/0x1b60 fs/ext4/inode.c:636
 mpage_map_one_extent fs/ext4/inode.c:2480 [inline]
 mpage_map_and_submit_extent fs/ext4/inode.c:2533 [inline]
 ext4_writepages+0x2564/0x4170 fs/ext4/inode.c:2884
 do_writepages+0x9a/0x1a0 mm/page-writeback.c:2335
 __writeback_single_inode+0x20a/0x1660 fs/fs-writeback.c:1316
 writeback_sb_inodes+0x71f/0x1210 fs/fs-writeback.c:1580
 __writeback_inodes_wb+0x1b9/0x340 fs/fs-writeback.c:1649
 wb_writeback+0xa73/0xfc0 fs/fs-writeback.c:1758
 wb_check_start_all fs/fs-writeback.c:1882 [inline]
 wb_do_writeback fs/fs-writeback.c:1908 [inline]
 wb_workfn+0xee9/0x1790 fs/fs-writeback.c:1942
 process_one_work+0xc90/0x1c40 kernel/workqueue.c:2153
 worker_thread+0x17f/0x1390 kernel/workqueue.c:2296
 kthread+0x35a/0x440 kernel/kthread.c:246
 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (1958):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/12/29 16:23 upstream 903b77c63167 a40793d7 .config console log report syz C ci-upstream-kasan-gce-root
2018/12/29 07:01 upstream f346b0becb1b e33ad0f1 .config console log report syz C ci-upstream-kasan-gce-selinux-root
2018/12/26 17:44 upstream 5694cecdb092 8a41a0ad .config console log report syz C ci-upstream-kasan-gce-root
2018/12/26 11:21 upstream d8924c0d76aa 8a41a0ad .config console log report syz C ci-upstream-kasan-gce-smack-root
2018/12/26 05:50 upstream d8924c0d76aa 8a41a0ad .config console log report syz C ci-upstream-kasan-gce-root
2018/12/26 03:52 upstream d8924c0d76aa 8a41a0ad .config console log report syz C ci-upstream-kasan-gce-root
2018/12/25 15:11 upstream 8fe28cb58bcb 8a41a0ad .config console log report syz C ci-upstream-kasan-gce-selinux-root
2018/12/25 13:44 upstream 8fe28cb58bcb 8a41a0ad .config console log report syz C ci-upstream-kasan-gce-selinux-root
2018/12/25 13:37 upstream 8fe28cb58bcb 8a41a0ad .config console log report syz C ci-upstream-kasan-gce
2018/12/25 07:28 upstream 8fe28cb58bcb 8a41a0ad .config console log report syz C ci-upstream-kasan-gce
2018/12/25 07:00 upstream 8fe28cb58bcb 8a41a0ad .config console log report syz C ci-upstream-kasan-gce-selinux-root
2018/12/25 04:04 upstream 8fe28cb58bcb 8a41a0ad .config console log report syz C ci-upstream-kasan-gce-selinux-root
2018/12/25 01:59 upstream 8fe28cb58bcb 8a41a0ad .config console log report syz C ci-upstream-kasan-gce-selinux-root
2018/12/25 00:52 upstream 8fe28cb58bcb 8a41a0ad .config console log report syz C ci-upstream-kasan-gce-selinux-root
2018/12/24 21:40 upstream 8fe28cb58bcb 8a41a0ad .config console log report syz C ci-upstream-kasan-gce
2018/12/24 10:23 upstream 8fe28cb58bcb be79df56 .config console log report syz C ci-upstream-kasan-gce-root
2018/12/23 22:45 upstream 3c730b1041ae e3bd7ab8 .config console log report syz C ci-upstream-kasan-gce-selinux-root
2018/12/23 22:06 upstream 3c730b1041ae e3bd7ab8 .config console log report syz C ci-upstream-kasan-gce-smack-root
2018/12/23 19:30 upstream 9105b8aa50c1 e3bd7ab8 .config console log report syz C ci-upstream-kasan-gce
2018/12/21 23:00 upstream 5092adb2272e 588075e6 .config console log report syz C ci-upstream-kasan-gce-selinux-root
2018/12/20 16:26 upstream ab63e725b49c aaf59e84 .config console log report syz C ci-upstream-kasan-gce-smack-root
2018/12/20 15:14 upstream ab63e725b49c aaf59e84 .config console log report syz C ci-upstream-kasan-gce
2018/12/29 09:45 upstream f346b0becb1b e33ad0f1 .config console log report syz C ci-upstream-kasan-gce-386
2018/12/25 03:52 upstream 8fe28cb58bcb 8a41a0ad .config console log report syz C ci-upstream-kasan-gce-386
2018/12/25 02:20 upstream 8fe28cb58bcb 8a41a0ad .config console log report syz C ci-upstream-kasan-gce-386
2018/12/29 07:37 net-old 7418e6520f22 e33ad0f1 .config console log report syz C ci-upstream-net-this-kasan-gce
2018/12/24 23:20 net-old a3ac5817ffe8 8a41a0ad .config console log report syz C ci-upstream-net-this-kasan-gce
2018/12/24 22:02 net-old a3ac5817ffe8 8a41a0ad .config console log report syz C ci-upstream-net-this-kasan-gce
2018/12/29 06:46 net-next-old b71acb0e3721 e33ad0f1 .config console log report syz C ci-upstream-net-kasan-gce
2018/12/25 12:28 net-next-old 90cadbbf341d 8a41a0ad .config console log report syz C ci-upstream-net-kasan-gce
2018/12/25 01:23 net-next-old ce28bb445388 8a41a0ad .config console log report syz C ci-upstream-net-kasan-gce
2018/12/24 22:29 net-next-old ce28bb445388 8a41a0ad .config console log report syz C ci-upstream-net-kasan-gce
2018/12/24 21:03 net-next-old ce28bb445388 8a41a0ad .config console log report syz C ci-upstream-net-kasan-gce
2018/08/01 22:04 net-next-old fea49f60c9b7 0a7cf4ec .config console log report syz C ci-upstream-net-kasan-gce
2018/12/29 16:20 linux-next 6a1d293238c1 a40793d7 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2018/12/28 09:31 linux-next 6a1d293238c1 af317504 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2018/12/28 08:13 linux-next 6a1d293238c1 af317504 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2018/12/28 02:36 linux-next 6a1d293238c1 af317504 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2018/12/26 18:11 linux-next 6a1d293238c1 8a41a0ad .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2018/12/26 12:14 linux-next 6a1d293238c1 8a41a0ad .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2018/08/10 02:40 https://github.com/google/kmsan.git master 0cc51dc9a291 1fb62d58 .config console log report syz C ci-upstream-kmsan-gce
2018/12/30 06:49 upstream 195303136f19 35e3f847 .config console log report syz ci-upstream-kasan-gce-selinux-root
2018/12/29 07:11 upstream f346b0becb1b e33ad0f1 .config console log report syz ci-upstream-kasan-gce
2018/12/26 15:44 upstream 5694cecdb092 8a41a0ad .config console log report syz ci-upstream-kasan-gce-smack-root
2018/12/26 07:57 upstream d8924c0d76aa 8a41a0ad .config console log report syz ci-upstream-kasan-gce-root
2018/12/25 12:33 upstream 8fe28cb58bcb 8a41a0ad .config console log report syz ci-upstream-kasan-gce
2018/12/25 00:18 upstream 8fe28cb58bcb 8a41a0ad .config console log report syz ci-upstream-kasan-gce-smack-root
2018/12/24 23:09 upstream 8fe28cb58bcb 8a41a0ad .config console log report syz ci-upstream-kasan-gce-smack-root
2018/12/25 12:00 net-old 38355a5f9a22 8a41a0ad .config console log report syz ci-upstream-net-this-kasan-gce
2018/12/25 07:19 net-old a3ac5817ffe8 8a41a0ad .config console log report syz ci-upstream-net-this-kasan-gce
2018/12/25 01:18 net-old a3ac5817ffe8 8a41a0ad .config console log report syz ci-upstream-net-this-kasan-gce
2018/12/25 08:46 net-next-old 90cadbbf341d 8a41a0ad .config console log report syz ci-upstream-net-kasan-gce
2018/12/28 04:49 linux-next 6a1d293238c1 af317504 .config console log report syz ci-upstream-linux-next-kasan-gce-root
2018/12/30 11:12 upstream 195303136f19 35e3f847 .config console log report ci-upstream-kasan-gce
2018/12/30 10:04 upstream 195303136f19 35e3f847 .config console log report ci-upstream-kasan-gce
2018/12/28 07:03 upstream b71acb0e3721 af317504 .config console log report ci-upstream-kasan-gce-selinux-root
2018/12/25 22:07 upstream 8fe28cb58bcb 8a41a0ad .config console log report ci-upstream-kasan-gce
2018/12/24 15:43 upstream 8fe28cb58bcb be79df56 .config console log report ci-upstream-kasan-gce-root
2018/12/23 17:35 upstream 9105b8aa50c1 e3bd7ab8 .config console log report ci-upstream-kasan-gce-smack-root
2018/12/23 09:32 upstream 9105b8aa50c1 e3bd7ab8 .config console log report ci-upstream-kasan-gce-root
2018/12/22 23:02 upstream 23203e3f34c9 e3bd7ab8 .config console log report ci-upstream-kasan-gce
2018/12/22 14:09 upstream 23203e3f34c9 e3bd7ab8 .config console log report ci-upstream-kasan-gce-smack-root
2018/12/21 22:37 upstream 5092adb2272e 588075e6 .config console log report ci-upstream-kasan-gce-smack-root
2018/12/21 20:58 upstream 5092adb2272e 588075e6 .config console log report ci-upstream-kasan-gce-smack-root
2018/12/21 09:18 upstream 9097a058d49e 2b497001 .config console log report ci-upstream-kasan-gce-smack-root
2018/12/20 16:20 upstream ab63e725b49c aaf59e84 .config console log report ci-upstream-kasan-gce-smack-root
2018/12/20 06:19 upstream ab63e725b49c 02e69052 .config console log report ci-upstream-kasan-gce
2018/12/20 02:49 upstream 62393dbcbe0f 02e69052 .config console log report ci-upstream-kasan-gce-root
2018/12/19 21:39 upstream 62393dbcbe0f fe2dc057 .config console log report ci-upstream-kasan-gce-smack-root
2018/12/19 20:01 upstream 62393dbcbe0f fe2dc057 .config console log report ci-upstream-kasan-gce-root
2018/12/19 06:37 upstream ddfbab46539f 4edaba93 .config console log report ci-upstream-kasan-gce
2018/12/19 05:40 upstream ddfbab46539f 4edaba93 .config console log report ci-upstream-kasan-gce-selinux-root
2018/12/18 14:52 upstream 1a9430db2835 4edaba93 .config console log report ci-upstream-kasan-gce-smack-root
2018/12/18 08:44 upstream 1a9430db2835 def91db3 .config console log report ci-upstream-kasan-gce-root
2018/12/18 06:41 upstream 1a9430db2835 def91db3 .config console log report ci-upstream-kasan-gce-selinux-root
2018/12/17 19:01 upstream 7566ec393f41 def91db3 .config console log report ci-upstream-kasan-gce-selinux-root
2018/12/17 08:38 upstream 7566ec393f41 def91db3 .config console log report ci-upstream-kasan-gce-selinux-root
2018/12/17 06:13 upstream 7566ec393f41 def91db3 .config console log report ci-upstream-kasan-gce-selinux-root
2018/12/16 22:21 upstream 6531e115b7ab def91db3 .config console log report ci-upstream-kasan-gce-selinux-root
2018/12/16 08:57 upstream 6531e115b7ab def91db3 .config console log report ci-upstream-kasan-gce-selinux-root
2018/12/15 23:14 upstream 6531e115b7ab def91db3 .config console log report ci-upstream-kasan-gce-root
2018/12/15 03:58 upstream eb6cf9f8cb9d 7624ddd6 .config console log report ci-upstream-kasan-gce-smack-root
2018/12/15 02:26 upstream eb6cf9f8cb9d 7624ddd6 .config console log report ci-upstream-kasan-gce
2018/12/14 13:01 upstream 65e08c5e8631 7624ddd6 .config console log report ci-upstream-kasan-gce-selinux-root
2018/12/14 10:56 upstream 65e08c5e8631 fe7127be .config console log report ci-upstream-kasan-gce-selinux-root
2018/12/14 05:03 upstream 65e08c5e8631 fe7127be .config console log report ci-upstream-kasan-gce-smack-root
2018/12/14 01:51 upstream 65e08c5e8631 fe7127be .config console log report ci-upstream-kasan-gce-selinux-root
2018/12/13 11:21 upstream f5d582777bcb f3d9d594 .config console log report ci-upstream-kasan-gce-selinux-root
2018/12/12 23:28 upstream f5d582777bcb 02613a41 .config console log report ci-upstream-kasan-gce-smack-root
2018/12/12 19:04 upstream f5d582777bcb c3b10a5d .config console log report ci-upstream-kasan-gce-root
2018/12/12 18:00 upstream f5d582777bcb c3b10a5d .config console log report ci-upstream-kasan-gce-selinux-root
2018/12/11 19:47 upstream f5d582777bcb 7795ae03 .config console log report ci-upstream-kasan-gce-selinux-root
2018/12/13 17:18 bpf fdadd04931c2 f3d9d594 .config console log report ci-upstream-bpf-kasan-gce
2018/10/21 12:44 bpf-next c5fa5d602221 ecb386fe .config console log report ci-upstream-bpf-next-kasan-gce
2018/12/29 01:42 linux-next 6a1d293238c1 e33ad0f1 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/12/25 17:05 linux-next 6a1d293238c1 8a41a0ad .config console log report ci-upstream-linux-next-kasan-gce-root
2018/12/16 22:16 linux-next d14b746c6c1c def91db3 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/12/16 15:18 linux-next d14b746c6c1c def91db3 .config console log report ci-upstream-linux-next-kasan-gce-root
2017/12/16 23:16 linux-next 6084b576dca2 b6f0c91b .config console log report ci-upstream-next-kasan-gce
* Struck through repros no longer work on HEAD.