syzbot


net-next test error: BUG: using smp_processor_id() in preemptible code in ext4_mb_new_blocks

Status: closed as dup on 2020/06/13 00:43
Subsystems: ext4
[Documentation on labels]
Reported-by: syzbot+2ad52db2be557736dd15@syzkaller.appspotmail.com
First crash: 1662d, last: 1654d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
linux-next test error: BUG: using smp_processor_id() in preemptible [ADDR] code: syz-fuzzer/6792 ext4 1 1668d 1668d
Discussions (1)
Title Replies (including bot) Last reply
net-next test error: BUG: using smp_processor_id() in preemptible code in ext4_mb_new_blocks 0 (1) 2020/06/12 18:24

Sample crash report:
BUG: using smp_processor_id() in preemptible [00000000] code: kworker/u4:4/181
caller is ext4_mb_new_blocks+0xa4d/0x3b70 fs/ext4/mballoc.c:4711
CPU: 1 PID: 181 Comm: kworker/u4:4 Not tainted 5.8.0-rc1-syzkaller #0
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+0x18f/0x20d lib/dump_stack.c:118
 check_preemption_disabled+0x20d/0x220 lib/smp_processor_id.c:48
 ext4_mb_new_blocks+0xa4d/0x3b70 fs/ext4/mballoc.c:4711
 ext4_ext_map_blocks+0x201b/0x33e0 fs/ext4/extents.c:4244
 ext4_map_blocks+0x4cb/0x1640 fs/ext4/inode.c:626
 mpage_map_one_extent fs/ext4/inode.c:2377 [inline]
 mpage_map_and_submit_extent fs/ext4/inode.c:2430 [inline]
 ext4_writepages+0x1a7b/0x33c0 fs/ext4/inode.c:2782
 do_writepages+0xfa/0x2a0 mm/page-writeback.c:2354
 __writeback_single_inode+0x12a/0x13d0 fs/fs-writeback.c:1452
 writeback_sb_inodes+0x515/0xdc0 fs/fs-writeback.c:1716
 __writeback_inodes_wb+0xc3/0x250 fs/fs-writeback.c:1785
 wb_writeback+0x8db/0xd50 fs/fs-writeback.c:1894
 wb_check_old_data_flush fs/fs-writeback.c:1996 [inline]
 wb_do_writeback fs/fs-writeback.c:2049 [inline]
 wb_workfn+0xab3/0x1090 fs/fs-writeback.c:2078
 process_one_work+0x965/0x1690 kernel/workqueue.c:2269
 worker_thread+0x96/0xe10 kernel/workqueue.c:2415
 kthread+0x3b5/0x4a0 kernel/kthread.c:291
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:293

Crashes (110):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/06/16 17:08 net-next-old b3a9e3b9622a 559fbe2d .config console log report ci-upstream-net-kasan-gce
2020/06/16 07:20 net-next-old b3a9e3b9622a baca2611 .config console log report ci-upstream-net-kasan-gce
2020/06/16 05:23 net-next-old b3a9e3b9622a baca2611 .config console log report ci-upstream-net-kasan-gce
2020/06/16 03:46 net-next-old b3a9e3b9622a baca2611 .config console log report ci-upstream-net-kasan-gce
2020/06/16 03:09 net-next-old b3a9e3b9622a baca2611 .config console log report ci-upstream-net-kasan-gce
2020/06/15 22:54 net-next-old b3a9e3b9622a baca2611 .config console log report ci-upstream-net-kasan-gce
2020/06/15 19:50 net-next-old 96144c58abe7 baca2611 .config console log report ci-upstream-net-kasan-gce
2020/06/15 17:44 net-next-old 96144c58abe7 baca2611 .config console log report ci-upstream-net-kasan-gce
2020/06/15 16:27 net-next-old 96144c58abe7 8e3ab941 .config console log report ci-upstream-net-kasan-gce
2020/06/15 12:59 net-next-old 96144c58abe7 8e3ab941 .config console log report ci-upstream-net-kasan-gce
2020/06/15 08:27 net-next-old 96144c58abe7 8e3ab941 .config console log report ci-upstream-net-kasan-gce
2020/06/15 06:09 net-next-old 96144c58abe7 2a22c77a .config console log report ci-upstream-net-kasan-gce
2020/06/14 23:39 net-next-old 96144c58abe7 2a22c77a .config console log report ci-upstream-net-kasan-gce
2020/06/14 22:08 net-next-old 96144c58abe7 2a22c77a .config console log report ci-upstream-net-kasan-gce
2020/06/14 19:26 net-next-old 96144c58abe7 2a22c77a .config console log report ci-upstream-net-kasan-gce
2020/06/14 11:45 net-next-old 96144c58abe7 2a22c77a .config console log report ci-upstream-net-kasan-gce
2020/06/14 11:45 net-next-old 96144c58abe7 2a22c77a .config console log report ci-upstream-net-kasan-gce
2020/06/14 09:47 net-next-old 96144c58abe7 2e9b5f59 .config console log report ci-upstream-net-kasan-gce
2020/06/14 05:40 net-next-old 96144c58abe7 a61674a5 .config console log report ci-upstream-net-kasan-gce
2020/06/14 00:58 net-next-old 96144c58abe7 dbce178a .config console log report ci-upstream-net-kasan-gce
2020/06/13 17:49 net-next-old af7b4801030c dbce178a .config console log report ci-upstream-net-kasan-gce
2020/06/13 06:38 net-next-old af7b4801030c f4724dd3 .config console log report ci-upstream-net-kasan-gce
2020/06/13 05:34 net-next-old af7b4801030c f4724dd3 .config console log report ci-upstream-net-kasan-gce
2020/06/13 03:44 net-next-old af7b4801030c f4724dd3 .config console log report ci-upstream-net-kasan-gce
2020/06/13 02:34 net-next-old af7b4801030c f4724dd3 .config console log report ci-upstream-net-kasan-gce
2020/06/13 02:34 net-next-old af7b4801030c f4724dd3 .config console log report ci-upstream-net-kasan-gce
2020/06/13 00:48 net-next-old af7b4801030c f4724dd3 .config console log report ci-upstream-net-kasan-gce
2020/06/13 00:48 net-next-old af7b4801030c f4724dd3 .config console log report ci-upstream-net-kasan-gce
2020/06/13 00:48 net-next-old af7b4801030c f4724dd3 .config console log report ci-upstream-net-kasan-gce
2020/06/12 15:37 net-next-old af7b4801030c df590254 .config console log report ci-upstream-net-kasan-gce
2020/06/12 15:37 net-next-old af7b4801030c df590254 .config console log report ci-upstream-net-kasan-gce
2020/06/11 23:13 net-next-old af7b4801030c 58802067 .config console log report ci-upstream-net-kasan-gce
2020/06/11 23:13 net-next-old af7b4801030c 58802067 .config console log report ci-upstream-net-kasan-gce
2020/06/11 23:13 net-next-old af7b4801030c 58802067 .config console log report ci-upstream-net-kasan-gce
2020/06/11 11:16 net-next-old af7b4801030c 3ab7a05a .config console log report ci-upstream-net-kasan-gce
2020/06/11 11:16 net-next-old af7b4801030c 3ab7a05a .config console log report ci-upstream-net-kasan-gce
2020/06/11 11:16 net-next-old af7b4801030c 3ab7a05a .config console log report ci-upstream-net-kasan-gce
2020/06/11 05:29 net-next-old af7b4801030c 3ab7a05a .config console log report ci-upstream-net-kasan-gce
2020/06/11 05:29 net-next-old af7b4801030c 3ab7a05a .config console log report ci-upstream-net-kasan-gce
2020/06/11 05:29 net-next-old af7b4801030c 3ab7a05a .config console log report ci-upstream-net-kasan-gce
2020/06/10 17:44 net-next-old af7b4801030c a6f7998d .config console log report ci-upstream-net-kasan-gce
2020/06/10 17:43 net-next-old af7b4801030c a6f7998d .config console log report ci-upstream-net-kasan-gce
2020/06/10 17:43 net-next-old af7b4801030c a6f7998d .config console log report ci-upstream-net-kasan-gce
2020/06/10 15:30 net-next-old af7b4801030c a6f7998d .config console log report ci-upstream-net-kasan-gce
2020/06/10 15:30 net-next-old af7b4801030c a6f7998d .config console log report ci-upstream-net-kasan-gce
2020/06/08 18:22 net-next-old af7b4801030c 7604bb03 .config console log report ci-upstream-net-kasan-gce
* Struck through repros no longer work on HEAD.